Method for reducing smoke and fire monitoring calculation amount through attention mechanism and electronic equipment
A technology of attention and calculation, applied in the field of fire monitoring calculation and attention mechanism to reduce smoke, which can solve the problems of wasting computing power and having very little time.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] This embodiment discloses spatial attention, in which the spatial attention mainly focuses on the area with rich effective information of the image, and adopts "smoke and fire detection convolution network based on static analysis features such as color, texture and edge", such as figure 1 As shown, first use the color feature channel to generate, and then use two branches to extract texture and edge features respectively, and then combine them into a comprehensive feature of 640 channels, and then maximum pooling and average pooling along the channel axis to obtain 2-channel features. Figure, and then use 7X7 convolution and sigmoid activation function to finally obtain a 1-dimensional weight feature map. The place where the value of the weight feature map is large is the place to pay attention. Among them, the smoke and fire detection convolutional network based on static analysis features such as color, texture, and edge is described below.
[0051] The color featur...
Embodiment 2
[0064] This embodiment discloses temporal attention. The process of occurrence and development of fireworks has temporal continuity. Therefore, spatial attention is embedded into the codec in the form of a recurrent neural network (RNN), such as Image 6 shown. Among them, it is first encoded by the encoder E, and then decoded by the decoder D. On the basis of the codec, an attention mechanism is added to form a time-series codec network with spatial attention, such as Figure 7 shown.
[0065] First measure the t-ith hidden state E of the encoder E t-i and previous decoder D state D t-1 to D t The contribution size of each encoder is continuously adjusted, so as to pay more attention to the parts similar to the smoke and fire features, while suppressing other useless information.
[0066] The following steps are involved when calculating attention:
[0067] S1 will E t-i (0≤i≤N) and each D t-1 Calculate the weight f(E in the perceptron way t-i ,D t-1 )f(E t-i ,D t...
Embodiment 3
[0073] This embodiment discloses an electronic device, including a processor and a memory storing execution instructions. When the processor executes the execution instructions stored in the memory, the processor executes an attention mechanism to reduce smoke and fire monitoring method of calculating quantities.
[0074] To sum up, the present invention introduces a spatial attention mechanism, and only cares about the high-probability areas of smoke and fire; introduces a temporal attention mechanism, only cares about the high-probability periods of smoke and fire. Therefore, only further strict detection of high-probability time and space can greatly reduce the consumption of computing power for full-scale and full-time monitoring.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com