Smog detection method and device based on video analysis
A technology for smoke detection and video analysis, which is used in image analysis, fire alarms and fire alarms that rely on radiation to solve problems such as limitations in hardware implementation, false alarms of allergies, and a large amount of computation. The effect of thin smoke and slow smoke false alarms, reducing false alarms and false alarms, and high alarm accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0061] A smoke detection method based on video analysis, which can read the video captured by the camera in real time or the saved video file, extract the characteristics of flame and smoke, analyze whether there is a fire in the monitoring scene, and judge whether to trigger the fire according to the analysis result call the police, if attached figure 1 Shown, this embodiment comprises the following steps:
[0062] S111, input the video data to be detected, assume that the incoming video data is in YUV format, and the frame rate is 10fps after down-sampling;
[0063] S112. Preprocessing the input video data;
[0064] Specifically, each frame of image after scaling the original video is converted into a color image color_image and a grayscale image gray_image in RGB space for subsequent processing.
[0065] S113. Perform background modeling on the preprocessed video image to obtain the moving target foreground image fg_image;
[0066] Specifically, a background modeling pro...
Embodiment 2
[0127] In this embodiment, on the basis of Embodiment 1, the feature detection of the main motion direction of the smoke is added, and the figure 1 In step S238, under the hot air flow formed by combustion, the smoke moves in a relatively consistent, relatively slow and stable direction. Using the feature point tracking algorithm, the average offset and phase (direction) information of the suspected smoke motion can be obtained to distinguish the motion of other moving objects. interference. The main motion direction feature detection includes the following steps:
[0128]
[0129]
[0130]
[0131] Judgment conditions for the characteristics of the main movement direction of the smoke:
[0132] Condition 1: The number of units with the same main motion direction (in the same direction interval) within one detection period (5s) ;
[0133] Condition 2: When the main movement direction is upward, within one detection period (5s), the .
[0134] When any one of th...
Embodiment 3
[0138] This embodiment has made the following improvements on the basis of embodiment 1:
[0139] In the process of obtaining the moving foreground by background modeling in step S113 of embodiment 1, the method of obtaining the foreground by frame difference is added, and the method is as follows:
[0140]Specifically, obtaining the foreground image after performing background modeling on each preprocessed image includes: 1) performing mixed Gaussian background modeling on the preprocessed grayscale image, and 3 to 5 mixed Gaussian models can be selected. In this embodiment, 5 are selected to obtain a mixed Gaussian foreground image; 2) The frame difference image is obtained after the frame difference is made between the current frame grayscale image and the previous frame grayscale image, and the frame difference image is binarized. The threshold can be a number between 5 and 10. In this embodiment, 8 is used to obtain the frame difference foreground image; 3) The image afte...
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