CN113506419B - Indoor safety state analysis method and system based on video data - Google Patents

Indoor safety state analysis method and system based on video data Download PDF

Info

Publication number
CN113506419B
CN113506419B CN202110732823.3A CN202110732823A CN113506419B CN 113506419 B CN113506419 B CN 113506419B CN 202110732823 A CN202110732823 A CN 202110732823A CN 113506419 B CN113506419 B CN 113506419B
Authority
CN
China
Prior art keywords
thermocouple sensor
ith
detection position
value
ith thermocouple
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110732823.3A
Other languages
Chinese (zh)
Other versions
CN113506419A (en
Inventor
兰雨晴
余丹
王丹星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongbiao Huian Information Technology Co Ltd
Original Assignee
Zhongbiao Huian Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongbiao Huian Information Technology Co Ltd filed Critical Zhongbiao Huian Information Technology Co Ltd
Priority to CN202110732823.3A priority Critical patent/CN113506419B/en
Publication of CN113506419A publication Critical patent/CN113506419A/en
Application granted granted Critical
Publication of CN113506419B publication Critical patent/CN113506419B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B17/00Fire alarms; Alarms responsive to explosion
    • G08B17/12Actuation by presence of radiation or particles, e.g. of infrared radiation or of ions
    • G08B17/125Actuation by presence of radiation or particles, e.g. of infrared radiation or of ions by using a video camera to detect fire or smoke
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K7/00Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements
    • G01K7/02Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements using thermoelectric elements, e.g. thermocouples
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B17/00Fire alarms; Alarms responsive to explosion
    • G08B17/06Electric actuation of the alarm, e.g. using a thermally-operated switch
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B3/00Audible signalling systems; Audible personal calling systems
    • G08B3/10Audible signalling systems; Audible personal calling systems using electric transmission; using electromagnetic transmission

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Electromagnetism (AREA)
  • Emergency Alarm Devices (AREA)

Abstract

The embodiment of the invention discloses an indoor safety state analysis method and system based on video data, and belongs to the technical field of video analysis. The method comprises the following steps: acquiring detection values of thermocouple sensors installed in a target room; judging whether the temperature of the detection position of the ith thermocouple sensor is abnormal or not according to the detection value of the ith thermocouple sensor; if the temperature of the detection position of the ith thermocouple sensor is abnormal, controlling the camera to turn to the detection position of the ith thermocouple sensor and collecting the video data of the environmental area with preset time; judging whether a safety accident occurs at the detection position of the ith thermocouple sensor according to the change condition of the environment area of the detection position of the ith thermocouple sensor in the environment area video data within a preset time period; and if the safety accident happens at the detection position of the ith thermocouple sensor, warning information is sent out. The invention can effectively reduce the time for discovering the safety accident.

Description

Indoor safety state analysis method and system based on video data
Technical Field
The invention belongs to the technical field of video analysis, and particularly relates to an indoor safety state analysis method and system based on video data.
Background
In social life, indoor safety problems are increasingly prominent, such as indoor fire and the like, and once such indoor safety accidents occur, public safety is directly threatened, and lives and properties of people are harmed. The safety accident development process is generally divided into 4 stages: the earlier the initial stage, the development stage, the fierce stage and the completed disposal stage, the earlier the safety accidents are discovered and disposed, the more effectively the property loss is reduced and even more lives are protected. However, the existing indoor safety state detection method is not intelligent enough, and the safety accidents and the potential safety hazards can be actively discovered only by manually polling; or the existing automatic monitoring means often can not give an alarm until a safety accident develops to a middle and later stage, such as a fire, and only can give an alarm or trigger spray fire extinguishing when smoke meeting the detection threshold of a smoke alarm is generated. Obviously, in the prior art, the accident discovery time is delayed, and the evacuation treatment response time is slow, so that if safety accidents occur in the personnel inspection process, inspection personnel can also be caused to have life safety danger.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and a system for analyzing an indoor security state based on video data, so as to solve the problems that the current indoor security state detection method is not intelligent enough, cannot find a security accident in time, and consumes manpower. The invention can intelligently analyze the video data at the potential safety hazard position, effectively reduces the time for discovering the safety accident and further effectively reduces the loss of life and property of people.
In a first aspect, an embodiment of the present invention provides a method for analyzing an indoor security state based on video data, including the following steps:
s1: acquiring detection values of thermocouple sensors installed in a target room;
s2: judging whether the temperature of the detection position of the ith thermocouple sensor is abnormal or not according to the detection value of the ith thermocouple sensor; i is 1,2, …, m, m is the total number of thermocouple sensors installed in the target chamber;
s3: if the temperature of the detection position of the ith thermocouple sensor is abnormal, controlling a camera arranged at the center of the top in the target chamber to turn to the detection position of the ith thermocouple sensor;
s4: acquiring an environmental area video of the detection position of the ith thermocouple sensor in a preset time period through the camera to obtain video data corresponding to the ith thermocouple sensor;
s5: judging whether a safety accident occurs at the detection position of the ith thermocouple sensor according to the change condition of the environment area of the detection position of the ith thermocouple sensor in the video data corresponding to the ith thermocouple sensor within the preset time length;
s6: and if the detection position of the ith thermocouple sensor has a safety accident, sending out warning information.
In an alternative embodiment, before step S1, the method further includes: uniformly surrounding and installing m thermocouple sensors in a target chamber;
the step S2 includes:
judging whether the temperature of the detection position of the ith thermocouple sensor is within a preset temperature range;
if the temperature of the detection position of the ith thermocouple sensor is not within the preset temperature range, judging that the temperature of the detection position of the ith thermocouple sensor is abnormal, and enabling the detection mark value of the ith thermocouple sensor to be a first preset value;
calculating a steering angle corresponding to the ith thermocouple sensor according to a first formula;
if the temperature of the detection position of the ith thermocouple sensor is within a preset temperature range, judging that the temperature of the detection position of the ith thermocouple sensor is not abnormal, and enabling the detection flag value of the ith thermocouple sensor to be a second preset value;
wherein the first formula is:
Figure BDA0003140397420000021
in the first formula, J i The steering angle corresponding to the ith thermocouple sensor; sgn () is a sign function, and when the value in the sign function bracket is greater than 0, the function value is 1, when the value in the sign function bracket is less than 0, the function value is-1, and when the value in the sign function bracket is equal to 0, the function value is 0; l is a radical of an alcohol i The detection flag value of the ith thermocouple sensor is obtained.
In an optional embodiment, the first preset value is 1, and the second preset value is 0.
In an alternative embodiment, after traversing i from 1 to m to determine whether the detected position temperature of each thermocouple sensor installed in the target chamber is abnormal, the method further includes:
if the number of the thermocouple sensors detecting the position temperature abnormity is not less than 2, sequencing all the thermocouple sensors detecting the position temperature abnormity from high to low in priority according to the sequence of deviation of the detected position temperature from the preset temperature range from large to small to obtain a priority sequence;
after the priority sequence is obtained, the steps S3-S6 are sequentially executed for each thermocouple sensor in the priority sequence according to the sequence of the priorities from high to low, and each time the step S3 is executed, the camera at the initial position is controlled to rotate the steering angle corresponding to the current thermocouple sensor, and after the step S6 is executed for the current thermocouple sensor, the camera is restored to the initial position.
In an optional embodiment, the video data corresponding to the ith thermocouple sensor includes: acquiring N video frame images of an environment area of a detection position of the ith thermocouple sensor within the preset time length;
the step S5 includes:
calculating the detection position of the ith thermocouple sensor to have an identification value of the occurrence of the safety accident according to a second formula;
judging whether the detection position of the ith thermocouple sensor has an identification value for occurrence of a safety accident equal to a third preset value or not;
if the detection position of the ith thermocouple sensor has the identification value of the occurrence of the safety accident equal to a third preset value, judging that the detection position of the ith thermocouple sensor has the occurrence of the safety accident; otherwise, judging that no safety accident occurs at the detection position of the ith thermocouple sensor;
the second formula is:
Figure BDA0003140397420000031
wherein G isThe detection positions of the i thermocouple sensors are provided with identification values of safety accidents; t represents the t-th pixel point in the N video frame images corresponding to the ith thermocouple sensor; x is the number of t Representing the pixel value of the t-th pixel point; t is the total number of pixel points included in the N video frame images corresponding to the ith thermocouple sensor; the function P () represents a one-dimensional normal probability density function; mu represents the mathematical expectation of all pixel points in the N video frame images corresponding to the ith thermocouple sensor; and sigma represents the standard deviation of all pixel points in the N video frame images corresponding to the ith thermocouple sensor.
In an optional embodiment, the third preset value is equal to 0.
In an optional embodiment, the sending out the warning message includes:
calculating the whistle frequency according to a third formula;
controlling a preset buzzer to whistle at the current whistle frequency so as to warn that a safety accident occurs in the target room;
wherein the third formula is:
Figure BDA0003140397420000041
in the third formula, F is the whistling frequency of this time.
In a second aspect, an embodiment of the present invention provides an indoor security state analysis system based on video data, including: the camera is arranged at the center of the top in the target chamber, and the thermocouple sensors are arranged at designated positions on the periphery in the target chamber; further comprising:
the temperature acquisition module is used for acquiring the detection values of all thermocouple sensors installed in a target room;
the first judgment module is used for judging whether the temperature of the detection position of the ith thermocouple sensor is abnormal or not according to the detection value of the ith thermocouple sensor; i is 1,2, …, m, m is the total number of thermocouple sensors installed in the target chamber;
the rotation control module is used for controlling the camera to rotate to the detection position of the ith thermocouple sensor when the judgment result of the first judgment module is yes;
the video acquisition module is used for acquiring an environmental area video of the detection position of the ith thermocouple sensor for a preset time through the camera to obtain video data corresponding to the ith thermocouple sensor;
the second judgment module is used for judging whether a safety accident occurs at the detection position of the ith thermocouple sensor according to the change condition of the environment area of the detection position of the ith thermocouple sensor in the video data corresponding to the ith thermocouple sensor within the preset time length;
and the warning module is used for sending warning information when a safety accident happens to the detection position of the ith thermocouple sensor.
In an alternative embodiment, m thermocouple sensors are mounted uniformly around the target chamber.
The invention provides a novel indoor safety state analysis scheme based on video data, which comprises the steps of firstly, acquiring the distribution position of potential safety hazards by each thermocouple sensor when the temperature in a target room is slightly abnormal, then controlling a camera to collect and analyze video data of a safety hidden part, and determining whether a safety accident occurs or not; and sends out warning information to inform the user when the safety accident is determined to happen. The invention can intelligently analyze the video data of the potential safety hazard position, effectively reduces the time for discovering the safety accident, has good monitoring timeliness and does not need manual inspection.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a first embodiment of a method for analyzing an indoor security status based on video data according to an embodiment of the present invention;
fig. 2 is a flowchart of a second embodiment of a method for analyzing an indoor security status based on video data according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an indoor security status analysis system based on video data according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a first embodiment of a method for analyzing an indoor security state based on video data according to an embodiment of the present invention. Referring to fig. 1, the method comprises the steps of:
s101: and acquiring detection values of the thermocouple sensors installed in the target room.
As an alternative embodiment, before step S101, the method further includes: and uniformly surrounding and installing m thermocouple sensors in the target chamber, wherein m is the total number of the thermocouple sensors installed in the target chamber. The uniform surrounding means that the m thermocouple sensors are arranged on the side wall in the target chamber in a surrounding mode at equal intervals. Obviously, on the side wall in the target chamber, a plurality of thermocouple sensor groups of different levels may be provided, and a plurality of thermocouple sensors at the same level are all uniformly arranged at equal intervals in the left-right direction.
In this embodiment, the temperature condition of indoor each position all will be gathered by thermocouple sensor to replaced the manual work to patrol and examine, reduced the human cost effectively.
S102: judging whether the temperature of the detection position of the ith thermocouple sensor is abnormal or not according to the detection value of the ith thermocouple sensor; wherein i is 1,2, …, m.
As an alternative embodiment, the step S102 may include the following steps S1021 to S1024:
s1021: if the detection position temperature of the ith thermocouple sensor is in a preset temperature range, executing step S1023, otherwise executing step S1022;
s1022: judging that the temperature of the detection position of the ith thermocouple sensor is abnormal, setting the detection flag value of the ith thermocouple sensor as a first preset value, and executing S1024;
s1023: and judging that the temperature of the detection position of the ith thermocouple sensor is not abnormal, and setting the detection mark value of the ith thermocouple sensor as a second preset value.
S1024: and calculating the steering angle corresponding to the ith thermocouple sensor according to a first formula.
Wherein the first formula is:
Figure BDA0003140397420000061
in the first formula: j. the design is a square i The steering angle corresponding to the ith thermocouple sensor is obtained; sgn () is a sign function, the function value is 1 when the value in the sign function bracket is greater than 0, the function value is-1 when the value in the sign function bracket is less than 0, and the function value is 0 when the value in the sign function bracket is equal to 0; l is i The detection flag value of the ith thermocouple sensor is the temperature signal abnormality when the detection flag value of the thermocouple sensor is 1, and the temperature signal normality when the detection flag value of the thermocouple sensor is 0.
Suppose L i When 1, 5, 1, 0.785, 1, J, sgn (0.785), J, and so on i =1*360*1/5=72。
Preferably, the first preset value is 1, the second preset value is 0, then step S1024 can be executed after S1022/S1023, because according to formula (1), when L is equal to i When equal to 0, J i 0, which represents the i-th thermocouple sensor calculated when the detection position temperature of the i-th thermocouple sensor is not abnormalThe steering angle corresponding to the camera is 0, namely the camera does not need to be steered to the position of the thermocouple sensor.
S103: and if the temperature of the detection position of the ith thermocouple sensor is abnormal, controlling a camera arranged at the center of the top in the target chamber to turn to the detection position of the ith thermocouple sensor.
S104: and acquiring an environmental area video of the detection position of the ith thermocouple sensor in a preset time period through the camera to obtain video data corresponding to the ith thermocouple sensor.
In this embodiment, the predetermined time period is 3s, and the video data corresponding to the ith thermocouple sensor includes: and acquiring N video frame images of the environment area of the detection position of the ith thermocouple sensor within the preset time length.
S105: and judging whether a safety accident occurs at the detection position of the ith thermocouple sensor according to the change condition of the environment area of the detection position of the ith thermocouple sensor in the video data corresponding to the ith thermocouple sensor within the preset time length.
As an alternative embodiment, the step S105 may include the following steps S1051 to S1054:
s1051: and calculating the detection position of the ith thermocouple sensor according to a second formula to obtain the identification value of the safety accident.
Preferably, the second formula is:
Figure BDA0003140397420000071
g is an identification value of the safety accident occurrence at the detection position of the ith thermocouple sensor, wherein the condition that G is greater than or equal to 0 indicates that the safety accident occurs, and the condition that G is less than 0 indicates that no safety accident occurs; t represents the t-th pixel point in the N video frame images corresponding to the ith thermocouple sensor; x is the number of t Representing the pixel value of the t-th pixel point; t is a pixel point included in N video frame images corresponding to the ith thermocouple sensorTotal number; the function P () represents a one-dimensional normal probability density function; mu represents the mathematical expectation of all pixel points in the N video frame images corresponding to the ith thermocouple sensor; and sigma represents the standard deviation of all pixel points in the N video frame images corresponding to the ith thermocouple sensor.
S1052: judging whether the detection position of the ith thermocouple sensor has an identification value for the occurrence of a safety accident equal to a third preset value or not; if so, then S1053 is performed, otherwise, S1054 is performed.
In this embodiment, the third preset value is equal to 0.
S1053: and judging that a safety accident occurs at the detection position of the ith thermocouple sensor.
S1054: and judging that no safety accident occurs at the detection position of the ith thermocouple sensor.
S106: and if a safety accident happens at the detection position of the ith thermocouple sensor, warning information is sent out.
As an alternative embodiment, the step S106 may include S1061-S1062:
s1061: and calculating the whistle frequency according to a third formula.
Preferably, the third formula is:
Figure BDA0003140397420000081
in the third formula, F is the whistle frequency of this time, and the higher the numerical value is, the higher the whistle frequency is.
S1062: and controlling a preset buzzer to whistle at the whistle frequency so as to warn that a safety accident happens in the target room.
According to the indoor safety state analysis method based on the video data, firstly, the distribution positions of potential safety hazards are obtained through the thermocouple sensors, then the camera is controlled to collect and analyze the video data of the safety hidden parts, and whether safety accidents occur or not is determined; finally, once the safety accident is determined to occur, warning information is sent out to inform the user. The invention can intelligently analyze the video data of the potential safety hazard position, effectively reduces the time for discovering the safety accident and further effectively reduces the loss of lives and properties of people.
Fig. 2 is a flowchart of an embodiment of an indoor security status analysis method based on video data according to an embodiment of the present invention. Referring to fig. 2, the method comprises the steps of:
s201: and acquiring detection values of the thermocouple sensors installed in the target room.
S202: judging whether the temperature of the detection position of the ith thermocouple sensor is abnormal or not according to the detection value of the ith thermocouple sensor; wherein the initialization value of i is 1; if yes, S203 is executed, otherwise S207 is executed.
S203: and controlling a camera arranged at the center of the top in the target chamber to turn to the detection position of the ith thermocouple sensor.
S204: and acquiring an environmental area video of the detection position of the ith thermocouple sensor in a preset time period through the camera to obtain video data corresponding to the ith thermocouple sensor.
S205: and judging whether a safety accident occurs at the detection position of the ith thermocouple sensor according to the change condition of the environment area of the detection position of the ith thermocouple sensor in the video data corresponding to the ith thermocouple sensor within the preset time length, if so, executing S206, and otherwise, executing S207.
S206: and sending out warning information.
S207:i=i+1。
S208: and judging whether i is less than or equal to m, wherein m is the total number of the thermocouple sensors installed in the target chamber, and if yes, returning to the step S202.
According to the indoor safety state analysis scheme based on the video data, provided by the embodiment of the invention, whether the thermocouple sensors are abnormal or not is judged one by one, and if the thermocouple sensors are abnormal, video data extraction and analysis are carried out on all places with potential safety hazard positions to determine whether safety accidents occur or not; finally, once the safety accident is determined to happen, warning information is sent out to inform the user. The invention can intelligently analyze the video data at the potential safety hazard position, effectively reduces the time for discovering the safety accident and further effectively reduces the loss of life and property of people.
Corresponding to the method for analyzing an indoor security state based on video data provided by the embodiment of the present invention, an embodiment of the present invention further provides a system for analyzing an indoor security state based on video data, as shown in fig. 3, the system includes: the camera is arranged at the center of the top in the target chamber, and the thermocouple sensors are arranged at specified positions on the periphery in the target chamber; further comprising:
the temperature acquisition module 1 is used for acquiring detection values of all thermocouple sensors installed in a target room;
the first judging module 2 is used for judging whether the temperature of the detection position of the ith thermocouple sensor is abnormal or not according to the detection value of the ith thermocouple sensor; i is 1,2, …, m, m is the total number of thermocouple sensors installed in the target chamber. Preferably, m thermocouple sensors are uniformly installed around the target chamber. The first judging module 2 is further specifically configured to calculate a steering angle corresponding to the ith thermocouple sensor according to the first formula when the temperature of the detection position of the ith thermocouple sensor is abnormal, so that the subsequent rotation control module 3 controls the camera to steer to the detection position of the ith thermocouple sensor.
The rotation control module 3 is used for controlling the camera to rotate to the detection position of the ith thermocouple sensor when the judgment result of the first judgment module 2 is yes;
the video acquisition module 4 is used for acquiring an environmental area video of the detection position of the ith thermocouple sensor for a preset time through the camera to obtain video data corresponding to the ith thermocouple sensor;
and the second judging module 5 is configured to judge whether a safety accident occurs at the detection position of the ith thermocouple sensor according to a change condition of the environment area of the detection position of the ith thermocouple sensor in the video data corresponding to the ith thermocouple sensor within the predetermined time period. Preferably, the second determining module 5 may calculate an identification value indicating that a safety accident occurs at the detection position of the ith thermocouple sensor according to the second formula, where a value greater than or equal to 0 indicates that a safety accident occurs, and a value less than 0 indicates that no safety accident occurs.
And the warning module 6 is used for sending warning information when a safety accident happens to the detection position of the ith thermocouple sensor. Preferably, the warning module may be a buzzer, and the whistle frequency of the buzzer may be calculated according to the third formula.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations. The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are also within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. The indoor safety state analysis method based on the video data is characterized by comprising the following steps of:
s1: acquiring detection values of thermocouple sensors installed in a target room;
s2: judging whether the temperature of the detection position of the ith thermocouple sensor is abnormal or not according to the detection value of the ith thermocouple sensor; i is 1,2, …, m, m is the total number of thermocouple sensors installed in the target chamber;
s3: if the temperature of the detection position of the ith thermocouple sensor is abnormal, controlling a camera arranged at the center of the top in the target chamber to turn to the detection position of the ith thermocouple sensor;
s4: acquiring an environmental area video of the detection position of the ith thermocouple sensor in a preset time period through the camera to obtain video data corresponding to the ith thermocouple sensor;
s5: judging whether a safety accident occurs at the detection position of the ith thermocouple sensor according to the change condition of the environment area of the detection position of the ith thermocouple sensor in the video data corresponding to the ith thermocouple sensor within the preset time length;
s6: if the detection position of the ith thermocouple sensor has a safety accident, sending out warning information;
wherein, the video data corresponding to the ith thermocouple sensor comprises: acquiring N video frame images of an environment area of the detection position of the ith thermocouple sensor within the preset time length;
the step S5 includes:
calculating the detection position of the ith thermocouple sensor to have an identification value of the occurrence of the safety accident according to a second formula;
judging whether the detection position of the ith thermocouple sensor has an identification value for occurrence of a safety accident equal to a third preset value or not;
if the detection position of the ith thermocouple sensor has the identification value of the occurrence of the safety accident equal to a third preset value, judging that the detection position of the ith thermocouple sensor has the occurrence of the safety accident; otherwise, judging that no safety accident occurs at the detection position of the ith thermocouple sensor;
the second formula is:
Figure FDA0003682098710000011
wherein G is an identification value of the occurrence of a safety accident at the detection position of the ith thermocouple sensor; t represents a t-th pixel point in N video frame images corresponding to the ith thermocouple sensor; x is the number of t Representing the pixel value of the t-th pixel point; t is the total number of pixel points included in the N video frame images corresponding to the ith thermocouple sensor; the function P () represents a one-dimensional normal probability density function; mu represents the mathematical expectation of all pixel points in the N video frame images corresponding to the ith thermocouple sensor; and sigma represents the standard deviation of all pixel points in the N video frame images corresponding to the ith thermocouple sensor.
2. The method for analyzing indoor security status based on video data of claim 1, further comprising, before the step S1: uniformly surrounding and installing m thermocouple sensors in a target chamber;
the step S2 includes:
judging whether the temperature of the detection position of the ith thermocouple sensor is within a preset temperature range;
if the temperature of the detection position of the ith thermocouple sensor is not within the preset temperature range, judging that the temperature of the detection position of the ith thermocouple sensor is abnormal, and enabling the detection mark value of the ith thermocouple sensor to be a first preset value;
calculating a steering angle corresponding to the ith thermocouple sensor according to a first formula;
if the temperature of the detection position of the ith thermocouple sensor is within a preset temperature range, judging that the temperature of the detection position of the ith thermocouple sensor is not abnormal, and enabling the detection flag value of the ith thermocouple sensor to be a second preset value;
wherein the first formula is:
Figure FDA0003682098710000021
in the first formula: j. the design is a square i The steering angle corresponding to the ith thermocouple sensor; sgn () is a sign function, the function value is 1 when the value in the sign function bracket is greater than 0, the function value is-1 when the value in the sign function bracket is less than 0, and the function value is 0 when the value in the sign function bracket is equal to 0; l is a radical of an alcohol i The detection flag value of the ith thermocouple sensor is obtained.
3. The method of claim 2, wherein the first predetermined value is 1 and the second predetermined value is 0.
4. The indoor security state analysis method based on video data of claim 2, wherein after traversing i from 1 to m to determine whether the detected location temperatures of the respective thermocouple sensors installed in the target indoor are abnormal, the method further comprises:
if the number of the thermocouple sensors with abnormal temperature at the detection position is not less than 2, sorting all the thermocouple sensors with abnormal temperature at the detection position from high priority to low priority according to the sequence of deviation of the temperature at the detection position from the preset temperature range from high to low to obtain a priority sequence;
after the priority sequence is obtained, the steps S3-S6 are sequentially executed for each thermocouple sensor in the priority sequence according to the sequence of the priorities from high to low, and each time the step S3 is executed, the camera at the initial position is controlled to rotate the steering angle corresponding to the current thermocouple sensor, and after the step S6 is executed for the current thermocouple sensor, the camera is restored to the initial position.
5. The method of claim 1, wherein the third preset value is equal to 0.
6. The method for analyzing indoor safety state based on video data as claimed in claim 1, wherein said issuing the warning information comprises:
calculating the whistling frequency according to a third formula;
controlling a preset buzzer to whistle at the current whistle frequency so as to warn that a safety accident occurs in the target room;
wherein the third formula is:
Figure FDA0003682098710000031
in the third formula, F is the whistle frequency this time.
7. Indoor safety state analysis system based on video data, characterized by including: the camera is arranged at the center of the top in the target chamber, and the thermocouple sensors are arranged at specified positions on the periphery in the target chamber; further comprising:
the temperature acquisition module is used for acquiring detection values of all thermocouple sensors installed in a target room;
the first judgment module is used for judging whether the temperature of the detection position of the ith thermocouple sensor is abnormal or not according to the detection value of the ith thermocouple sensor; i is 1,2, …, m, m is the total number of thermocouple sensors installed in the target chamber;
the rotation control module is used for controlling the camera to rotate to the detection position of the ith thermocouple sensor when the judgment result of the first judgment module is yes;
the video acquisition module is used for acquiring an environmental area video of the detection position of the ith thermocouple sensor in a preset time length through the camera to obtain video data corresponding to the ith thermocouple sensor;
the second judgment module is used for judging whether a safety accident occurs at the detection position of the ith thermocouple sensor according to the change condition of the environment area of the detection position of the ith thermocouple sensor in the video data corresponding to the ith thermocouple sensor within the preset time length;
the warning module is used for sending warning information when a safety accident happens to the detection position of the ith thermocouple sensor;
wherein, the video data corresponding to the ith thermocouple sensor comprises: acquiring N video frame images of an environment area of a detection position of the ith thermocouple sensor within the preset time length;
the judging whether a safety accident occurs at the detection position of the ith thermocouple sensor according to the change condition of the environment area of the detection position of the ith thermocouple sensor in the video data corresponding to the ith thermocouple sensor within the preset time period includes:
calculating the detection position of the ith thermocouple sensor to have an identification value of the occurrence of the safety accident according to a second formula;
judging whether the detection position of the ith thermocouple sensor has an identification value for occurrence of a safety accident equal to a third preset value or not;
if the detection position of the ith thermocouple sensor has the identification value of the occurrence of the safety accident equal to a third preset value, judging that the detection position of the ith thermocouple sensor has the occurrence of the safety accident; otherwise, judging that no safety accident occurs at the detection position of the ith thermocouple sensor;
the second formula is:
Figure FDA0003682098710000041
wherein G is an identification value of the occurrence of a safety accident at the detection position of the ith thermocouple sensor; t represents the t-th pixel point in the N video frame images corresponding to the ith thermocouple sensor; x is a radical of a fluorine atom t Representing the pixel value of the t-th pixel point; t is the total number of pixel points included in the N video frame images corresponding to the ith thermocouple sensor; the function P () represents a one-dimensional normal probability density function; mu represents the mathematical expectation of all pixel points in the N video frame images corresponding to the ith thermocouple sensor; and sigma represents the standard deviation of all pixel points in the N video frame images corresponding to the ith thermocouple sensor.
8. The video-data-based indoor safety-state analysis system of claim 7, wherein m thermocouple sensors are installed uniformly around the target chamber.
CN202110732823.3A 2021-06-30 2021-06-30 Indoor safety state analysis method and system based on video data Active CN113506419B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110732823.3A CN113506419B (en) 2021-06-30 2021-06-30 Indoor safety state analysis method and system based on video data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110732823.3A CN113506419B (en) 2021-06-30 2021-06-30 Indoor safety state analysis method and system based on video data

Publications (2)

Publication Number Publication Date
CN113506419A CN113506419A (en) 2021-10-15
CN113506419B true CN113506419B (en) 2022-08-19

Family

ID=78011419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110732823.3A Active CN113506419B (en) 2021-06-30 2021-06-30 Indoor safety state analysis method and system based on video data

Country Status (1)

Country Link
CN (1) CN113506419B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04263394A (en) * 1991-02-18 1992-09-18 Fujitsu Ltd Smoke monitoring system
JPH10188169A (en) * 1996-12-26 1998-07-21 Nohmi Bosai Ltd Fire detector
JPH11161874A (en) * 1997-12-01 1999-06-18 Hitachi Ltd Fire monitoring system
JP2001014571A (en) * 1999-06-30 2001-01-19 Sumitomo Electric Ind Ltd Fire detector, fire detection system and fire detection method
CN101458865A (en) * 2008-05-09 2009-06-17 丁国锋 Fire disaster probe system and method
CN101765025A (en) * 2008-12-23 2010-06-30 北京中星微电子有限公司 System for abnormal detection of surveillance camera and method thereof
KR101309407B1 (en) * 2012-11-20 2013-09-17 신현기 The thermal and image of block image-based composite camera fire detector, fire detection system and method
CN104318705A (en) * 2014-10-31 2015-01-28 无锡悟莘科技有限公司 Warehouse fire protection monitoring method
CN104318699A (en) * 2014-10-31 2015-01-28 无锡悟莘科技有限公司 Warehouse fire protection monitoring system
CN106384348A (en) * 2016-09-09 2017-02-08 海信集团有限公司 Monitor image anomaly detection method and device
CN107590470A (en) * 2017-09-18 2018-01-16 浙江大华技术股份有限公司 A kind of method for detecting lane lines and device
CN108712638A (en) * 2018-07-30 2018-10-26 张会珍 A kind of burning straw supervisory systems and method
CN110020589A (en) * 2019-01-31 2019-07-16 宁海县雁苍山电力建设有限公司 A kind of intelligent video analysis method in electric system
CN210485201U (en) * 2019-09-05 2020-05-08 山东新云鹏电气有限公司 Mine vision temperature measurement early warning camera
CN111882803A (en) * 2020-08-25 2020-11-03 北京华正明天信息技术股份有限公司 Intelligent fire hazard identification early warning method based on temperature sensing and video image information
CN213024718U (en) * 2020-05-26 2021-04-20 迪威弗智能装备集团有限公司 Novel multifunctional fire alarm

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103761826B (en) * 2012-09-10 2016-03-30 南京恩博科技有限公司 The recognition methods of a kind of thermal imaging video two mirror forest fires recognition system
CN109255326B (en) * 2018-09-07 2022-03-29 华南理工大学 Traffic scene smoke intelligent detection method based on multi-dimensional information feature fusion

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04263394A (en) * 1991-02-18 1992-09-18 Fujitsu Ltd Smoke monitoring system
JPH10188169A (en) * 1996-12-26 1998-07-21 Nohmi Bosai Ltd Fire detector
JPH11161874A (en) * 1997-12-01 1999-06-18 Hitachi Ltd Fire monitoring system
JP2001014571A (en) * 1999-06-30 2001-01-19 Sumitomo Electric Ind Ltd Fire detector, fire detection system and fire detection method
CN101458865A (en) * 2008-05-09 2009-06-17 丁国锋 Fire disaster probe system and method
CN101765025A (en) * 2008-12-23 2010-06-30 北京中星微电子有限公司 System for abnormal detection of surveillance camera and method thereof
KR101309407B1 (en) * 2012-11-20 2013-09-17 신현기 The thermal and image of block image-based composite camera fire detector, fire detection system and method
CN104318699A (en) * 2014-10-31 2015-01-28 无锡悟莘科技有限公司 Warehouse fire protection monitoring system
CN104318705A (en) * 2014-10-31 2015-01-28 无锡悟莘科技有限公司 Warehouse fire protection monitoring method
CN106384348A (en) * 2016-09-09 2017-02-08 海信集团有限公司 Monitor image anomaly detection method and device
CN107590470A (en) * 2017-09-18 2018-01-16 浙江大华技术股份有限公司 A kind of method for detecting lane lines and device
CN108712638A (en) * 2018-07-30 2018-10-26 张会珍 A kind of burning straw supervisory systems and method
CN110020589A (en) * 2019-01-31 2019-07-16 宁海县雁苍山电力建设有限公司 A kind of intelligent video analysis method in electric system
CN210485201U (en) * 2019-09-05 2020-05-08 山东新云鹏电气有限公司 Mine vision temperature measurement early warning camera
CN213024718U (en) * 2020-05-26 2021-04-20 迪威弗智能装备集团有限公司 Novel multifunctional fire alarm
CN111882803A (en) * 2020-08-25 2020-11-03 北京华正明天信息技术股份有限公司 Intelligent fire hazard identification early warning method based on temperature sensing and video image information

Also Published As

Publication number Publication date
CN113506419A (en) 2021-10-15

Similar Documents

Publication Publication Date Title
EP3139359B1 (en) System and method providing early prediction and forecasting of false alarms by applying statistical inference models
CN107230329B (en) Fire detector calibration method, device and equipment
JP2007140587A (en) Intrusion monitoring method, program and system
CN106932012A (en) The monitoring system and monitoring method of industrial service device working environment
CN112185050B (en) Security level confirmation method and device and fire fighting system
CN108535759B (en) Remote radiation protection monitoring method, device and system for million-kilowatt nuclear power station
US7782197B2 (en) Systems and methods of detection using fire modeling
KR101563511B1 (en) Security incident anomalous event detection system and method using trend analytic technique of a support vector based on time series
KR102245887B1 (en) System and method for alarming indoor fire prevention
CN115077617A (en) Low-voltage electrical fire monitoring system
CN106913313B (en) Sleep monitoring method and system
CN114360194B (en) Multi-point monitoring visual array type fire alarm system
CN107895453A (en) Building safety warning system and method
CN116050930A (en) Monitoring disc system, monitoring disc method, storage medium and electronic equipment
CN111243214A (en) Industrial machine room fire monitoring system and method based on machine learning
US11016189B2 (en) Systems and methods for security system device tamper detection
CN113506419B (en) Indoor safety state analysis method and system based on video data
CN113554364A (en) Disaster emergency management method, device, equipment and computer storage medium
CN112904921A (en) Real-time monitoring supervisory systems based on thing networking
CN114047693B (en) Self-adaptive prevention method and system for fire disaster of automobile battery facing charging process
CN103810809B (en) The method of fire is judged based on DS evidence theory
CN111882800B (en) Fire-fighting early warning method and system based on multi-dimensional data linkage
CN112579665A (en) Energy equipment control method and device and energy equipment
CN112735081A (en) Environment abnormity alarm method, device and system
CN113963503A (en) Fire early warning method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant