CN113691696A - Face recognition method based on camera module and camera module - Google Patents

Face recognition method based on camera module and camera module Download PDF

Info

Publication number
CN113691696A
CN113691696A CN202110835164.6A CN202110835164A CN113691696A CN 113691696 A CN113691696 A CN 113691696A CN 202110835164 A CN202110835164 A CN 202110835164A CN 113691696 A CN113691696 A CN 113691696A
Authority
CN
China
Prior art keywords
electrochromic filter
wavelength
camera module
picture
threshold value
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
Application number
CN202110835164.6A
Other languages
Chinese (zh)
Inventor
单华标
龙华伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Moredian Technology Co ltd
Original Assignee
Hangzhou Moredian Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Moredian Technology Co ltd filed Critical Hangzhou Moredian Technology Co ltd
Priority to CN202110835164.6A priority Critical patent/CN113691696A/en
Publication of CN113691696A publication Critical patent/CN113691696A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/55Optical parts specially adapted for electronic image sensors; Mounting thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • H04N23/661Transmitting camera control signals through networks, e.g. control via the Internet

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Blocking Light For Cameras (AREA)

Abstract

The invention relates to a face recognition method based on a camera module and the camera module, wherein the camera module comprises: a driving power supply including a first driving circuit and a second driving circuit; the change-over switch is connected with the driving power supply; the electrochromic filter is connected with the change-over switch; and the optical lens is connected with the electrochromic filter and used for acquiring external imaging light. According to the technical scheme, based on the effect of the change-over switch, the electrochromic filter realizes the switching of three states in the first driving circuit, the second driving circuit or an open circuit, so that light waves penetrating through the electrochromic filter can be changed, namely the filtering characteristic of the electrochromic filter can be adjusted, the switching of different states can be met without installing a plurality of cameras, the electrochromic filter is applied to the field of security protection, the accuracy of living body identification is effectively improved, the cost of a camera module is reduced, and the electrochromic filter is simple in structure.

Description

