Fire video image recognition method and system, computer equipment and storage medium
A video image and recognition method technology, applied in the field of computer vision, can solve the problems affecting the accuracy of the sensor, high cost, and high price of the sensor, to improve the detection efficiency and accuracy, solve the lack of lighting and shadows, and ensure the safety of personal and property. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0072] Such as figure 1 As shown, the present embodiment provides a fire video image recognition method, the method includes the following steps:
[0073] S101. Obtain a data set.
[0074] This embodiment collects flame and non-fire videos through the network, and then performs frame processing (with 12 frames as a unit) on the collected flame and non-fire videos through the opencv library, so as to obtain labeled fire and non-fire video image dataset.
[0075] Further, in this embodiment, a script is used to divide the above data set into a training set and a test set, and data enhancement is performed on the training set, wherein the data enhancement includes random rotation, mirroring and random cropping.
[0076] S102. Construct a convolutional neural network.
[0077] Such as figure 2 As shown, the convolutional neural network in this embodiment includes one layer of input layer, one layer of module A, three layers of module B, two layers of module C, two layers of ...
Embodiment 2
[0105] Such as Figure 9 As shown, the present embodiment provides a fire video image recognition system, the system includes a first acquisition unit 901, a construction unit 902, a training unit 903, a second acquisition unit 904 and a recognition unit 905, and the specific functions of each unit are as follows:
[0106] The first acquisition unit 901 is configured to acquire a data set, the data set is a fire and non-fire video image data set;
[0107] The construction unit 902 is used to construct a convolutional neural network, and the convolutional neural network includes one layer of input layer, one layer of module A, three layers of module B, two layers of module C, two layers of 1×1 convolutional block A, four layer max pooling layer, one layer adaptive average pooling layer, one layer flatten layer, layer dropout layer, a fully connected layer, and a softmax classification layer;
[0108] The training unit 903 is used to use the data set to train the convoluti...
Embodiment 3
[0113] Such as Figure 10 As shown, this embodiment provides a computer device, which includes a processor 1002 connected through a system bus 1001 , a memory, an input device 1003 , a display device 1004 and a network interface 1005 . Wherein, the processor 1002 is used to provide calculation and control capabilities, and the memory includes a non-volatile storage medium 1006 and an internal memory 1007, the non-volatile storage medium 1006 stores an operating system, a computer program and a database, and the internal memory 1007 is The operating system in the nonvolatile storage medium 1006 and the operation of the computer program provide an environment, and when the computer program is executed by the processor 1002, the fire video image recognition method of the above-mentioned embodiment 1 is realized, as follows:
[0114] Obtaining a data set, the data set is a video image data set of fire and non-fire;
[0115] Construct a convolutional neural network, the convolutio...
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