A detection method, a detection device and a computer readable storage medium
By projecting the detection beam of the preset detection image on the environment to be measured in the smart camera, using the preset feature data to identify the actual measured image, and calculating and analyzing the environmental result information, the problem of low detection efficiency of the smart camera is solved, and the detection efficiency and practicality are improved. sex.
Patent Information
- Application Number
- CN202110890955.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-04
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-08-04
AI Technical Summary
Existing smart cameras cannot flexibly adjust the characteristics of imaging images according to work purposes, resulting in low detection and recognition efficiency and low practicability.
By projecting the detection beam of the preset detection image into the environment to be measured, the environmental result information is obtained, the preset characteristic data is used to identify the actual measured image, and calculation and analysis are performed to determine the environmental result information, thereby improving detection efficiency and practicality.
It realizes the preset detection image features designed according to the purpose of identification, simplifies the identification algorithm of the calculation and analysis module, and improves the detection efficiency and practicality of the detection device.
Smart Images

Figure CN113808076B
Abstract
Description
Technical Field
[0001] The present application relates to the field of detection, and in particular to a detection method, a detection device and a computer-readable storage medium. Background Art
[0002] With the emergence and development of image analysis algorithms, computer systems have begun to replace the image analysis functions of the naked eye and the human brain. With the in-depth development of chip technology and image algorithm technology, a large number of image analysis algorithms have begun to run inside the camera itself, directly analyzing the images generated and received by the camera, and detecting and identifying different targets and events. However, the image characteristics that are conducive to algorithm analysis are different from those that are conducive to human viewing perception. The smart cameras in the prior art cannot flexibly adjust the image characteristics of the collected imaging images according to the working purpose, which makes the detection and identification efficiency of the smart cameras low and the practicality low. Summary of the invention
[0003] In view of this, the present application provides a detection method, a detection device and a computer-readable storage medium, which solve the technical problems of low detection and recognition efficiency and low practicality of smart cameras in the prior art.
[0004] According to one aspect of the present application, the present application provides a detection method for projecting a detection light beam corresponding to a preset detection image onto an environment to be tested to obtain environmental result information of the environment to be tested, the detection method comprising: step S1: obtaining preset feature data of the preset detection image, and obtaining an imaging image obtained by an imaging module sensing the environment to be tested; step S2: identifying, based on the preset feature data of the preset detection image, whether the imaging image contains an actual measured image sensed by the imaging module after the detection light beam is acted upon by the environment to be tested; and step S3: when the imaging image contains the actual measured image, calculating and analyzing the actual measured image to obtain the environmental result information of the environment to be tested.
[0005] In a possible implementation, the step S3 includes: step S31: obtaining actual feature data of the actually measured image, and obtaining standard feature data of the standard image characterizing the target standard material phenomenon; step S32: determining parameters used to characterize the similarity or difference between the actually measured image and the standard image based on the actual feature data of the actually measured image and the standard feature data of the standard image; and step S33: judging whether the target standard material phenomenon exists in the environment to be tested based on whether the parameters meet a preset threshold range, so as to obtain the environmental result information.
[0006] In a possible implementation, the environmental result information of the environment to be measured is obtained according to the changing pattern of the actually measured image over time; before the step S3 and after the step S2, the detection method also includes: step S4: repeatedly executing the steps S1 to S2 to obtain an actually measured image sequence including multiple actually measured images; the step S3 includes: step S3001: analyzing and comparing the multiple actually measured images to obtain the changing pattern characteristics of the actually measured image sequence; and step S3002: obtaining the environmental result information of the environment to be measured according to the actually measured image sequence and the changing pattern characteristics of the actually measured image sequence.
[0007] As a second aspect of the present application, the present application provides a detection device for projecting a detection light beam corresponding to a preset detection image to an environment to be tested to obtain environmental result information of the environment to be tested, and the detection device includes: an emission module for projecting a detection light beam corresponding to a preset detection image to the environment to be tested; an imaging module for sensing the environment to be tested to obtain an imaging image, and for sensing the detection light beam after being acted on by the environment to be tested to generate an actual measured image; a calculation and analysis module for executing the above-mentioned detection method; and a database.
[0008] In one possible implementation, the database stores standard feature data of a standard image and preset feature data of the preset detection image, the standard image is configured as an actual measured image sensed by the imaging module after the detection beam corresponding to the preset detection image is acted upon by a standard material phenomenon, and the standard feature data of the standard image is configured as actual feature data of the actual measured image.
[0009] In a possible implementation, the preset detection image includes a main preset detection image and an auxiliary preset detection image, wherein the main preset detection image is used to detect whether the target standard material phenomenon exists in the environment to be tested, and the auxiliary preset detection image verifies the detection result of the main preset detection image by detecting whether the material phenomenon that interferes with the target standard material phenomenon exists in the environment to be tested; when the auxiliary preset detection image detects that the material phenomenon that interferes with the target material phenomenon exists in the environment to be tested, the judgment algorithm of the calculation and analysis module for detecting whether the target standard material phenomenon exists in the environment to be tested based on the main preset detection image is corrected.
[0010] In a possible implementation, the detection device also includes a filtering module; the imaging module forms an image after filtering by the filtering module; wherein the detection light beam corresponding to the preset detection image includes light waves of at least one specific band, and the preset characteristic data includes at least one band information; the at least one specific band through which the filtering module allows the light signal to pass corresponds one-to-one with the at least one band information included in the preset characteristic data; the actually measured image includes at least one sub-actually measured image sensed by the imaging module after filtering by the filtering module after the measured environment interacts with the detection light beam; the at least one sub-actually measured image corresponds one-to-one with the at least one band information; wherein the calculation and analysis module obtains the environmental result information of the measured environment by calculating and analyzing the at least one sub-actually measured image.
[0011] In one possible implementation, the imaging module includes at least one sub-imaging module, each of the sub-imaging modules senses and obtains the sub-actual measured image after filtering by the filtering module; the transmitting module includes at least one sub-transmitting module, the preset detection image includes at least one sub-preset detection image; the detection beam includes at least one sub-detection beam; the preset feature data includes at least one sub-preset feature data; and the at least one sub-preset feature data corresponds one-to-one to the at least one band information.
[0012] In a possible implementation, the environment to be tested includes multiple material phenomena, and at least one of the material phenomena in the environment to be tested is one of flame, smoke, and gaseous material phenomena; the environmental result information includes characteristic information of the material phenomenon; wherein the characteristic information of the material phenomenon includes the time and / or location information of the occurrence of the material phenomenon.
[0013] In one possible implementation, the computing and analysis module is used to output the environmental result information to the database; the database includes a receiving module and a re-analysis module, the receiving module is used to receive the environmental result information; the re-analysis module is used to re-analyze the environmental result information to form new environmental result information, and save and manage the new environmental result information.
[0014] As a third aspect of the present application, the present application provides a computer-readable storage medium, characterized in that the storage medium stores a computer program, and the computer program is used to execute the above-mentioned detection method.
[0015] The present application acquires environmental result information of the environment to be tested by projecting a detection light beam corresponding to a preset detection image onto the environment to be tested. Since image features of the preset detection image can be designed according to recognition purposes or detection purposes, the detection efficiency and practicality of the detection device are improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 Shown is a schematic diagram of the process of the detection method provided by the present application;
[0017] Figure 2 Shown is a schematic diagram of the process of the detection method provided by the present application;
[0018] Figure 3 Shown is a schematic diagram of the process of the detection method provided by the present application;
[0019] Figure 4 Shown is a schematic diagram of the process of the detection method provided by the present application;
[0020] Figure 5 Shown is a schematic diagram of the structure of the detection device provided by the present application;
[0021] Figure 6 Shown is a schematic diagram of the structure of the electronic device provided by this application. DETAILED DESCRIPTION
[0022] In the description of the application, the meaning of "multiple" is at least two, for example, two, three, etc., unless otherwise clearly and specifically limited. In the embodiment of the present application, all directional indications (such as up, down, left, right, front, back, top, bottom ...) are only used to explain the relative position relationship, motion conditions, etc. between the components under a certain specific posture (as shown in the drawings). If the specific posture changes, the directional indication also changes accordingly. In addition, the terms "including" and "having" and any of their deformations are intended to cover non-exclusive inclusions. For example, the process, method, system, product or equipment comprising a series of steps or units are not limited to the steps or units listed, but optionally also include the steps or units not listed, or optionally also include other steps or units inherent to these processes, methods, products or equipment.
[0023] In addition, the reference to "embodiment" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0024] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0025] According to one aspect of the present application, the present application provides a detection method.
[0026] Figure 1 The figure shows a flow chart of a detection method provided by a possible implementation of the present application, which is used to project a detection light beam corresponding to a preset detection image to the environment to be tested to obtain environmental result information of the environment to be tested.
[0027] Specifically, the image of the present application is generated by the incident light entering the image sensor after being acted upon by the scene elements that form the image, and a discrete digital image is obtained after sampling and quantization. The most basic unit of a digital image is a pixel, which is a sampling point in A / D (alternating current / direct current) conversion and the smallest unit of computer image processing. Each pixel has a specific spatial position and attribute characteristics.
[0028] Image features include the band information and light intensity information of the incident light entering the image sensor, as well as image edge, curve, duty cycle, grayscale, gradient and other information.
[0029] Specifically, image features are represented by image feature data.
[0030] In the present application, the preset detection image is defined as an image with designed image features, the designed image features are defined as preset image features, the preset image features are characterized by preset feature data, and stored in the database 14 for acquisition by the calculation and analysis module 13.
[0031] The preset detection image in the present application can be any combination of points, lines, and surfaces; optionally, the preset detection image is configured as an image with a special contour, such as a figure with a human contour, or a figure in the shape of a panda head, or an "I" shape, or a "X" shape, or a chessboard grid shape, or waveforms such as sine waves and cosine waves.
[0032] The detection light beam corresponding to the preset detection image in the present application may include a light wave having specific wavelength band information or light intensity information.
[0033] Optionally, the preset detection image may be formed by scanning by the transmitting module 111 , or may be formed by direct projection by the transmitting module 111 .
[0034] Since the detection light beam corresponding to the preset detection image acts on the environment to be measured, the environmental result information of the environment to be measured can be obtained by detecting the detection light beam after being acted on by the environment to be measured.
[0035] Specifically, the above-mentioned "action" refers to the physical or chemical action between the detection light beam and the material phenomenon in the environment to be measured, including the reflection, scattering, diffuse reflection, transmission, or absorption of the detection light beam by the material phenomenon, and also includes the luminescence of the material in the environment to be measured under the excitation of the detection light beam, that is, the generation of photoelectric effect, etc.
[0036] Specifically, matter refers to any entity (gas, liquid or solid) that occupies space; material phenomenon refers to the situation of any entity (gas, liquid or solid) that occupies space in space, which can be static or dynamic; wherein the entity can be a pure substance or a mixture.
[0037] Specifically, the environment to be tested includes one or more material phenomena, and the environment to be tested can be understood as a material phenomenon system composed of one or more material phenomena. It is easy to understand that a vacuum environment does not have the material phenomena defined in this application. In this application, the physical or chemical properties of the environment to be tested include but are not limited to the physical or chemical properties of the above-mentioned one or more material phenomena, and the physical or chemical properties of the environment to be tested are characterized by environmental result information.
[0038] Specifically, the environmental result information can be whether there is a material phenomenon to be verified (target material phenomenon or target standard material phenomenon) in the tested environment; it can also be the physical or chemical properties of the material phenomenon included in the tested environment; it can also be the interaction relationship between multiple material phenomena.
[0039] Specifically, the physical or chemical properties of a material phenomenon are characterized by characteristic information of the material phenomenon.
[0040] Specifically, the characteristic information of the material phenomenon is represented by an image or an image sequence, and is stored in the database 14 in the form of image characteristic data. The characteristic information of the material phenomenon may be the time and location of the material phenomenon in the environment to be tested, and the "time of occurrence" may be one or more time points or a duration; the characteristic information of the material phenomenon may also be the movement speed of the material, the type of the material, etc.
[0041] The preset feature data of the preset detection image of the present application can be designed according to the recognition purpose, so as to facilitate the computer to recognize whether the preset detection image is sensed by the imaging module 12 after being acted upon by the test environment, thereby simplifying the recognition algorithm of the calculation and analysis module 13. Figure 1 and Figure 5 As shown, the detection method comprises the following steps:
[0042] Step S1: obtaining preset feature data of a preset detection image, and obtaining an imaging image obtained by the imaging module 12 sensing the environment to be detected;
[0043] Specifically, the imaging image is a digital image sensed and generated by the imaging module 12. In this implementation, the imaging pixel of the imaging image is not less than 200,000 pixels.
[0044] Step S2: according to the preset characteristic data of the preset detection image, identifying whether the imaging image contains the actual measured image sensed by the imaging module 12 after the detection beam is acted upon by the measured environment;
[0045] Specifically, the central control module 16 controls the transmitting module 11 to project a detection beam corresponding to a preset detection image to the environment to be measured, and uses an image analysis method or a spectral analysis method to identify whether the imaging image generated by the imaging module 12 sensing the environment to be measured contains the actual measured image generated by the imaging module 12 after the detection beam is sensed by the environment to be measured. Optionally, the detection beam corresponding to the preset detection image projected by the transmitting module 11 to the environment to be measured may not be controlled by the central control module 16.
[0046] Step S3: when the imaged image includes an actually measured image, calculating and analyzing the actually measured image to obtain environmental result information of the environment to be measured;
[0047] Specifically, when the calculation and analysis module 13 determines that the imaged image contains the actual measured image based on the comparative analysis results of the preset feature data of the preset detection image and the image features of the imaged image, it runs an image analysis algorithm on the actual measured image to obtain the environmental result information of the environment to be measured.
[0048] This implementation method identifies whether the imaged image contains the actual measured image according to the preset feature data of the preset detection image. Since the preset feature data can be preset in advance, the preset feature data can be designed according to the image features that are easily recognized by the computer or the calculation and analysis module 13, which is conducive to improving the recognition efficiency. At this time, the role of the preset feature data is to facilitate the computer or the calculation and analysis module 13 to recognize and quickly obtain the actual measured image. Among them, the image features that are easily recognized by the computer or the calculation and analysis module 13 can be band information, or light intensity information, or contour information. It is worth noting that when the image features that are easily recognized by the computer or the calculation and analysis module 13 are designed as band information, the imaging module 12 is imaged after filtering by the filter module 15. In a possible embodiment, the imaged image is the actual measured image. At this time, the calculation and analysis module 13 only needs to detect whether the imaged image exists to identify whether the actual measured image exists; in another possible embodiment, after the calculation and analysis module 13 detects the imaged image, it further extracts the features of the imaged image, compares and analyzes the extracted image features with the contour information or light intensity information in the preset feature data, and comprehensively determines whether the imaged image includes the actual measured image.
[0049] In the present application, the preset feature data of the preset detection image can also be designed according to the detection purpose. For example, the detection purpose is to detect whether there is a target standard substance phenomenon in the environment to be tested:
[0050] Specifically, the "target standard material phenomenon" refers to the standard material phenomenon that may exist in the expected or expected test environment to be verified; the "standard material phenomenon" refers to the material phenomenon after the characteristic information is calibrated. Among them, the image representing the standard material phenomenon is named as the standard image; the standard image is stored in the database 14 in the form of standard characteristic data. Specifically, the standard image and the standard characteristic data are determined as follows:
[0051] In a laboratory environment, a detection light beam corresponding to a preset detection image is projected onto a material phenomenon (standard material phenomenon) having calibrated characteristic information. After the detection light beam is acted upon by the standard material phenomenon, it is sensed by the imaging module 12 to generate an actual measured image, and the actual measured image is marked as a standard image representing the standard material phenomenon. Feature extraction is performed on the actual measured image to obtain actual feature data of the actual measured image, and the actual feature data is saved as standard feature data of the standard image in the database 14. At the same time, the correspondence between the standard material phenomenon and the standard image is also saved in the database 14.
[0052] Combination Figure 2 and Figure 5As shown, in a possible implementation, the preset feature data of the preset detection image is designed according to the physical or chemical properties of the target standard substance phenomenon, which helps to improve the detection efficiency; specifically, after executing step S2, step S3 is executed; wherein step S3 includes:
[0053] Step S31: obtaining actual characteristic data of the actually measured image, and obtaining standard characteristic data of the standard image representing the target standard material phenomenon;
[0054] Step S32: determining a parameter for characterizing the degree of similarity or difference between the actually measured image and the standard image according to the actual feature data of the actually measured image and the standard feature data of the standard image; and
[0055] Step S33: judging whether the target standard substance phenomenon exists in the environment to be tested according to whether the parameter meets the preset threshold range, so as to obtain the environmental result information.
[0056] The following takes the detection of whether there is a match burning in the test environment as an example to explain the implementation process and detection effect of the detection method of the implementation mode, wherein the target standard substance phenomenon is the phenomenon of smoke generated when a match burns, and the database 14 stores standard feature data of the standard image representing the target standard substance phenomenon. That is, by detecting whether there is smoke generated when a match burns in the test environment, it is detected whether there is a match burning in the test environment.
[0057] Since the smoke generated when a match burns has a high absorption rate for light waves in a specific band, the light waves in this specific band are selected as the detection light beam. The detection image corresponding to the detection light beam designed according to the specific band is the preset detection image described in the present application, and the band information of the specific band belongs to the preset feature data described in the present application. During actual detection, the contour of the preset detection image is designed to be in the shape of an "I" or a "X", or a sine wave or cosine wave. It is easy to understand that the contour information also belongs to the preset feature data.
[0058] The transmitting module 11 projects a detection beam corresponding to a preset detection image to the environment to be tested. The computing and analyzing module 13 runs an image analysis algorithm on the actual measured image captured and sensed by the imaging module 12 after the preset detection image is acted upon by material phenomena in the environment to be tested, and extracts actual feature data of the actual measured image. At the same time, the computing and analyzing module 13 extracts standard feature data of the standard image from the database 14, and calculates and analyzes the degree of difference between the actual feature data and the standard feature data, thereby determining whether standard smoke represented by the standard image exists in the environment to be tested, and thereby determining whether the match is burning.
[0059] In the above case, the physical property of the high absorption rate of light waves in a specific band of the smoke generated when a match is burned is used to design the preset feature data of the preset detection image. On the one hand, the recognition algorithm of the calculation and analysis module 13 for identifying the actual measured image in the imaging image according to the preset feature data is simplified. On the other hand, the preset feature data selected by the preset detection image has a relatively obvious correlation with the specific physical or chemical properties of the target material phenomenon as much as possible, so that the actual measured image carrying the physical or chemical properties of the environment to be measured has a relatively intuitive image feature for the computer, which is conducive to simplifying the image feature extraction algorithm of the calculation and analysis module 13, thereby improving the detection efficiency. In addition, the target material phenomenon to be verified in this case is a calibrated target standard material phenomenon, that is, the smoke phenomenon generated when a match is burned has been pre-calibrated as a standard image and stored in the database 14 in the form of standard feature data. Therefore, the calculation and analysis module 13 only needs to compare and analyze the gap between the actual feature data and the standard feature data, and calculate the spatial distance to determine whether the target standard material phenomenon exists in the environment to be measured, which simplifies the comparison and analysis algorithm of the calculation and analysis module 13 and improves the detection efficiency.
[0060] Figure 3 The figure is a flow chart of a detection method provided by a possible implementation of the present application. The detection method is used to obtain environmental result information of the environment to be tested according to the change law of the actual measured image over time; before step S3 and after step S2, the detection method further includes the following steps:
[0061] Step S4: Repeat steps S1 to S2 to obtain an actually measured image sequence including a plurality of actually measured images;
[0062] Step S3 includes:
[0063] Step S3001: Analyze and compare a plurality of actually measured images to obtain the change regularity characteristics of the actually measured image sequence; and
[0064] Step S3002: Acquire environmental result information of the environment to be measured according to the actually measured image sequence and the characteristics of the change rules of the actually measured image sequence.
[0065] Specifically, in the above-mentioned case of detecting whether there is a burning match in the environment to be tested, since the smoke generated by the burning match is in a flowing state in the air, and flowing in the air is the physical property of smoke, the detection method of this implementation mode determines whether the material phenomenon in the environment to be tested has the physical property of smoke flowing in the air by acquiring an image sequence including multiple actual measured images and analyzing the change rules between the multiple actual measured images, and then comprehensively judges whether there is smoke generated by the burning match in the environment to be tested based on the image features of the actual measured images and the change rules between the multiple actual measured images.
[0066] As a second aspect of the present application, the present application provides a detection device 1 .
[0067] Figure 5 The structure diagram of the detection device 1 provided by a possible implementation of the present application is shown. The detection device 1 is used to project a detection beam corresponding to a preset detection image to the environment to be tested to obtain environmental result information of the environment to be tested, and the detection device 1 includes: a transmitting module 11, which is used to project a detection beam corresponding to a preset detection image to the environment to be tested; an imaging module 12, which is used to sense the environment to be tested to obtain an imaging image, and is used to sense the detection beam after being acted on by the environment to be tested to generate an actual measured image; a calculation and analysis module 13, which is used to execute the above detection method; and a database 14.
[0068] In the present implementation, there is no particular limitation on the positional relationship and angular relationship between the transmitting module 11 and the imaging module 12: optionally, the transmitting module 11 and the imaging module 12 can be located on the same side of the environment to be measured, or can be respectively configured on two opposite sides of the environment to be measured, for example, the transmitting module 11 and the imaging module 12 are arranged facing each other on two opposite sides of the environment to be measured; optionally, the transmitting module 11 and the imaging module 12 can be perpendicular to each other, or parallel to each other, or configured at any angle to each other.
[0069] Combination Figure 2 and Figure 5 As shown, in a possible implementation, the database 14 stores standard feature data of a standard image and preset feature data of a preset detection image, the standard image is configured as an actual measured image sensed by the imaging module 12 after the detection beam corresponding to the preset detection image is acted upon by a standard material phenomenon, and the standard feature data of the standard image is configured as actual feature data of the actual measured image.
[0070] Specifically, the calculation and analysis module 13 can execute a recognition algorithm, or an image feature extraction algorithm, or a comparison analysis algorithm, or a judgment algorithm. Among them, the recognition algorithm is used to identify whether the imaged image includes the actual measured image according to the preset feature data; the image feature extraction algorithm is used to extract the image features of the actual measured image; the comparison analysis algorithm is used to compare and analyze the actual measured image and the standard image; the judgment algorithm is used to judge whether the target standard material phenomenon or the target material phenomenon exists in the environment to be tested.
[0071] In one possible implementation, the preset detection image includes a main preset detection image and an auxiliary preset detection image, wherein the main preset detection image is used to detect whether there is a target standard material phenomenon in the environment to be tested, and the auxiliary preset detection image verifies the detection result of the main preset detection image by detecting whether there is a material phenomenon that interferes with the target standard material phenomenon in the environment to be tested; when the auxiliary preset detection image detects that there is a material phenomenon that interferes with the target material phenomenon in the environment to be tested, the correction calculation and analysis module 13 detects the judgment algorithm of whether there is a target standard material phenomenon in the environment to be tested based on the main preset detection image.
[0072] Specifically, in order to detect smoke formed by the escape of a special substance A, the main preset detection image n is projected by the emission module 11 with a wavelength of 400nm. The outline of the image is a dynamic sine wave, and the brightness (intensity) of each pixel of the image changes with time according to the law of the sine wave. At the same time, in order to verify that there is no substance B that interferes with substance A in the environment to be tested, the emission module 11 will also project an auxiliary preset detection image m with a wavelength of 220nm.
[0073] During detection, the imaging module 12 is first detected to see whether specific changes have occurred in the auxiliary preset detection image m. If so, it proves that there is no interfering substance B. In this case, the detection result obtained based on the main preset detection image n has high credibility. If the auxiliary preset detection image m undergoes specific changes corresponding to the diffusion state of substance B, then a targeted correction scheme needs to be introduced to process the detection result obtained based on the main preset detection image n.
[0074] Combination Figure 1 and Figure 5 As shown, in a possible implementation, the detection device 1 further includes a filter module 15; the imaging module 12 forms an image after filtering by the filter module 15;
[0075] Among them, the detection light beam corresponding to the preset detection image includes light waves of at least one specific band, and the preset characteristic data includes at least one band information; the at least one specific band through which the light signal is allowed to pass by the filtering module 15 corresponds one-to-one to at least one band information included in the preset characteristic data; the actually measured image includes at least one sub-actually measured image sensed by the imaging module 12 after the measured environment is acted on by the detection light beam and filtered by the filtering module 15; at least one sub-actually measured image corresponds one-to-one to at least one band information; wherein the calculation and analysis module 13 obtains the environmental result information of the measured environment by calculating and analyzing at least one sub-actually measured image.
[0076] like Figure 5As shown, in a possible implementation, the imaging module 11 includes at least one sub-imaging module 121, and each sub-imaging module 121 senses and obtains a sub-actually measured image after filtering by the filtering module 15;
[0077] The transmitting module 11 includes at least one sub-transmitting module 111, the preset detection image includes at least one sub-preset detection image; the detection beam includes at least one sub-detection beam; the preset feature data includes at least one sub-preset feature data; at least one sub-preset feature data corresponds one-to-one to multiple band information of at least one specific band.
[0078] In this implementation, any combination of the sub-imaging module 121, sub-emitting module 111, computing and analysis module 13, database 14, filtering module 15, and central control module 16 of the detection device 1 can be set in a physically compact device, or can be set separately in several physical components so as to be dispersed in different spatial locations.
[0079] In a possible implementation, multiple sub-imaging modules 121 mounted on different space platforms are used to simultaneously image the environment to be measured in multiple continuous and subdivided spectral bands in the ultraviolet, visible light, near infrared and mid-infrared regions of the electromagnetic spectrum.
[0080] In a possible implementation, the environment to be tested includes multiple material phenomena, and at least one material phenomenon in the environment to be tested is one of flame, smoke, and gaseous material phenomena;
[0081] The environmental result information includes characteristic information of material phenomena; wherein the characteristic information of material phenomena includes the time and / or location information of the occurrence of the material phenomena.
[0082] like Figure 5 As shown, in a possible implementation, the computing and analysis module 13 is used to output environmental result information to a database 14; the database 14 includes a receiving module 141 and a re-analysis module 142, the receiving module 141 is used to receive the environmental result information; the re-analysis module 142 is used to re-analyze the environmental result information to form new environmental result information, and save and manage the new environmental result information.
[0083] In the detection method and detection device provided by the present application, the preset feature data of the preset detection image can be designed according to the image features that are easily recognized by the computer or the calculation analysis module 13, which simplifies the recognition algorithm and thus improves the efficiency of identifying the actual measured image. The detection method and detection device are widely applicable and highly practical.
[0084] In the detection method and detection device provided by the present application, the design basis of the preset feature data of the preset detection image is to enable the specific changes that occur in the preset detection image after interacting with the specific physical or chemical properties of the environment to be tested to be more clearly reflected in the actual measured image, thereby simplifying the image feature extraction algorithm, thereby improving the detection efficiency, and the detection method and detection device are widely applicable and highly practical.
[0085] Below, reference Figure 6 To describe an electronic device according to an embodiment of the present application. Figure 6 Shown is a schematic structural diagram of an electronic device provided in one embodiment of the present application.
[0086] like Figure 6 As shown, the electronic device 600 includes one or more processors 601 and a memory 602 .
[0087] The processor 601 may be a central processing unit (CPU) or other forms of processing units having information processing capabilities and / or information execution capabilities, and may control other components in the electronic device 600 to perform desired functions.
[0088] The memory 601 may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program information may be stored on the computer-readable storage medium, and the processor 601 may run the program information to implement the detection method of each embodiment of the present application or other desired functions.
[0089] In one example, the electronic device 600 may further include: an input device 603 and an output device 604 , and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).
[0090] The input device 603 may include, for example, a keyboard, a mouse, etc.
[0091] The output device 604 can output various information to the outside. The output device 604 can include, for example, a display, a communication network and a remote output device connected thereto.
[0092] Of course, to simplify, Figure 6Only some of the components related to the present application in the electronic device 600 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 600 may also include any other appropriate components.
[0093] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program information, which, when executed by a processor, enables the processor to execute the steps of the detection method according to various embodiments of the present application described in this specification.
[0094] The computer program product may be written in any combination of one or more programming languages to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0095] In addition, as a third aspect of the present application, the present application provides a computer-readable storage medium on which computer program information is stored. When the computer program information is executed by a processor, the processor executes the steps of the detection method in the various embodiments of the present application according to this specification.
[0096] Computer readable storage media can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0097] The basic principles of the present application are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present application are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present application. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, not for limitation, and the above details do not limit the present application to being implemented by adopting the above specific details.
[0098] The block diagrams of the devices, apparatuses, equipment, and systems involved in this application are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagram. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including", "comprising", "having", etc. are open words, referring to "including but not limited to", and can be used interchangeably with them. The words "or" and "and" used here refer to the words "and / or" and can be used interchangeably with them, unless the context clearly indicates otherwise. The words "such as" used here refer to the phrase "such as but not limited to", and can be used interchangeably with them.
[0099] It should also be noted that in the apparatus, device and method of the present application, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present application.
[0100] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present application. Therefore, the present application is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features of the present invention.
[0101] The above description is only a preferred embodiment of the invention of the present application and is not intended to limit the invention of the present application. Any modifications, equivalent substitutions, etc. made within the spirit and principles of the invention of the present application shall be included in the protection scope of the invention of the present application.
Claims
1. A detection method, characterized in that: The detection method is used to project a detection light beam corresponding to a preset detection image to the environment to be tested to obtain environmental result information of the environment to be tested, and the detection method includes: Step S1: obtaining preset feature data of the preset detection image, and obtaining an imaging image obtained by the imaging module sensing the environment to be tested; the preset detection image is generated by the incident light entering the image sensor after being acted upon by the scene elements forming the image, and a discrete digital image is obtained through sampling and quantization; Step S2: identifying, according to the preset characteristic data of the preset detection image, whether the imaging image contains an actual measured image obtained by the imaging module after the detection light beam is acted upon by the measured environment; and Step S3: when the imaged image includes the actually measured image, calculating and analyzing the actually measured image to obtain the environmental result information of the environment to be measured; The preset detection image includes a main preset detection image and an auxiliary preset detection image, wherein the main preset detection image is used to detect whether the target standard material phenomenon exists in the environment to be tested, and the auxiliary preset detection image verifies the detection result of the main preset detection image by detecting whether there is a material phenomenon that interferes with the target standard material phenomenon in the environment to be tested; when the auxiliary preset detection image detects that there is a material phenomenon that interferes with the target standard material phenomenon in the environment to be tested, the judgment algorithm of the main preset detection image for detecting whether there is the target standard material phenomenon in the environment to be tested is corrected; Wherein, the detection light beam corresponding to the preset detection image includes light waves of at least one specific band, and the preset characteristic data includes at least one band information; the at least one specific band through which the optical filter module allows the light signal to pass corresponds one-to-one to the at least one band information included in the preset characteristic data; the actually measured image includes at least one sub-actually measured image sensed by the imaging module after the measured environment is acted on the detection light beam and filtered by the optical filter module; the at least one sub-actually measured image corresponds one-to-one to the at least one band information; calculating and analyzing the actually measured image to obtain the environmental result information of the measured environment, including: calculating and analyzing the at least one sub-actually measured image to obtain the environmental result information of the measured environment.
2. The detection method according to claim 1, characterized in that: The step S3 comprises: Step S31: obtaining actual characteristic data of the actually measured image, and obtaining standard characteristic data of the standard image representing the target standard material phenomenon; Step S32: determining a parameter for characterizing the degree of similarity or difference between the actually measured image and the standard image according to the actual feature data of the actually measured image and the standard feature data of the standard image; and Step S33: judging whether the target standard substance phenomenon exists in the environment to be tested according to whether the parameter meets the preset threshold range, so as to obtain the environmental result information.
3. The detection method according to claim 1, characterized in that: Used to obtain the environmental result information of the environment to be tested according to the change law of the actually measured image over time; before the step S3 and after the step S2, the detection method also includes: Step S4: Repeating the steps S1 to S2 to obtain an actually measured image sequence including a plurality of actually measured images; The step S3 comprises: Step S3001: analyzing and comparing a plurality of the actually measured images to obtain the change regularity characteristics of the actually measured image sequence; and Step S3002: Acquire environmental result information of the environment to be measured according to the actually measured image sequence and the change regularity characteristics of the actually measured image sequence.
4. A detection device, characterized in that: The detection device is used to project a detection light beam corresponding to a preset detection image to the environment to be tested to obtain environmental result information of the environment to be tested, and includes: The transmitting module is used to project a detection light beam corresponding to a preset detection image to the environment to be tested. The preset detection image is generated by the incident light entering the image sensor after being acted upon by the scene elements forming the image, and a discrete digital image is obtained after sampling and quantization; An imaging module, used for sensing the environment to be measured to obtain an imaging image, and used for sensing the detection light beam after being acted upon by the environment to be measured to generate an actual measured image; A computing and analysis module, configured to execute the detection method of claim 1; and database; The database stores standard feature data of a standard image and preset feature data of the preset detection image, wherein the standard image is configured as an actual measured image sensed by the imaging module after the detection beam corresponding to the preset detection image is acted upon by a standard material phenomenon, and the standard feature data of the standard image is configured as actual feature data of the actual measured image; The detection device further comprises a light filtering module; the imaging module forms an image after light filtering by the light filtering module.
5. The detection device according to claim 4, characterized in that: The imaging module includes at least one sub-imaging module, and each of the sub-imaging modules senses and obtains the sub-actually measured image after being filtered by the filtering module; The transmitting module includes at least one sub-transmitting module, the preset detection image includes at least one sub-preset detection image; the detection beam includes at least one sub-detection beam; The preset characteristic data includes at least one sub-preset characteristic data; the at least one sub-preset characteristic data has a one-to-one correspondence with the at least one band information.
6. The detection device according to claim 4, characterized in that: The environment to be tested includes a plurality of material phenomena, and at least one of the material phenomena in the environment to be tested is one of flame, smoke, and gaseous material phenomena; The environmental result information includes characteristic information of the material phenomenon; The characteristic information of the material phenomenon includes the time and / or location information of the occurrence of the material phenomenon.
7. The detection device according to claim 4, characterized in that: The computing and analysis module is used to output the environmental result information to the database; the database includes a receiving module and a re-analysis module, the receiving module is used to receive the environmental result information; the re-analysis module is used to re-analyze the environmental result information to form new environmental result information, and save and manage the new environmental result information.
8. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the steps of the detection method according to any one of claims 1 to 3.