Face recognition method based on camera module and camera module
Technical Field
The invention relates to the technical field of cameras, in particular to a face recognition method based on a camera module and the camera module.
Background
The camera that the security protection trade was used is mostly RGB and infrared two cameras, needs to use a plurality of cameras just can satisfy the different functions of live body discernment and face identification for the camera cost is higher, and the structure is comparatively complicated.
Disclosure of Invention
The invention aims to provide a camera module which is simple in structure, low in cost and good in applicability.
In order to achieve the purpose, the invention adopts the following technical scheme:
a camera module, comprising:
a driving power supply including a first driving circuit and a second driving circuit;
a change-over switch connected to the driving power supply;
the electrochromic filter is connected with the change-over switch, and when the change-over switch is switched off, the electrochromic filter allows light with the wavelength within a preset range to penetrate through; when the switch is closed and the electrochromic filter is connected to the first driving circuit, the electrochromic filter allows light with the wavelength at a first preset threshold value to penetrate through; when the switch is closed and the electrochromic filter is connected to the second driving circuit, the electrochromic filter allows light with the wavelength at a second preset threshold value to penetrate through;
and the optical lens is connected with the electrochromic filter and used for acquiring external imaging light.
Preferably, the first driving circuit provides a first driving voltage for the electrochromic filter, the second driving circuit provides a second driving voltage for the electrochromic filter, and the first driving voltage is different from the second driving voltage.
Preferably, the value range of the first driving voltage is 0.5V < a ≦ 3.3V; the value range of the second driving voltage is 3.3V < b < 6V.
Preferably, the first driving voltage is 3.3V, and the second driving voltage is 5V.
Preferably, the camera module further comprises a sensor arranged on one side of the electrochromic filter, which is far away from the optical lens, and a circuit board connected with the change-over switch, wherein the circuit board is used for controlling the on-off of the change-over switch, and the sensor is used for transmitting the received light wave signal to the circuit board and transmitting the light wave signal to the cloud server through the circuit board.
The invention also provides a face recognition method based on the camera module, which comprises the following steps:
the change-over switch is switched off, so that the electrochromic filter allows visible light with the wavelength within a preset range to penetrate through, a first picture is shot, and the first picture is sent to a cloud server in a video stream mode;
if the cloud server identifies that a face exists in the first picture, sending a switching instruction to the switch to enable the electrochromic optical filter to allow light with the wavelength being at a first preset threshold value to penetrate through the electrochromic optical filter;
and shooting a second picture, and sending the second picture to a cloud server in a video stream mode for living body identification verification.
Preferably, after the second picture is taken and sent to the cloud server in the form of a video stream for successful living body identification verification, the method further includes:
and sending a switching instruction to the switch to enable the electrochromic filter to allow light with the wavelength of a second preset threshold value to penetrate through, shooting a third picture, and sending the third picture to a cloud server in a video stream mode to perform living body identification and verification.
Preferably, after the living body identification check is successful, the method further comprises:
and extracting a face characteristic value from the picture shot under the visible light condition, comparing the face characteristic value with characteristic data in a face base, and if the comparison score reaches a preset threshold value, successfully identifying the face.
Preferably, the first preset threshold value of the wavelength is 820nm-880nm, and the second preset threshold value of the wavelength is 910nm-980 nm.
Preferably, the first preset threshold value of the wavelength is 850nm, and the second preset threshold value of the wavelength is 940 nm.
Compared with the prior art, the invention has the beneficial effects that:
according to the camera module provided by the technical scheme, the switching switch is connected with the driving power supply, the electrochromic filter is connected with the switching switch, and the optical lens is connected with the electrochromic filter and used for acquiring external imaging light; when the switch is closed and the electrochromic filter is connected to the first driving circuit, the electrochromic filter allows light with the wavelength at a first preset threshold value to penetrate through; when the change-over switch is closed and the electrochromic filter is connected to the second drive circuit, the electrochromic filter allows light with the wavelength of the second preset threshold to penetrate, thereby based on the effect of the change-over switch, the electrochromic filter realizes the switching of three states in the first drive circuit, the second drive circuit or an open circuit, the light wave penetrating through the electrochromic filter can be changed, namely, the filtering characteristic of the electrochromic filter can be adjusted, the switching of different states can be met without installing a plurality of cameras, the cost of the camera module is reduced, the structure is simple, the camera module is applied to the field of security protection, the accuracy of living body identification is effectively improved, and the camera module has better applicability.
Drawings
Fig. 1 is a schematic structural diagram of a camera module according to an embodiment of the present invention.
Description of the symbols of the drawings:
1. a switch; 2. an electrochromic filter; 3. an optical lens; 4. a sensor; 5. a circuit board.
Detailed Description
The present invention will now be described in more detail with reference to the accompanying drawings, in which the description of the invention is given by way of illustration and not of limitation. The various embodiments may be combined with each other to form other embodiments not shown in the following description.
Referring to fig. 1, an embodiment of the present invention provides a camera module, including: a driving power supply, a switch 1, an electrochromic filter 2, an optical lens 3, a circuit board 5 and a sensor 4.
The driving power supply comprises a first driving circuit and a second driving circuit; the change-over switch 1 is connected to the driving power supply; the electrochromic filter 2 is connected to the switch 1, and when the switch 1 is switched off, the electrochromic filter 2 allows light with a wavelength in a preset range to pass through; when the switch 1 is closed and the electrochromic filter 2 is connected to the first driving circuit, the electrochromic filter 2 allows light with a wavelength at a first preset threshold value to pass through; when the switch 1 is closed and the electrochromic filter 2 is connected to the second driving circuit, the electrochromic filter 2 allows light with a wavelength at a second preset threshold value to pass through; the optical lens 3 is connected to the electrochromic filter 2 and used for acquiring external imaging light.
It should be noted that the electrochromic filter 2 is located at the light exit end of the optical lens 3, so that the optical lens 3 can obtain external imaging light and the external imaging light can pass through the electrochromic filter 2; when the switch 1 is turned off, the voltage value applied to the electrochromic filter 2 is zero, the light transmitted through the electrochromic filter 2 is visible light, and the wavelength of the visible light is 400-780 nm; the first preset threshold value of the wavelength is near infrared light, and the second preset threshold value of the wavelength is far infrared light.
It can be understood that, under the effect of change over switch 1, three kinds of state's switching is realized in first drive circuit, second drive circuit or opening a way to electrochromic light filter 2, can make the light of three kinds of different wavelength pass through electrochromic light filter 2, can the visible light, the near infrared light of first predetermined threshold value and the far infrared light of second predetermined threshold value, utilize the characteristics of formation of image under the different wave bands, and through the working method of combination, realize living body discernment and face identification's function, still do benefit to the accuracy that improves this camera module living body discernment in the security protection operation simultaneously, owing to need not to install the switching that a plurality of cameras can satisfy different states, reduce the cost of this camera module, and the structure is simpler.
The first preset threshold value of the wavelength is 820nm-880nm, the second preset threshold value of the wavelength is 910nm-980nm, as a preferred embodiment, the first preset threshold value of the wavelength is 850nm, and the second preset threshold value of the wavelength is 940nm, so that the infrared sensitivity of the 850nm is better, and the accuracy of living body identification of the camera module in security and protection operation is further improved by utilizing the characteristic of imaging under 850nm and 940nm and a combined working mode.
In order to change the state of the electrochromic filter 2, the first driving circuit provides a first driving voltage for the electrochromic filter 2, the second driving circuit provides a second driving voltage for the electrochromic filter 2, and the first driving voltage is different from the second driving voltage, it can be understood that the first driving voltage enables the electrochromic filter 2 to allow light with a wavelength at a first preset threshold value to pass through, and the second driving voltage enables the electrochromic filter 2 to allow light with a wavelength at a second preset threshold value to pass through, so that the filter characteristic is adjustable, the cost of the camera module is favorably reduced, and the structure is simple.
Wherein, the value range of the first driving voltage is, for example, 0.5V < a ≦ 3.3V; the value range of the second driving voltage is, for example, 3.3V < b < 6V, as a preferred embodiment, the first driving voltage is 3.3V, and the second driving voltage is 5V, which is more favorable for the electrochromic optical filter 2 to allow light with a wavelength at a first preset threshold or a second preset threshold to pass through, further realizes adjustable filtering characteristics, and is more favorable for improving the accuracy of living body identification of the camera module in security operation.
In addition, the camera module further comprises a sensor 4 arranged on one side, away from the optical lens 3, of the electrochromic filter 2 and a circuit board 5 connected with the change-over switch 1, wherein the circuit board 5 is used for controlling the on-off of the change-over switch 1, and the sensor 4 is used for transmitting the received light wave signals to the circuit board 5 and transmitting the light wave signals to the cloud server through the circuit board 5.
It can be understood that electrochromic filter 2 is located sensor 4's photosurface, works as circuit board 5 control during change over switch 1 disconnection, in the external light wave that optical lens 3 obtained electrochromic filter 2 allows visible light to pass through, sensor 4 will receive the light wave signal reach circuit board 5 and transmit to high in the clouds server, and the high in the clouds server receives colored video stream promptly and discerns whether there is the people's face.
When the circuit board 5 controls the switch 1 to be closed and the electrochromic filter 2 is connected to the first driving circuit, the first driving circuit provides a first driving voltage for the electrochromic element, the electrochromic filter 2 allows near infrared light with a wavelength of a first preset threshold value to penetrate through, the sensor 4 transmits the received light wave signal to the circuit board 5 and transmits the light wave signal to the cloud server, and the cloud server receives the near infrared video stream and performs living body identification and verification.
When the circuit board 5 controls the switch 1 to be closed and the electrochromic filter 2 is connected to the second driving circuit, the second driving circuit provides a second driving voltage for the electrochromic element, the electrochromic filter 2 allows far infrared light with a wavelength of a second preset threshold to penetrate through, the sensor 4 transmits the received light wave signal to the circuit board 5 and transmits the light wave signal to the cloud server, and the cloud server receives the far infrared video stream and performs living body identification and verification.
The invention also provides a face recognition method based on the camera module, which comprises the following steps: with continued reference to figure 1,
and switching off the switch 1 to allow visible light with a wavelength within a preset range to pass through the electrochromic filter 2, shooting a first picture, and sending the first picture to a cloud server in a color video stream mode.
If the cloud server identifies that a face exists in the first picture, sending a switching instruction to the switch 1 to enable the electrochromic filter 2 to allow light with a wavelength of a first preset threshold value to penetrate through, shooting a second picture, and sending the second picture to the cloud server in a video stream mode for living body identification and verification; if the cloud server does not recognize that the first picture contains a face, the change-over switch 1 is continuously switched off, the first picture is shot, and color video streams are sent to the cloud server.
If the second picture is shot and sent to the cloud server in the form of video stream for living body identification verification success, a switching instruction is sent to the switch 1, so that the electrochromic filter 2 allows light with the wavelength of a second preset threshold value to penetrate through, a third picture is shot, and the third picture is sent to the cloud server in the form of video stream for living body identification verification.
If the living body identification verification is successful, extracting a face characteristic value from the picture shot under the visible light condition, comparing the face characteristic value with characteristic data in a face base, and if the comparison score reaches a preset threshold value, successfully identifying the face.
It can be understood that, under the effect of change over switch 1, can make the light of three kinds of different wavelength see through electrochromic light filter 2, can see light, the near infrared light of first preset threshold value and the far infrared light of second preset threshold value, utilize the characteristics of formation of image under the different wave bands to discernment people's face and live body through the mode of combination, can improve the accuracy of camera module live body identification in the security protection operation, just the method has higher work efficiency, has further improved the factor of safety in the security protection field.
The first preset threshold value of the wavelength is 820nm-880nm, the second preset threshold value of the wavelength is 910nm-980nm, as a preferred embodiment, the first preset threshold value of the wavelength is 850nm, and the second preset threshold value of the wavelength is 940nm, so that the infrared sensitivity of the 850nm is better, and the accuracy of living body identification of the camera module in security and protection operation is further improved by utilizing the characteristic of imaging under 850nm and 940nm and a combined working mode.
The above embodiments are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited thereby, and any insubstantial changes and substitutions made by those skilled in the art based on the present invention are within the protection scope of the present invention.

