CN113239762A - Vision and infrared signal-based living body detection method and device - Google Patents
Vision and infrared signal-based living body detection method and device Download PDFInfo
- Publication number
- CN113239762A CN113239762A CN202110473322.8A CN202110473322A CN113239762A CN 113239762 A CN113239762 A CN 113239762A CN 202110473322 A CN202110473322 A CN 202110473322A CN 113239762 A CN113239762 A CN 113239762A
- Authority
- CN
- China
- Prior art keywords
- detection
- target
- detection result
- detected
- living body
- 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.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 290
- 238000012549 training Methods 0.000 claims abstract description 59
- 230000000007 visual effect Effects 0.000 claims description 41
- 238000000034 method Methods 0.000 claims description 25
- 238000005516 engineering process Methods 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 9
- 238000013135 deep learning Methods 0.000 claims description 8
- 238000001727 in vivo Methods 0.000 claims description 8
- 238000001574 biopsy Methods 0.000 claims 2
- 238000010586 diagram Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000007613 environmental effect Effects 0.000 description 3
- 230000006698 induction Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 240000007651 Rubus glaucus Species 0.000 description 1
- 235000011034 Rubus glaucus Nutrition 0.000 description 1
- 235000009122 Rubus idaeus Nutrition 0.000 description 1
- 238000009395 breeding Methods 0.000 description 1
- 230000001488 breeding effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000010191 image analysis Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/40—Spoof detection, e.g. liveness detection
- G06V40/45—Detection of the body part being alive
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/10—Image acquisition
- G06V10/12—Details of acquisition arrangements; Constructional details thereof
- G06V10/14—Optical characteristics of the device performing the acquisition or on the illumination arrangements
- G06V10/143—Sensing or illuminating at different wavelengths
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V2201/00—Indexing scheme relating to image or video recognition or understanding
- G06V2201/07—Target detection
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- Multimedia (AREA)
- Evolutionary Computation (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Biophysics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Human Computer Interaction (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Evolutionary Biology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Image Analysis (AREA)
- Geophysics And Detection Of Objects (AREA)
Abstract
The invention provides a living body detection method and a living body detection device based on vision and infrared signals, which relate to the technical field of living body detection and comprise the following steps: acquiring a first detection result of a target to be detected; acquiring an image to be detected of a target to be detected, and inputting the image to be detected into a target detection model to obtain a second detection result output by the target detection model; the target detection model is obtained by training based on a detection training set, wherein the detection training set is obtained by combining a type recognition text and a position recognition text corresponding to a sample image; according to the first detection result and the second detection result, a third detection result is obtained, and the invention can obtain a more accurate living body detection result.
Description
Technical Field
The invention relates to the technical field of in-vivo detection, in particular to a device and a method for in-vivo detection based on vision and infrared signals.
Background
The living body detection and identification can be applied to a plurality of fields such as industry, agriculture, breeding industry and the like, and has great research value. At present, a common mode is to use a single infrared pyroelectric sensor to carry out living body detection, and the detection precision is high and the speed is high within a certain range. However, the infrared pyroelectric sensor can only sense the infrared signal released by the living body target to judge the existence of the living body target in the environment, but cannot judge the type of the living body target, so that the infrared pyroelectric sensor has certain limitations.
Disclosure of Invention
The invention provides a living body detection method and a living body detection device based on vision and infrared signals, which are used for solving the defect that the type of a living body target cannot be identified in the living body detection in the prior art and realizing more accurate living body detection results.
The invention provides a living body detection method based on vision and infrared signals, which comprises the following steps:
acquiring a first detection result of a target to be detected;
acquiring an image to be detected of a target to be detected, and inputting the image to be detected into a target detection model to obtain a second detection result output by the target detection model; the target detection model is obtained by training based on a detection training set, wherein the detection training set is obtained by combining a type recognition text and a position recognition text corresponding to a sample image;
and obtaining a third detection result according to the first detection result and the second detection result.
According to the living body detection method based on vision and infrared signals provided by the invention, the target detection model is obtained by training through the following steps:
obtaining the type identification text and the position identification text from the sample image;
connecting the recognition text and the position recognition text in series to obtain the detection training set;
and taking the detection training set as input data used for training, and training in a deep learning mode to obtain the target detection model for generating a second detection result of the image to be detected.
According to the living body detection method based on the vision and the infrared signal, the first detection result is obtained based on an infrared pyroelectric signal capturing technology, and the first detection result is whether the target to be detected is a living body target.
According to the living body detection method based on the vision and the infrared signal, the second detection result is obtained based on the vision detection technology, and the second detection result is the living body type of the target to be detected.
The invention also provides a living body detection device based on vision and infrared signals, which comprises:
the first detection module is used for acquiring a first detection result of a target to be detected;
the second detection module is used for acquiring an image to be detected of a target to be detected, inputting the image to be detected into the target detection model and obtaining a second detection result output by the target detection model; the target detection model is obtained by training based on a detection training set, wherein the detection training set is obtained by combining a type recognition text and a position recognition text corresponding to a sample image;
and the third detection module is used for obtaining a third detection result according to the first detection result and the second detection result.
According to the living body detection device based on the vision and the infrared signal provided by the invention, the third detection module specifically comprises:
a first obtaining unit configured to obtain the category identification text and the position identification text from the sample image;
the second acquisition unit is used for connecting the recognition text and the position recognition text in series to obtain the detection training set;
and the training unit is used for training the detection training set as input data used for training in a deep learning mode to obtain the target detection model for generating a second detection result of the image to be detected.
According to the living body detection device based on the vision and the infrared signal, the first detection result is obtained based on an infrared pyroelectric signal capturing technology, and the first detection result is whether the target to be detected is a living body target.
According to the living body detection device based on the vision and the infrared signal, the second detection result is obtained based on the vision detection technology, and the second detection result is the living body type of the target to be detected.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and operable on the processor, wherein the processor, when executing the program, performs the steps of the method for detecting a living body based on visual and infrared signals as described in any one of the above.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method for detecting a living body based on visual and infrared signals as described in any one of the above.
According to the living body detection method and device based on the vision and the infrared signals, the first detection result and the second detection result are obtained, and then the first detection result and the second detection result are combined to obtain the third detection result with a more accurate detection result. The two detection and identification methods are combined, the problems that the type of the living target cannot be identified by living body detection or whether the living target is determined by the living body detection can be perfectly solved, and the cost is lower compared with other detection schemes.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a method for detecting a living body based on visual and infrared signals according to the present invention;
FIG. 2 is a flowchart illustrating a step S200 of the method for detecting a living body based on visual and infrared signals according to the present invention;
FIG. 3 is a logic diagram of a method for detecting a living body based on visual and infrared signals according to the present invention;
FIG. 4 is a schematic structural diagram of a living body detecting device based on visual and infrared signals provided by the present invention;
FIG. 5 is a schematic structural diagram of a second detection module in the living body detection device based on visual and infrared signals according to the present invention;
FIG. 6 is a schematic structural diagram of a visual and infrared signal-based in-vivo detection system provided by the present invention;
fig. 7 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. 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.
The method for detecting a living body based on visual and infrared signals according to the present invention is described below with reference to fig. 1 and 3, and includes the following steps:
s100, obtaining a first detection result of the target to be detected. In this embodiment, the first detection result is obtained based on an infrared pyroelectric signal capturing technology, and the first detection result is whether the target to be detected is a living target. In step S100, a first detection result of the target to be detected may be obtained by using a pyroelectric infrared sensor, and preferably, the pyroelectric infrared sensor is a human body infrared sensing pyroelectric infrared sensor of HC-SR501 type. When the target to be detected is a living body target, after the target enters the detection area of the pyroelectric infrared sensor, that is, after the living body target enters the detection area, a temperature change value Δ T is generated due to a difference between the target temperature and the environmental temperature, and step S100 acquires the changed temperature change value Δ T and analyzes and processes the temperature change value Δ T, so that a first detection result, that is, whether the target is a living body target, can be obtained.
S200, acquiring an image to be detected of the target to be detected, and inputting the image to be detected into the target detection model to obtain a second detection result output by the target detection model. The target detection model is obtained by training based on a detection training set, and the detection training set is obtained by combining a type recognition text and a position recognition text corresponding to the sample image. In this embodiment, the second detection result is obtained based on a visual detection technique, and the second detection result is a living body type of the target to be detected. In step S200, a vision sensor may be used to obtain an image to be detected of the target to be detected, and preferably, the vision sensor is a monocular RGB vision sensor. And inputting the image to be detected into the target detection model in the step S200 to obtain a second detection result.
And S300, obtaining a third detection result according to the first detection result and the second detection result.
In step S300, the first detection result obtained in step S100 and the second detection result obtained in step S200 are combined to obtain a third detection result with a more accurate detection result, and it can be understood that the third detection result is whether the object to be detected is a living object and the living body type in the case of determining that the object is a living object.
According to the living body detection method based on the vision and the infrared signal, the first detection result and the second detection result are obtained, and then the first detection result and the second detection result are combined to obtain the third detection result with a more accurate detection result. The two detection and identification methods are combined, the problems that the type of the living target cannot be identified by living body detection or whether the living target is determined by the living body detection can be perfectly solved, and the cost is lower compared with other detection schemes.
The living body detection method based on vision and infrared signals combines monocular vision and infrared pyroelectric signals to detect and identify a living body target, the infrared pyroelectric sensor can only detect the existence of the living body target in an area to be detected and cannot identify the type of the living body target, the monocular camera is used for collecting image information of the area to be detected, the image is subjected to deep learning target detection, the type of the target in the image can be identified, and whether the living body target is in the image or not can not be judged. The living body detection method based on vision and infrared signals combines two detection and identification methods, can perfectly solve the problems of living body target detection, and has lower cost compared with other detection schemes.
In the following, the living body detection method based on visual and infrared signals according to the present invention is described with reference to fig. 2, and the target detection model in step S200 is obtained by training through the following steps:
s210, a sample image is collected, the sample image can also be obtained by a monocular RGB visual sensor, and a type identification text (which types of targets exist in the sample image, namely the types of the targets) and a position identification text (the positions of the targets in the sample image) corresponding to the sample image are marked by marking the sample image, namely the type identification text and the position identification text are obtained from the sample image.
And S220, connecting the recognition text and the position recognition text in series to obtain a detection training set.
And S230, taking the detection training set as input data used for training, and training in a deep learning mode to obtain a target detection model for generating a second detection result of the image to be detected.
In the following, the living body detecting device based on visual and infrared signals provided by the present invention is described, and the living body detecting device based on visual and infrared signals described below and the living body detecting method based on visual and infrared signals described above can be referred to correspondingly.
The visual and infrared signal-based liveness detection device of the present invention is described below with reference to fig. 4, and comprises:
the first detection module 100 is configured to obtain a first detection result of a target to be detected. In this embodiment, the first detection result is obtained based on an infrared pyroelectric signal capturing technology, and the first detection result is whether the target to be detected is a living target. In the first detection module 100, a pyroelectric infrared sensor may be used to obtain a first detection result of a target to be detected, and preferably, the pyroelectric infrared sensor is a human infrared sensing pyroelectric infrared sensor of HC-SR501 model. When the target to be detected is a living body target, after the target enters the detection area of the pyroelectric infrared sensor, that is, the living body target enters the detection area, a temperature change value Δ T is generated due to a difference between the target temperature and the environmental temperature, and the first detection module 100 acquires the changed temperature change value Δ T and analyzes and processes the temperature change value Δ T, so that a first detection result, that is, whether the target is the living body target, can be obtained.
The second detection module 200 is configured to acquire an image to be detected of the target to be detected, input the image to be detected into the target detection model, and obtain a second detection result output by the target detection model. The target detection model is obtained by training based on a detection training set, and the detection training set is obtained by combining a type recognition text and a position recognition text corresponding to the sample image. In this embodiment, the second detection result is obtained based on a visual detection technique, and the second detection result is a living body type of the target to be detected. The second detection module 200 may use a visual sensor to obtain an image to be detected of the target to be detected, and preferably, the visual sensor is a monocular RGB visual sensor. Then, the image to be detected is input into the target detection model in the second detection module 200, so as to obtain a second detection result.
The third detecting module 300 is configured to obtain a third detecting result according to the first detecting result and the second detecting result.
In the third detecting module 300, the first detecting result obtained by the first detecting module 100 and the second detecting result obtained by the second detecting module 200 are combined to obtain a third detecting result with more accurate detecting result, and it can be understood that the third detecting result is whether the object to be detected is a living object or not and the living body type in the case of determining that the object is a living object.
According to the living body detection device based on the vision and the infrared signal, the first detection result and the second detection result are obtained, and then the first detection result and the second detection result are combined, so that a third detection result with a more accurate detection result is obtained. The two detection and identification devices are combined, so that the problems that the living body detection cannot identify the type of the living body target or the living body detection cannot judge whether the living body target is the living body target can be perfectly solved, and the cost is lower compared with other detection schemes.
The living body detection device based on the vision and the infrared signal combines the monocular vision and the infrared pyroelectric signal to detect and identify the living body target, the infrared pyroelectric sensor can only detect the existence of the living body target in the detected area and cannot identify the type of the living body target, the monocular camera is used for collecting the image information of the detected area, the image is subjected to deep learning target detection, the type of the target in the image can be identified, and whether the living body target is in the image or not can not be judged. The living body detection device based on vision and infrared signals combines two detection and identification devices, can perfectly solve the problems of living body target detection, and has lower cost compared with other detection schemes.
In the following, referring to fig. 5, the living body detecting apparatus based on visual and infrared signals of the present invention is described, and the target detecting model in the second detecting module 200 is obtained by training the following steps:
the first obtaining unit 210 is configured to collect a sample image, where the sample image may also be obtained by a monocular RGB visual sensor, and mark a type identification (which types of objects exist in the sample image, i.e., types of objects) text and a position identification (position of the object in the sample image) text corresponding to the sample image by marking the sample image, that is, obtain the type identification text and the position identification text from the sample image.
And the second obtaining unit 220 is configured to concatenate the recognition text and the position recognition text to obtain a detection training set.
The training unit 230 is configured to train the detection training set as input data used for training in a deep learning manner, so as to obtain a target detection model for generating a second detection result of the image to be detected.
The visual and infrared signal based liveness detection system of the present invention is described below in conjunction with FIG. 6, and includes:
the system comprises a central control module 701, an infrared detection module 702, a visual detection module 703, a power supply module 704 and a display module 705, wherein the power supply module 704 supplies power to the whole system, in the embodiment, the power supply module 704 adopts a 5V direct current power supply, and the display module 705 is used for visually displaying the structure of the living body detection, including whether a target to be detected is a living body target or not and the type of the living body under the condition that the target is determined to be the living body target.
The central control module 701 takes a raspberry pi 4B embedded microcomputer as a main control development board, the power supply module 704 supplies power to the power supply module 704, and the infrared detection module 702 and the visual detection module 703 are electrically connected with the central control module 701 through a communication bus, GPIO pins and other connection modes.
The infrared detection module 702 may employ a pyroelectric infrared sensor to obtain a first detection result of the target to be detected, and preferably, the pyroelectric infrared sensor is a human body infrared sensing pyroelectric infrared sensor of HC-SR501 type. When the target to be detected is a living body target, after the target enters the detection area of the pyroelectric infrared sensor, that is, the living body target enters the detection area, a temperature change value Δ T is generated due to a difference between the target temperature and the environmental temperature, and the first detection module 100 acquires the changed temperature change value Δ T and analyzes and processes the temperature change value Δ T, so that a first detection result, that is, whether the target is the living body target, can be obtained. The vision detection module 703 may use a vision sensor to obtain an image to be detected of the target to be detected, and preferably, the vision sensor is a monocular RGB vision sensor. Then, the image to be detected is input into the target detection model in the second detection module 200, so as to obtain a second detection result.
The infrared pyroelectric signal in the environment is sensed by an HC-SR501 type human body infrared sensing pyroelectric infrared sensor, and environment image information is acquired by a monocular RGB visual sensor.
More specifically, the HC-SR501 type human body infrared induction pyroelectric infrared sensor in the system has three pins, the pin 1 is connected with the anode of the power supply module 704, the pin 3 is connected with the cathode of the power supply module 704, the pin 2 is a signal output pin and is connected with a GPIO port of the central control module 701 for reading data, when a target to be detected is a living body target, the living body target enters a detection region of the pyroelectric infrared sensor, namely after the living body target enters the detection region, a temperature change value Δ T is generated due to difference between target temperature and ambient temperature, the temperature change value Δ T triggers the change of high and low levels of the pin 2 of the HC-SR501 type human body infrared induction pyroelectric infrared sensor, and when the GPIO port of the central control module 701 reads high levels, the system judges that the living body target exists in the environment (the detection region).
In the central control module 701, a target detection model is written, specifically, the target detection model is an SSD target detection model, and a feature extraction network in the SSD target detection model is MobileNet v3, that is, an SSD-MobileNet model is constructed, and then image analysis is performed through the SSD-MobileNet model, so that the type of the living target in the environment is known.
It should be noted that the specific hardware circuit provided by the present invention is only used as an example to explain the present invention, and in a specific application process, in order to implement the present invention, an actual circuit and a matching application program may be adjusted, which is not limited in this embodiment.
Fig. 7 illustrates a physical structure diagram of an electronic device, and as shown in fig. 7, the electronic device may include: a processor (processor)810, a communication Interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication Interface 820 and the memory 830 communicate with each other via the communication bus 840. The processor 810 may invoke logic instructions in the memory 830 to perform a method of liveness detection based on visual and infrared signals, the method comprising the steps of:
s100, obtaining a first detection result of the target to be detected.
S200, acquiring an image to be detected of a target to be detected, and inputting the image to be detected into a target detection model to obtain a second detection result output by the target detection model; the target detection model is obtained by training based on a detection training set, and the detection training set is obtained by combining a type recognition text and a position recognition text corresponding to a sample image.
S300, obtaining a third detection result according to the first detection result and the second detection result.
In addition, the logic instructions in the memory 830 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, which when executed by a computer, enable the computer to perform the method for detecting a living body based on visual and infrared signals provided by the above methods, the method comprising the steps of:
s100, obtaining a first detection result of the target to be detected.
S200, acquiring an image to be detected of a target to be detected, and inputting the image to be detected into a target detection model to obtain a second detection result output by the target detection model; the target detection model is obtained by training based on a detection training set, and the detection training set is obtained by combining a type recognition text and a position recognition text corresponding to a sample image.
S300, obtaining a third detection result according to the first detection result and the second detection result.
In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program, which when executed by a processor, is implemented to perform the above-provided visual and infrared signal-based liveness detection method, the method comprising the steps of:
s100, obtaining a first detection result of the target to be detected.
S200, acquiring an image to be detected of a target to be detected, and inputting the image to be detected into a target detection model to obtain a second detection result output by the target detection model; the target detection model is obtained by training based on a detection training set, and the detection training set is obtained by combining a type recognition text and a position recognition text corresponding to a sample image.
S300, obtaining a third detection result according to the first detection result and the second detection result.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A living body detection method based on visual and infrared signals is characterized by comprising the following steps:
acquiring a first detection result of a target to be detected;
acquiring an image to be detected of a target to be detected, and inputting the image to be detected into a target detection model to obtain a second detection result output by the target detection model; the target detection model is obtained by training based on a detection training set, wherein the detection training set is obtained by combining a type recognition text and a position recognition text corresponding to a sample image;
and obtaining a third detection result according to the first detection result and the second detection result.
2. The visual and infrared signal-based in-vivo detection method as claimed in claim 1, wherein the target detection model is trained by the following steps:
obtaining the type identification text and the position identification text from the sample image;
connecting the recognition text and the position recognition text in series to obtain the detection training set;
and taking the detection training set as input data used for training, and training in a deep learning mode to obtain the target detection model for generating a second detection result of the image to be detected.
3. The visual and infrared signal-based in-vivo detection method according to claim 1, wherein the first detection result is obtained based on an infrared pyroelectric signal capture technology, and the first detection result is whether the object to be detected is an in-vivo object.
4. The visual and infrared signal-based in-vivo detection method according to claim 1, wherein the second detection result is obtained based on a visual detection technology, and the second detection result is a living body type of the target to be detected.
5. A visual and infrared signal based biopsy device, comprising:
the first detection module (100) is used for acquiring a first detection result of the target to be detected;
the second detection module (200) is used for acquiring an image to be detected of a target to be detected, inputting the image to be detected into the target detection model and obtaining a second detection result output by the target detection model; the target detection model is obtained by training based on a detection training set, wherein the detection training set is obtained by combining a type recognition text and a position recognition text corresponding to a sample image;
and the third detection module (300) is used for obtaining a third detection result according to the first detection result and the second detection result.
6. The visual and infrared signal-based in-vivo detection method according to claim 5, wherein the third detection module specifically comprises:
a first obtaining unit (210) for obtaining the category identification text and the position identification text from the sample image;
the second acquisition unit (220) is used for connecting the recognition text and the position recognition text in series to obtain the detection training set;
and the training unit (230) is used for training the detection training set as input data used for training in a deep learning mode to obtain the target detection model used for generating a second detection result of the image to be detected.
7. The visual and infrared signal based living body detection device of claim 5, wherein the first detection result is obtained based on an infrared pyroelectric signal capturing technology, and the first detection result is whether the object to be detected is a living body object.
8. The visual and infrared signal based biopsy device according to claim 5, wherein the second detection result is obtained based on a visual detection technology, and the second detection result is a type of a living body of the target to be detected.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program performs the steps of the method for visual and infrared signal based liveness detection according to any one of claims 1 to 4.
10. A non-transitory computer-readable storage medium, on which a computer program is stored, wherein the computer program, when being executed by a processor, implements the steps of the method for detecting a living body based on visual and infrared signals according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110473322.8A CN113239762A (en) | 2021-04-29 | 2021-04-29 | Vision and infrared signal-based living body detection method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110473322.8A CN113239762A (en) | 2021-04-29 | 2021-04-29 | Vision and infrared signal-based living body detection method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113239762A true CN113239762A (en) | 2021-08-10 |
Family
ID=77131491
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110473322.8A Pending CN113239762A (en) | 2021-04-29 | 2021-04-29 | Vision and infrared signal-based living body detection method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113239762A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204044884U (en) * | 2014-05-13 | 2014-12-24 | 中国矿业大学 | Library seats information management and inquisition system |
WO2019137178A1 (en) * | 2018-01-12 | 2019-07-18 | 杭州海康威视数字技术股份有限公司 | Face liveness detection |
CN110766654A (en) * | 2019-09-09 | 2020-02-07 | 深圳市德孚力奥科技有限公司 | Live bird detection method, device and equipment based on machine learning and readable medium |
CN112529851A (en) * | 2020-11-27 | 2021-03-19 | 中冶赛迪重庆信息技术有限公司 | Method, system, terminal and medium for determining state of hydraulic pipe |
WO2021068322A1 (en) * | 2019-10-10 | 2021-04-15 | 平安科技(深圳)有限公司 | Training method and apparatus for living body detection model, computer device, and storage medium |
-
2021
- 2021-04-29 CN CN202110473322.8A patent/CN113239762A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204044884U (en) * | 2014-05-13 | 2014-12-24 | 中国矿业大学 | Library seats information management and inquisition system |
WO2019137178A1 (en) * | 2018-01-12 | 2019-07-18 | 杭州海康威视数字技术股份有限公司 | Face liveness detection |
CN110766654A (en) * | 2019-09-09 | 2020-02-07 | 深圳市德孚力奥科技有限公司 | Live bird detection method, device and equipment based on machine learning and readable medium |
WO2021068322A1 (en) * | 2019-10-10 | 2021-04-15 | 平安科技(深圳)有限公司 | Training method and apparatus for living body detection model, computer device, and storage medium |
CN112529851A (en) * | 2020-11-27 | 2021-03-19 | 中冶赛迪重庆信息技术有限公司 | Method, system, terminal and medium for determining state of hydraulic pipe |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11380140B2 (en) | Inspection assistance device, inspection assistance method, and recording medium | |
US9990710B2 (en) | Apparatus and method for supporting computer aided diagnosis | |
JP7036401B2 (en) | Learning server, image collection support system for insufficient learning, and image estimation program for insufficient learning | |
US11100642B2 (en) | Computer system, and method and program for diagnosing animals | |
CN105938513A (en) | Apparatus and method for providing reliability for computer aided diagnosis | |
CN109464148A (en) | Measure the apparatus and system of spinal curvature | |
CN106203308B (en) | Face recognition method and face recognition device | |
CN112991343A (en) | Method, device and equipment for identifying and detecting macular region of fundus image | |
CN111368698B (en) | Main body identification method, main body identification device, electronic equipment and medium | |
CN113435353A (en) | Multi-mode-based in-vivo detection method and device, electronic equipment and storage medium | |
CN109711434B (en) | Method, apparatus, device and medium for acquiring and evaluating VQA system training data | |
CN111914841B (en) | CT image processing method and device | |
CN117333330A (en) | Student management method, device, system and storage medium | |
CN113239762A (en) | Vision and infrared signal-based living body detection method and device | |
US11003911B2 (en) | Inspection assistance device, inspection assistance method, and recording medium | |
CN115631169A (en) | Product detection method and device, electronic equipment and storage medium | |
CN108596127A (en) | A kind of fingerprint identification method, auth method and device and identity veritify machine | |
CN116029968A (en) | Monkey pox infection skin image detection method and device, electronic equipment and storage medium | |
CN114140751A (en) | Examination room monitoring method and system | |
CN111582404B (en) | Content classification method, device and readable storage medium | |
CN115731403A (en) | Image alignment method and device, storage medium and electronic equipment | |
JP2015141233A (en) | Answer determination assistance system | |
US11232530B2 (en) | Inspection assistance device, inspection assistance method, and recording medium | |
CN113916899A (en) | Method, system and device for detecting large soft infusion bag product based on visual identification | |
CN111797656B (en) | Face key point detection method and device, storage medium and electronic equipment |
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 |