Claims (10)

1. The utility model provides a camera module which characterized in that includes:
a driving power supply including a first driving circuit and a second driving circuit;
a changeover switch (1) connected to the drive power supply;
the electrochromic filter (2) is connected to the switch (1), and when the switch (1) is switched off, the electrochromic filter (2) allows light with a wavelength within a preset range to transmit; when the switch (1) is closed and the electrochromic filter (2) is connected to the first drive circuit, the electrochromic filter (2) allows light with a wavelength at a first preset threshold value to transmit; when the switch (1) is closed and the electrochromic filter (2) is connected to the second driving circuit, the electrochromic filter (2) allows light with the wavelength at a second preset threshold value to transmit;
and the optical lens (3) is connected to the electrochromic filter (2) and is used for acquiring external imaging light.
2. The camera module according to claim 1, wherein the first driving circuit provides a first driving voltage for the electrochromic filter (2), the second driving circuit provides a second driving voltage for the electrochromic filter (2), and the first driving voltage is different from the second driving voltage.
3. The camera module of claim 2, wherein the first driving voltage has a value range of 0.5V < a ≦ 3.3V; the value range of the second driving voltage is 3.3V < b < 6V.
4. The camera module of claim 3, wherein the first driving voltage is 3.3V and the second driving voltage is 5V.
5. The camera module according to claim 1, further comprising a sensor (4) disposed on a side of the electrochromic filter (2) away from the optical lens (3), and a circuit board (5) connected to the switch (1), wherein the circuit board (5) is configured to control on/off of the switch (1), and the sensor (4) is configured to transmit the received light wave signal to the circuit board (5) and transmit the light wave signal to a cloud server through the circuit board (5).
6. A face recognition method based on the camera module of any one of claims 1-5, characterized in that the method comprises the following steps:
the change-over switch (1) is switched off, so that the electrochromic filter (2) allows visible light with the wavelength within a preset range to penetrate through, a first picture is shot, and the first picture is sent to a cloud server in a video stream mode;
if the cloud server identifies that a face exists in the first picture, sending a switching instruction to the switch (1) to enable the electrochromic filter (2) to allow light with a wavelength at a first preset threshold value to penetrate through;
and shooting a second picture, and sending the second picture to a cloud server in a video stream mode for living body identification verification.
7. The method of claim 6, wherein after capturing the second picture and sending the second picture to the cloud server in a video stream for successful biometric verification, the method further comprises:
and sending a switching instruction to the switch (1), enabling the electrochromic filter (2) to allow light with the wavelength of a second preset threshold value to penetrate, shooting a third picture, and sending the third picture to a cloud server in a video stream mode for living body identification verification.
8. The method of claim 6, wherein after the in vivo identification check is successful, the method further comprises:
and extracting a face characteristic value from the picture shot under the visible light condition, comparing the face characteristic value with characteristic data in a face base, and if the comparison score reaches a preset threshold value, successfully identifying the face.
9. The method of claim 7, wherein the first predetermined threshold value of the wavelength is 820nm to 880nm and the second predetermined threshold value of the wavelength is 910nm to 980 nm.
10. The method of claim 9, wherein the first predetermined threshold value for the wavelength is 850nm and the second predetermined threshold value for the wavelength is 840 nm.
CN202110835164.6A 2021-07-23 2021-07-23 Face recognition method based on camera module and camera module Pending CN113691696A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110835164.6A CN113691696A (en) 2021-07-23 2021-07-23 Face recognition method based on camera module and camera module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110835164.6A CN113691696A (en) 2021-07-23 2021-07-23 Face recognition method based on camera module and camera module

Publications (1)

Publication Number Publication Date
CN113691696A true CN113691696A (en) 2021-11-23

Family

ID=78577771

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110835164.6A Pending CN113691696A (en) 2021-07-23 2021-07-23 Face recognition method based on camera module and camera module

Country Status (1)

Country Link
CN (1) CN113691696A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008124941A (en) * 2006-11-14 2008-05-29 Matsushita Electric Ind Co Ltd Imaging system, and control method of variable filter
CN105763774A (en) * 2016-02-29 2016-07-13 联想(北京)有限公司 Camera module, electronic device and image acquisition method
CN106250886A (en) * 2016-09-06 2016-12-21 湖南中迪科技有限公司 A kind of face identification method and device
CN207249682U (en) * 2017-07-03 2018-04-17 南京甄视智能科技有限公司 Hand-held face verification terminal
CN109977846A (en) * 2019-03-22 2019-07-05 中国科学院重庆绿色智能技术研究院 A kind of in-vivo detection method and system based on the camera shooting of near-infrared monocular
CN113079321A (en) * 2020-01-06 2021-07-06 深圳市万普拉斯科技有限公司 Camera, camera control method and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008124941A (en) * 2006-11-14 2008-05-29 Matsushita Electric Ind Co Ltd Imaging system, and control method of variable filter
CN105763774A (en) * 2016-02-29 2016-07-13 联想(北京)有限公司 Camera module, electronic device and image acquisition method
CN106250886A (en) * 2016-09-06 2016-12-21 湖南中迪科技有限公司 A kind of face identification method and device
CN207249682U (en) * 2017-07-03 2018-04-17 南京甄视智能科技有限公司 Hand-held face verification terminal
CN109977846A (en) * 2019-03-22 2019-07-05 中国科学院重庆绿色智能技术研究院 A kind of in-vivo detection method and system based on the camera shooting of near-infrared monocular
CN113079321A (en) * 2020-01-06 2021-07-06 深圳市万普拉斯科技有限公司 Camera, camera control method and mobile terminal

Similar Documents

Publication Publication Date Title
WO2017049922A1 (en) Image information collection apparatus, image collection method, and application thereof
CN106355169B (en) Infrared living body face image acquisition device, identification device and processing method thereof
CN103870805B (en) A kind of mobile terminal biological characteristic imaging method and device
CN201213278Y (en) Intelligent human face tracing device taking image by mobile phone
CN201788518U (en) Identification device with facial image and iris image acquisition functions
CN102708357A (en) Single-image sensor based double-eye iris recognition equipment
WO2013013615A1 (en) Control method based on winking feature extraction and shooting glasses based on same
CN204948210U (en) A kind of image information collecting device
JP2005292542A (en) Eye imaging apparatus and mobil terminal device
CN107343132A (en) A kind of hand identification device and method based on near-infrared LED light compensating lamp
CN202196428U (en) Single image sensor self-adaptive binocular iris synchronous acquisition system
CN108416281B (en) Camera applied to iris recognition
CN113691696A (en) Face recognition method based on camera module and camera module
CN202533963U (en) Single image sensor binocular iris identification equipment
CN112769487B (en) Individual soldier night vision optical communication helmet system
CN209746568U (en) Identity verification device based on face recognition
CN207184646U (en) A kind of hand identification device based on near-infrared LED light compensating lamp
CN207249682U (en) Hand-held face verification terminal
CN107371307B (en) A kind of lamp effect control method and system based on gesture identification
CN206193841U (en) Infrared live body facial image collection system and recognition device
CN104636719A (en) Embedded type face iris visualizing identification system
CN112019756B (en) Control method and system of intelligent wearable equipment based on 5G
CN109886069B (en) Iris recognition acquisition device based on animal management system and acquisition method using device
CN109215187A (en) A method of unlocking is locked with controlling by NI Vision Builder for Automated Inspection
CN210013153U (en) Gate system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20211123