CN110463183A - Identification device and method - Google Patents

Identification device and method Download PDF

Info

Publication number
CN110463183A
CN110463183A CN201980001126.1A CN201980001126A CN110463183A CN 110463183 A CN110463183 A CN 110463183A CN 201980001126 A CN201980001126 A CN 201980001126A CN 110463183 A CN110463183 A CN 110463183A
Authority
CN
China
Prior art keywords
infrared sensor
light
distance
exposure
image
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
CN201980001126.1A
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.)
Shenzhen Goodix Technology Co Ltd
Goodix Technology Hong Kong Co Ltd
Original Assignee
Shenzhen Huiding 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 Shenzhen Huiding Technology Co Ltd filed Critical Shenzhen Huiding Technology Co Ltd
Publication of CN110463183A publication Critical patent/CN110463183A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/14Measuring arrangements characterised by the use of optical techniques for measuring distance or clearance between spaced objects or spaced apertures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • G06V40/166Detection; Localisation; Normalisation using acquisition arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Signal Processing (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Optical Radar Systems And Details Thereof (AREA)
  • Measurement Of Optical Distance (AREA)

Abstract

It includes: distance-sensor that the application, which provides a kind of identification device and method, device, for measuring infrared sensor and identifying the first distance between object;Infrared sensor, the first image for the shooting identification object under default light exposure;Processor for determining default light exposure according to first distance, and calculates the actual exposure amount of infrared sensor according to the first image, and carries out identifying processing to identification object using the first image when actual exposure amount belongs in preset range.The application can accurately determine the default light exposure of infrared sensor, when 2D is identified, without clapping image in advance to judge whether light exposure is suitable, improve device recognition speed, and compared to infrared sensor and light compensating lamp, range sensor energy consumption is smaller, reduces device energy-wasting.When 3D is identified, device adjusts light exposure according to first distance, and avoiding device works long hours in higher power consumption mode, reduces device energy-wasting.

Description

Identification device and method
Technical field
The present invention relates to technical field of face recognition more particularly to a kind of identification device and methods.
Background technique
With the rise of 3D face recognition scheme, more and more products start to increase 2D or 3D face identification functions, such as intelligence Energy mobile phone, intelligent door lock etc..
Whether 2D recognition of face or 3D recognition of face, are all made of infrared sensor, and need infrared floodlighting Device carries out light filling.With the variation of distance and use environment, the size of light filling amount and light exposure requires to adjust.Fig. 1 is existing 2D face recognition scheme flow chart, in existing 2D face recognition scheme, first identification device to partial pixel carry out In the case where exposure, a frame image is shot, and analyze the frame image amount of being exposed, if light exposure is suitable, to all In the case that pixel is exposed, a frame image is shot, and 2D recognition of face is carried out to the frame image.However, above-mentioned 2D face Identifying schemes cause recognition time longer larger with power consumption due to needing pre- facial image of clapping to judge whether light exposure is suitable.
In addition, no matter identifying that distance is remote between object and identification device when carrying out 3D recognition of face using identification device Closely, the light exposure of identification device remains unchanged, i.e., structured light projector driving current and infrared sensor in identification device Time for exposure remains unchanged, and causes power consumption larger.
Summary of the invention
The application provides a kind of identification device and method, it is intended to which solve existing identification device needs when carrying out 2D recognition of face It to clap image in advance to judge whether light exposure is suitable, cause that recognition time is longer and the larger technical problem of power consumption and existing Identification device light exposure when carrying out 3D recognition of face remains unchanged, and causes the technical problem that power is larger.
In a first aspect, the present invention provides a kind of identification device, comprising:
Distance-sensor, for measuring infrared sensor and identifying the first distance between object;
Infrared sensor, the first image for the shooting identification object under default light exposure;
Processor for determining default light exposure according to first distance, and calculates infrared sensor according to the first image Actual exposure amount, and identification object is carried out at identification using the first image when actual exposure amount belongs in preset range Reason.
Optionally, processor is used to generate the first instruction according to first distance, and the first instruction is for controlling infrared sensor Time for exposure, to make the default light exposure of light exposure of infrared sensor by controlling the time for exposure.
Optionally, device further include: light compensating lamp;
Light compensating lamp is connect with infrared sensor;Infrared sensor generates the first driving signal according to the first instruction, and first drives Dynamic signal is used to control the intensity of the infrared light of light compensating lamp projection, to pass through the strength control infrared sensor of control infrared light Light exposure is default light exposure.
Optionally, device further include: light compensating lamp;
Light compensating lamp is connect with infrared sensor;First instruction is also used to that infrared sensor is made to generate the first driving signal, the One driving signal is used to control the intensity of the infrared light of light compensating lamp projection, to pass through the intensity control of control time for exposure and infrared light The light exposure of infrared sensor processed is default light exposure.
Optionally, device further include: structured light projector and driving unit;
Structured light projector is connect with driving unit, and driving unit generates the second driving signal, and the second driving signal is used for The intensity of the structure light of control structure light projector projection, to pass through the exposure of the strength control infrared sensor of control structure light Amount is default light exposure.
Optionally, device further include: structured light projector and driving unit;
Structured light projector is connect with driving unit, and the first instruction is also used to that driving unit is made to generate the second driving signal, Intensity of second driving signal for the structure light of control structure light projector projection, to pass through the intensity and exposure of control structure light The light exposure that infrared sensor is controlled between light time is default light exposure.
Optionally, processor is connect with driving unit;
Processor generates first control signal according to the first instruction, and driving unit generates second according to first control signal and drives Dynamic signal.
Optionally, infrared sensor is connect with driving unit;
Infrared sensor generates second control signal according to the first instruction, and driving unit generates the according to second control signal Two driving signal.
Optionally, the second driving signal includes: synchronization signal and configuration signal;Driving unit respectively with processor and infrared Sensor connection;
Processor generates third according to the first instruction and controls signal, and infrared sensor generates the 4th control according to the first instruction Signal, driving unit control signal according to third and generate configuration signal, and driving unit generates synchronous letter according to the 4th control signal Number.
Optionally, the first image is 2D image or 3D rendering.
Second aspect, the present invention provide a kind of recognition methods, are applied to identification device, identification device includes infrared sensor And distance-sensor, method include:
Obtain the first distance between the identification object and infrared sensor of distance-sensor measurement;
The default light exposure of infrared sensor is determined according to first distance;
Obtain the first image that infrared sensor is shot under default light exposure;
The actual exposure amount of infrared sensor is calculated according to the first image;
If actual exposure amount is within a preset range, identification object is identified using the first image.
Optionally, identification device further include: light compensating lamp determines the default light exposure of infrared sensor according to first distance, It specifically includes:
The time for exposure of infrared sensor is determined according to first distance, and/or
Determine the operating current of light compensating lamp, according to first distance to determine the intensity of the infrared light of light compensating lamp projection.
Optionally, identification device further include: structured light projector determines the default exposure of infrared sensor according to first distance Light quantity specifically includes:
The time for exposure of infrared sensor is determined according to first distance, and/or
Determine the operating current of structured light projector, according to first distance to determine the structure light of structured light projector projection Intensity.
Optionally, the first image is 2D image or 3D rendering.
Optionally, if actual exposure amount is outside preset range, the identification object and infrared biography that distance-sensor measures are obtained Second distance between sensor;
If first distance is identical as second distance, default light exposure is adjusted according to actual exposure amount and preset range.
Optionally, if first distance is different from second distance, default light exposure is determined according to second distance.
The application provides a kind of identification device and method, is equipped with distance-sensor in identification device, passes through distance-sensor It measures identification device and identifies the first distance between object, to adjust the light exposure of identification device, identification according to first distance Device shoots the first image in the case where this presets light exposure, directly sharp if the actual exposure amount of the first image is within a preset range Identifying processing is carried out to identification object with the first image.Compared to the prior art, the application can accurately really according to first distance The default light exposure for determining identification device, when carrying out 2D identifying processing, without clapping image in advance to judge whether light exposure is suitable, mentions High device recognition speed, and compared to infrared sensor and light compensating lamp, range sensor energy consumption is smaller, and then reduces identification device Energy consumption, increase the stand-by time of identification device.When carrying out 3D identifying processing, object, the knowledge are identified in different location Other device can adjust its light exposure according to first distance, and identification device is avoided to work long hours in higher power consumption mode, and reducing should The energy consumption of device.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this Shen Some embodiments please for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is the structural schematic diagram of present invention identification device shown according to an exemplary embodiment;
Fig. 2 is the structural schematic diagram for the identification device that the present invention is shown according to another exemplary embodiment;
Fig. 3 is the layout based on the identification device shown in embodiment illustrated in fig. 2;
Fig. 4 is the structural schematic diagram for the identification device that the present invention is shown according to a further exemplary embodiment;
Fig. 5 is structural schematic diagram of the present invention according to the identification device shown in another exemplary embodiment;
Fig. 6 is the flow diagram of present invention recognition methods shown according to an exemplary embodiment.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so as to embodiments herein described herein, such as can be with Sequence other than those of illustrating or describing herein is implemented.In addition, term " includes " and " having " and their times What is deformed, it is intended that cover it is non-exclusive include, for example, contain the process, method of a series of steps or units, system, Product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include be not clearly listed or for The intrinsic other step or units of these process, methods, product or equipment.
The application provides a kind of identification device and method, it is intended to which solve existing identification device needs when carrying out 2D recognition of face It to clap image in advance to judge whether light exposure is suitable, cause that recognition time is longer and the larger technical problem of power consumption and existing Identification device light exposure when carrying out 3D recognition of face remains unchanged, and causes the technical problem that power is larger.
Fig. 1 is the structural schematic diagram of present invention identification device shown according to an exemplary embodiment.As shown in Figure 1, this Embodiment provides a kind of identification device 100, comprising: distance-sensor 101, infrared sensor 102 and processor 103.Wherein, Distance-sensor is fixed with infrared sensor relative position.
When 100 pairs of identification objects of identification device identify, distance-sensor 101 measures itself between identification object Distance, since distance-sensor and infrared sensor relative position are fixed, can according to range sensor to identification object it Between distance obtain infrared sensor 102 and identify object between first distance.Wherein, processor 103 is true according to first distance Determine the default light exposure of infrared sensor 102.After determining the default light exposure of infrared sensor 102, the infrared sensor 102 shoot the first image of identification object under default light exposure, and processor simultaneously calculates infrared sensor 103 according to the first image Actual exposure amount, if the actual exposure amount of infrared sensor is within a preset range, using the first image to identification object into Row identifying processing.
In above-mentioned identification device 100, distance-sensor 101 can be measured based on TOF (Time of Flight) principle Identify distance between object and identification device.Range sensor 101 modulates light, modulation light to scene simulation locating for identification object Line is encountering identification object back reflection, after reflection light is collected via range sensor 101, in range sensor 101 Reference signal carries out convolution, sampling, obtains the phase of reflection signal, and then obtains the flight time of modulation light, in conjunction with light Speed, so that it may calculate infrared sensor 102 to identification object distance.
In above-mentioned identification device 100, distance-sensor 101 can be based on ultrasonic wave principle measurement identification object and identification Distance between device.Range sensor 101 emits ultrasonic wave to scene locating for identification object, starts while emitting ultrasonic wave Timing, ultrasonic wave are propagated in air, are reflected immediately after encountering identification object, range sensor is receiving back wave Just stop timing immediately.The aerial spread speed of ultrasonic wave is 340m/s, according to the time of timer record, so that it may count Calculate the distance for identifying object to infrared sensor 102.
In above-mentioned identification device 100, distance-sensor 101 can be for based on infrared light principle of induction, infrared photoinduction Principle is identical with TOF principle, and distance-sensor 101 emits infrared modulated light to scene locating for identification object, and infrared modulated light exists Identification object back reflection is encountered, is believed according to the reference infrared modulated light inside reflection IR modulated signals and distance-sensor 101 Number determine phase difference, further according to phase difference calculating infrared sensor 102 to identification object distance.
In above-mentioned identification device 100, distance-sensor 101 can for other realize distance detection chip, mould group or Person's scheme.The type of distance-sensor 101 is not limited in this application.
In above-mentioned identification device, the gray value of partial pixel or whole pixels to the first image carries out statistical Analysis, to calculate the actual exposure amount for obtaining the first image.Above-mentioned preset range is determined according to the identification accuracy of user.And it identifies Device can be used for 3D identifying processing and 2D identifying processing.
Identification device provided in this embodiment can accurately determine infrared biography according to first distance compared to the prior art The default light exposure of sensor 102, without clapping image in advance to judge whether light exposure is suitable, is improved when carrying out 2D identifying processing Device recognition speed, and compared to infrared sensor and light compensating lamp, range sensor energy consumption is smaller, and then reduces identification device Energy consumption, increases the stand-by time of identification device.When carrying out 3D identifying processing, object, the identification are identified in different location Device can adjust its light exposure according to first distance, and identification device is avoided to work long hours in higher power consumption mode, reduce the dress The energy consumption set.
Fig. 2 is the structural schematic diagram for the identification device that the present invention is shown according to another exemplary embodiment.As shown in Fig. 2, Identification device 200 provided in this embodiment includes: distance-sensor 201, structured light projector 202, driving unit 203, infrared Sensor 204, light compensating lamp 205, RGB sensor 206, processor 207 and memory 208.
In above-mentioned identification device 200, processor 207 respectively with distance-sensor 201, driving unit 203, infrared sensing Device 204, RGB sensor 206 and memory 208 connect, and driving unit 203 is connect with structured light projector 202, infrared sensing Device 204 is connect with light compensating lamp 205.
When carrying out two dimension (2 Dimension, referred to as: 2D) identifying processing using above-mentioned identification device 200, distance perception is answered Device 201 measures infrared sensor 204 to the first distance of identification object, and first distance is transmitted to processor 207, processor 207 determine the default light exposure of infrared sensor 204 according to first distance, and processor 207 generates the first instruction, and the first instruction is used It is default light exposure in the light exposure of control infrared sensor 204, identification device shoots the first image in the case where this presets light exposure, Wherein, the first image is 2D image, and by the 2D image transmitting to processor 207, so that processor 207 is according to the 2D image pair Identify that object carries out 2D identifying processing.
Wherein, when shooting 2D image, determine that the default light exposure of infrared sensor 204 specifically includes following three kinds specifically Embodiment:
The first specific embodiment are as follows: the time for exposure by controlling infrared sensor 204 makes the exposure of infrared sensor Light quantity is default light exposure.Processor generates the first instruction according to first distance, and the first instruction is for controlling infrared sensor 204 It worked in for the first time for exposure when light compensating lamp 205 works in default operating current, that is, determines and work in default work in light compensating lamp The shutter speed for making infrared sensor when electric current makes the light exposure of infrared sensor 204 preset light exposure, wherein default work The size for making electric current can be arranged according to user demand.Driving circuit generates the first driving signal in infrared sensor, with driving Light compensating lamp work, light compensating lamp provide infrared light, by control infrared sensor shutter speed with adjust infrared sensor into Light quantity, infrared sensor shoot 2D image, the actual exposure amount of infrared sensor are calculated by 2D image, when actual exposure amount exists In preset range, 2D identifying processing is carried out according to the 2D image by processor.
Second of specific embodiment are as follows: make the exposure of infrared sensor by the intensity of the infrared light of control light compensating lamp projection Light quantity is default light exposure.Processor generates the first instruction according to first distance, and the first instruction is for controlling light compensating lamp 205 red The first operating current is worked under the default time for exposure of outer sensor 204, i.e. infrared sensor is true in the case where defaulting shutter speed The operating current of light compensating lamp is recognized, to control the intensity of the infrared light of light compensating lamp projection.Wherein, default shutter speed can according to The setting of family demand.Driving circuit generates the first driving signal in infrared sensor, and to drive light compensating lamp to work, light compensating lamp provides red Outer light makes the light exposure of infrared sensor 204 by controlling the operating current of light compensating lamp to adjust the light-inletting quantity of infrared sensor To preset light exposure.Infrared sensor shoots 2D image, and the actual exposure amount of infrared sensor is calculated by 2D image, works as reality Light exposure carries out 2D identifying processing according to the 2D image within a preset range, by processor.
The third specific embodiment are as follows: projected by the time for exposure and light compensating lamp that control infrared sensor 204 red The intensity of outer light makes the light exposure of infrared sensor preset light exposure.Processor generates the first instruction according to first distance, the One instruction worked in for the first time for exposure for controlling infrared sensor 204, and controlled light compensating lamp 205 and work in the second work electricity Stream, passes through the light exposure of the first time for exposure and the second operating current co- controlling infrared sensor.It is driven in infrared sensor Circuit evolving the first driving signal, to drive light compensating lamp to work, by the operating current and infrared sensor that control light compensating lamp Time for exposure makes the light exposure of infrared sensor 204 preset light exposure to adjust the light-inletting quantity of infrared sensor.Infrared biography Sensor shoot 2D image, by 2D image calculate infrared sensor actual exposure amount, when actual exposure amount within a preset range, 2D identifying processing is carried out according to the 2D image by processor.
More specifically, controller passes through Serial Peripheral Interface (SPI) (Serial Peripheral Interface, referred to as: SPI) Or the communication interfaces such as serial (Inter-Integrated Circuit, referred to as: I2C) bus of twin wire allow the driving unit to be Structured light projector provides the second driving signal, wherein the second driving signal includes configuration signal and synchronization signal.Configure signal For for structured light projector configuration driven electric current, frequency, duty ratio etc..Synchronization signal for realizing structured light projector with it is red The synchronization of outer sensor spectrum assignment.
When carrying out three-dimensional (3 Dimension, referred to as: 3D) identifying processing using above-mentioned identification device 200, determine infrared The light exposure of sensor specifically includes following three kinds of specific embodiments:
First specific embodiment are as follows: the time for exposure by controlling infrared sensor 204 makes the exposure of infrared sensor Amount is default light exposure.Processor generates the first instruction according to first distance, and the first instruction is for controlling in infrared sensor 204 Structured light projector 202 works in the first exposure time parameter when working in default operating current, makes the exposure of infrared sensor Amount is default light exposure.Wherein, default operating current is arranged according to user demand.
Second specific embodiment are as follows: the intensity of the structure light projected by control structure light projector makes infrared sensor Light exposure be default light exposure.Processor generates the first instruction according to first distance, and the first instruction is thrown for control structure light Emitter 202 works in third operating current under the default time for exposure of infrared sensor 204, makes the light exposure of infrared sensor To preset light exposure.Wherein, the default time for exposure can be arranged according to user demand.
Third specific embodiment are as follows: projected by the time for exposure and structured light projector that control infrared sensor 204 Structure light intensity make infrared sensor light exposure preset light exposure.Processor generates first according to first distance and refers to It enables, the first instruction works in the first exposure time parameter, and control structure light projector 202 for controlling infrared sensor 204 The 4th operating current is worked in, by the first time for exposure and the 4th operating current, keeps the light exposure of infrared sensor default Light exposure.
Wherein, processor generates first control signal according to the first instruction, and first control signal is for controlling driving unit Generate the second driving signal, the second driving signal is used for driving structure light projector, where structured light projector to identification object Scene simulation structure light, simultaneous processor work according to the first instruction control infrared sensor, infrared sensor shooting identification pair As the first picture under project structured light, wherein the first picture is 3D rendering, and by the first picture transfer to processor, with Just processor carries out 3D processing to identification image according to the first picture.
Above structure light projector can provide structure light, line-structured light, multi-line structured light, area-structure light and other The structure light of form.Above-mentioned light compensating lamp can be washers, and washers are for providing uniform light filling.
When carrying out color image shooting using above-mentioned identification device 200, processor controls RGB working sensor, shooting Color image.There are two effects in identifying processing for color image.First effect are as follows: by the color image real-time display of shooting On the screen, similar mirror, display identification object present position make identification pair to adjust identification object's position in time As in identification range.Second effect are as follows: color image can be used for colored Object identifying.Such as: when identification object When for face, realized more complicated using the multispectral color data of face in the facial image for combining infrared sensor shooting Recognition of face, such as: carry out In vivo detection and anti-fake.
Processor also calls information in memory, such as: calibration, template, feature and the system being stored in memory Etc. information, various instructions are generated, to realize control to infrared sensor, RGB sensor, distance-sensor and structured light projector System.
Fig. 3 is the layout based on the identification device shown in embodiment illustrated in fig. 2.As shown in figure 3, light compensating lamp 205, infrared Sensor 204, RGB sensor 206, distance-sensor 201, structured light projector 202 and driving unit 203 are assembled in a collection At in mould group.Processor 207 and memory 208 can be placed on module internal, can also be placed on independent mainboard.Work as processor 207 and memory 208 be placed in independent mainboard, processor 207 is connect by communication line with integrated mould group.Wherein, light compensating lamp 205, RGB sensor 206, distance-sensor 201 are located at the surrounding of infrared sensor 204, and infrared sensor 204 and structure light are thrown There is certain distance between emitter 202.It should be noted that the present embodiment does not limit the layout side of the various pieces of identification device Formula can be adjusted according to concrete application scene.
If identification object be stronger material is scattered to light, such as: face.When illumination is mapped to identification subject surface When, the distribution of reflected light is close to Ideal Diffuse Reflection.For the camera lens that f-number specification determines, can be reached by camera lens infrared Square being inversely proportional at a distance from the light irradiance of sensor surface and camera lens to identification subject surface.That is identification object and infrared biography The distance of sensor doubles, and light-inletting quantity is reduced to original 1/4, therefore, can according to identification object and identification device away from From the light exposure for determining infrared sensor.
In identification device provided in this embodiment, the light exposure of infrared sensor, nothing can be accurately determined according to distance The image of identification object need to be clapped in advance, so that the identification device, when carrying out 2D identification, energy consumption is reduced, recognition speed is improved.Identification Device, in highly energy-consuming mode, consumes energy without long-term work when reducing 3D identification.
Fig. 4 is the structural schematic diagram for the identification device that the present invention is shown according to a further exemplary embodiment.As shown in figure 4, Identification device 300 provided in this embodiment includes: distance-sensor 301, structured light projector 302, driving unit 303, infrared Sensor 304, light compensating lamp 305, RGB sensor 306, processor 307 and memory 308.
In above-mentioned identification device 300, processor 307 is passed with distance-sensor 301, infrared sensor 304, RGB respectively Sensor 306 and memory 308 are electrically connected, and driving unit 303 is connect with structured light projector 302, and infrared sensor 304 is distinguished It is connect with light compensating lamp 305 and driving unit 303.
In the present embodiment, when shooting 2D image and color image, the working principle of identification device is implemented with shown in Fig. 2 The working principle of identification device is identical in example.
When shooting 3D rendering, the working principle of the working principle of identification device with identification device in embodiment illustrated in fig. 2 Difference is: RGB sensor generates second control signal after the instruction of reception first, according to the first command signal, and passes through SPI Or the communication interfaces such as I2C send second control signal to driving unit, control driving unit as structured light projector and provide the Two driving signal.Under the control of driving signal, scene simulation structure light where structured light projector to identification object is located simultaneously Device control infrared sensor work is managed, infrared sensor obtains the picture under project structured light, and by picture transfer to processor, So that processor calculates 3D figure.
In identification device provided in this embodiment, provided by infrared sensor control driving unit for structured light projector Driving signal can more accurately realize the synchronism of structured light projector and infrared sensor, to improve the accuracy of identification.
Fig. 5 is structural schematic diagram of the present invention according to the identification device shown in another exemplary embodiment.As shown in figure 5, Identification device 400 provided in this embodiment includes: distance-sensor 401, structured light projector 402, driving unit 403, infrared Sensor 404, light compensating lamp 405, RGB sensor 406, processor 407 and memory 408.
In above-mentioned identification device 400, processor 407 respectively with distance-sensor 401, driving unit 403, infrared sensing Device 404, RGB sensor 406 and memory 408 are electrically connected, and driving unit 403 is connect with structured light projector 402, infrared biography Sensor 404 is connect with light compensating lamp 405 and driving unit 403 respectively.
In the present embodiment, when shooting 2D image and color image, the working principle of identification device is implemented with shown in Fig. 2 The working principle of identification device is identical in example.
When shooting 3D rendering, the working principle of the working principle of identification device with identification device in embodiment illustrated in fig. 2 Difference is: processor generates third according to the first instruction and controls signal, and passes through the communication interfaces such as SPI or I2C for third Control signal is sent to driving unit, provides configuration signal, infrared sensor root to control driving unit to structured light projector It is instructed according to first and generates the 4th control signal, the 4th control signal is sent to driving list by communication interfaces such as SPI or I2C Member, control driving unit provide synchronization signal to structured light projector, so that structured light projector is in configuration signal and synchronous letter Structure light is provided under number co- controlling.Simultaneous processor controls infrared sensor work, and infrared sensor obtains project structured light Under picture, and by picture transfer to processor, so that processor calculates 3D figure.
In identification device provided in this embodiment, infrared sensor only controls driving unit and provides for structured light projector Synchronization signal, the function of generating configuration signal is transferred to processor control driving unit and generates, so that infrared sensor structure letter It is single, and improve the synchronism of structured light projector and infrared sensor.
Fig. 6 is the flow diagram of present invention recognition methods shown according to an exemplary embodiment.As shown in fig. 6, this The recognition methods that embodiment provides includes the following steps:
S501, the first distance identified between object and identification device is obtained.
More specifically, in the present embodiment using range sensor obtain identification object and identification device between first away from From.Range sensor can for based on TOF principle, ultrasonic principle, infrared light principle of induction or other modes obtain first away from From.
S502, the default light exposure that infrared sensor is determined according to first distance.
More specifically, due to identification device light intensity collected with identification device and identification the distance between object square at Inverse ratio then can obtain infrared sensor light intensity collected according to first distance.Recycle identification device light intensity collected Determine the default light exposure of identification device.
In the present embodiment, identification device includes: infrared sensor, structured light projector and light compensating lamp.It is being identified After first distance between device and identification object, following three kinds of specific embodiments can be taken to determine infrared sensor Default light exposure.The first specific embodiment are as follows: the time for exposure that infrared sensor is determined according to first distance, determined with this The default light exposure of infrared sensor.Second of specific embodiment are as follows: the operating current of light compensating lamp is determined according to first distance, Or the operating current of structured light projector is determined according to first distance, the default light exposure of infrared sensor is determined with this.The Three kinds of specific embodiments are as follows: the operating current of light compensating lamp and the time for exposure of infrared sensor are determined according to first distance, with This determines the default light exposure of infrared sensor, alternatively, determining the operating current of structured light projector and red according to first distance The time for exposure of outer sensor determines the default light exposure of infrared sensor with this.
S503, the first image shot under default light exposure is obtained.
S504, the actual exposure amount that the infrared sensor is calculated according to the first image.
More specifically, the first image of identification device shooting identification object under default light exposure, to the portion of the first image The gray value of point pixel or whole pixels is counted, and the actual exposure amount of infrared sensor is obtained according to statistical result.
S505, whether within a preset range to judge actual exposure amount, if the determination result is YES, then enter S505, otherwise, into Enter S507.
S506, identify identification object according to the first image.
More specifically, 2D identifying processing is carried out using the first image, if the first image if the first image is 2D image For 3D rendering, then 3D identifying processing is carried out using the first image.
S507, the second distance identified between object and identification device is obtained.
More specifically, obtaining face again in order to judge to identify whether the position of object and identification device changes and knowing The distance between other device, as second distance.
S508, judge whether second distance identical as first distance, if the determination result is YES, then enter S509, otherwise into Enter S510.
S509, default light exposure is adjusted according to actual exposure amount and preset range.
When the position of face and identification device does not change, actual exposure amount and the difference with preset range are obtained, For example, preset range, between 900~1000, actual exposure amount is 800, then the difference of actual exposure amount and preset range is 100~200, further according to the light exposure of difference adjustment identification device, so that the light exposure of identification device is between 900~1000.
S510, the default light exposure is determined according to second distance.
When the position for identifying object and identification device changes, the default of infrared sensor is determined according to second distance Light exposure.
It, can accurately really according to identification the distance between object and identification device in recognition methods provided in this embodiment Determine the light exposure of infrared sensor, if actual exposure amount is in default exposure range, directly identified using the first image, Without clapping image in advance, so that the identification device, when carrying out 2D processing, energy consumption is reduced, recognition speed is improved.Identification device is not necessarily to Long-term work is consumed energy when reducing 3D identification in highly energy-consuming mode.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (16)

1. a kind of identification device characterized by comprising
Distance-sensor, for measuring infrared sensor and identifying the first distance between object;
The infrared sensor, for shooting the first image of the identification object under default light exposure;
Processor, for determining the default light exposure according to the first distance, and described in being calculated according to the first image The actual exposure amount of infrared sensor, and the first image pair is utilized when the actual exposure amount belongs in preset range The identification object carries out identifying processing.
2. the apparatus according to claim 1, which is characterized in that the processor is used to generate the according to the first distance One instruction, described first instructs the time for exposure for controlling the infrared sensor, to be made by controlling the time for exposure The light exposure of the infrared sensor is the default light exposure.
3. the apparatus according to claim 1, which is characterized in that described device further include: light compensating lamp;
The light compensating lamp is connect with the infrared sensor;The processor, which is used to generate first according to the first distance, to be referred to It enables, the infrared sensor generates the first driving signal according to first instruction, and first driving signal is for controlling institute The intensity of the infrared light of light compensating lamp projection is stated, to pass through the exposure of infrared sensor described in the strength control for controlling the infrared light Amount is the default light exposure.
4. the apparatus of claim 2, which is characterized in that described device further include: light compensating lamp;
The light compensating lamp is connect with the infrared sensor;First instruction is also used to that the infrared sensor is made to generate first Driving signal, first driving signal is used to control the intensity of the infrared light of the light compensating lamp projection, by described in control The light exposure of infrared sensor described in the strength control of time for exposure and the infrared light is the default light exposure.
5. the apparatus according to claim 1, which is characterized in that described device further include: structured light projector and driving are single Member;
The structured light projector is connect with the driving unit, the second driving signal of the driving unit generation, and described second Driving signal is used to control the intensity of the structure light of the structured light projector projection, to pass through the intensity for controlling the structure light The light exposure for controlling the infrared sensor is the default light exposure.
6. the apparatus of claim 2, which is characterized in that described device further include: structured light projector and driving are single Member;
The structured light projector is connect with the driving unit, and first instruction is also used to make the driving unit to generate the Two driving signal, second driving signal is used to control the intensity of the structure light of the structured light projector projection, to pass through The light exposure that the intensity and the time for exposure for controlling the structure light control the infrared sensor is the default light exposure.
7. device according to claim 5 or 6, it is characterised in that: the processor is connect with the driving unit;
The processor generates first control signal according to the first instruction, and the driving unit is raw according to the first control signal At the second driving signal.
8. device according to claim 5 or 6, it is characterised in that: the infrared sensor is connect with the driving unit;
The infrared sensor generates second control signal according to the first instruction, and the driving unit is believed according to second control Number generate the second driving signal.
9. device according to claim 5 or 6, which is characterized in that second driving signal includes: synchronization signal and matches Confidence number;The driving unit is connect with the processor and the infrared sensor respectively;
The processor generates third according to the first instruction and controls signal, and the infrared sensor is generated according to first instruction 4th control signal, the driving unit control signal according to the third and generate the configuration signal, the driving unit root The synchronization signal is generated according to the 4th control signal.
10. device according to claim 1 or 2, which is characterized in that the first image is 2D image or 3D rendering.
11. a kind of recognition methods, which is characterized in that be applied to the identification device, the identification device includes infrared sensor And distance-sensor, which comprises
Obtain the first distance between the identification object and the infrared sensor of the distance-sensor measurement;
The default light exposure of the infrared sensor is determined according to the first distance;
Obtain the first image that the infrared sensor is shot under the default light exposure;
The actual exposure amount of the infrared sensor is calculated according to the first image;
If the actual exposure amount is within a preset range, the identification object is identified using the first image.
12. according to the method for claim 11, which is characterized in that the identification device further include: light compensating lamp, the basis The first distance determines the default light exposure of the infrared sensor, specifically includes:
The time for exposure of the infrared sensor is determined according to the first distance, and/or
Determine the operating current of the light compensating lamp, according to the first distance with the strong of the infrared light of the determination light compensating lamp projection Degree.
13. according to the method for claim 11, which is characterized in that the identification device further include: structured light projector, institute The default light exposure for determining the infrared sensor according to the first distance is stated, is specifically included:
The time for exposure of the infrared sensor is determined according to the first distance, and/or
Determine the operating current of the structured light projector, according to the first distance with the determination structured light projector projection Structure light intensity.
14. according to the method for claim 11, which is characterized in that the first image is 2D image or 3D rendering.
15. 1 to 14 described in any item methods according to claim 1, it is characterised in that:
If the actual exposure amount outside preset range, obtain the identification object of distance-sensor measurement with it is described red Second distance between outer sensor;
If the first distance is identical as the second distance, institute is adjusted according to the actual exposure amount and the preset range State default light exposure.
16. according to the method for claim 15, it is characterised in that:
If the first distance is different from the second distance, the default light exposure is determined according to the second distance.
CN201980001126.1A 2019-06-28 2019-06-28 Identification device and method Pending CN110463183A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/093870 WO2020258300A1 (en) 2019-06-28 2019-06-28 Identification apparatus and method

Publications (1)

Publication Number Publication Date
CN110463183A true CN110463183A (en) 2019-11-15

Family

ID=68492780

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201980001126.1A Pending CN110463183A (en) 2019-06-28 2019-06-28 Identification device and method

Country Status (2)

Country Link
CN (1) CN110463183A (en)
WO (1) WO2020258300A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111652099A (en) * 2020-05-25 2020-09-11 Tcl通力电子(惠州)有限公司 Gesture recognition method, device, equipment and storage medium
CN112232324A (en) * 2020-12-15 2021-01-15 杭州宇泛智能科技有限公司 Face fake-verifying method and device, computer equipment and storage medium
CN112969063A (en) * 2021-02-02 2021-06-15 烟台艾睿光电科技有限公司 Multi-lens identification system and method
EP3876144A1 (en) * 2020-03-06 2021-09-08 Giga-Byte Technology Co., Ltd. Face identification method and face identification apparatus
CN113538926A (en) * 2021-05-31 2021-10-22 浙江大华技术股份有限公司 Face snapshot method, face snapshot system and computer-readable storage medium
CN113537188A (en) * 2021-05-31 2021-10-22 浙江大华技术股份有限公司 Face snapshot method, face snapshot system and computer-readable storage medium
CN113780090A (en) * 2021-08-12 2021-12-10 荣耀终端有限公司 Data processing method and device
CN114520881A (en) * 2020-11-18 2022-05-20 成都极米科技股份有限公司 Exposure parameter adjusting method and device, computer equipment and readable storage medium
US20230094857A1 (en) * 2021-09-30 2023-03-30 Shenzhen GOODIX Technology Co., Ltd. Transmission apparatus for laser radar, laser radar apparatus and electronic device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113052155B (en) * 2021-02-03 2024-04-02 深圳赋能光达科技有限公司 Light source brightness regulator, structured light projector, identity recognition device and electronic equipment
CN117058738B (en) * 2023-08-07 2024-05-03 深圳市华谕电子科技信息有限公司 Remote face detection and recognition method and system for mobile law enforcement equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140375798A1 (en) * 2013-06-20 2014-12-25 Casio Computer Co., Ltd. Imaging apparatus and imaging method for imaging target subject and storage medium
CN104469123A (en) * 2013-09-17 2015-03-25 联想(北京)有限公司 A method for supplementing light and an image collecting device
CN105893988A (en) * 2016-05-20 2016-08-24 北京奇虎科技有限公司 Iris acquisition method and terminal thereof
US20160267319A1 (en) * 2015-03-14 2016-09-15 Oscar Enrique Murillo Facilitating Aligning A User And Camera For User Authentication
CN106022275A (en) * 2016-05-26 2016-10-12 青岛海信移动通信技术股份有限公司 Iris recognition method and apparatus, and mobile terminal
CN107181918A (en) * 2016-08-09 2017-09-19 深圳市瑞立视多媒体科技有限公司 A kind of dynamic filming control method and system for catching video camera of optics
CN107451561A (en) * 2017-07-31 2017-12-08 广东欧珀移动通信有限公司 Iris recognition light compensation method and device
CN107463877A (en) * 2017-07-05 2017-12-12 广东欧珀移动通信有限公司 Method for collecting iris, electronic installation and computer-readable recording medium
CN107770455A (en) * 2017-09-30 2018-03-06 维沃移动通信有限公司 The method of adjustment and mobile terminal of a kind of flash lamp
CN109670407A (en) * 2018-11-26 2019-04-23 维沃移动通信有限公司 A kind of face identification method and mobile terminal
CN109765565A (en) * 2017-11-10 2019-05-17 英飞凌科技股份有限公司 For handling the method and image processing equipment of the original image of time-of-flight camera

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9286509B1 (en) * 2012-10-19 2016-03-15 Google Inc. Image optimization during facial recognition
CN104349072A (en) * 2013-08-09 2015-02-11 联想(北京)有限公司 Control method, device and electronic equipment
CN108875477B (en) * 2017-08-14 2022-07-12 北京旷视科技有限公司 Exposure control method, device and system and storage medium
CN107820025B (en) * 2017-12-13 2020-07-03 北京小米移动软件有限公司 Method and device for photographing processing

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140375798A1 (en) * 2013-06-20 2014-12-25 Casio Computer Co., Ltd. Imaging apparatus and imaging method for imaging target subject and storage medium
CN104469123A (en) * 2013-09-17 2015-03-25 联想(北京)有限公司 A method for supplementing light and an image collecting device
US20160267319A1 (en) * 2015-03-14 2016-09-15 Oscar Enrique Murillo Facilitating Aligning A User And Camera For User Authentication
CN105893988A (en) * 2016-05-20 2016-08-24 北京奇虎科技有限公司 Iris acquisition method and terminal thereof
CN106022275A (en) * 2016-05-26 2016-10-12 青岛海信移动通信技术股份有限公司 Iris recognition method and apparatus, and mobile terminal
CN107181918A (en) * 2016-08-09 2017-09-19 深圳市瑞立视多媒体科技有限公司 A kind of dynamic filming control method and system for catching video camera of optics
CN107463877A (en) * 2017-07-05 2017-12-12 广东欧珀移动通信有限公司 Method for collecting iris, electronic installation and computer-readable recording medium
EP3425558A1 (en) * 2017-07-05 2019-01-09 Guangdong OPPO Mobile Telecommunications Corp., Ltd. Iris collection method and electronic device
CN107451561A (en) * 2017-07-31 2017-12-08 广东欧珀移动通信有限公司 Iris recognition light compensation method and device
CN107770455A (en) * 2017-09-30 2018-03-06 维沃移动通信有限公司 The method of adjustment and mobile terminal of a kind of flash lamp
CN109765565A (en) * 2017-11-10 2019-05-17 英飞凌科技股份有限公司 For handling the method and image processing equipment of the original image of time-of-flight camera
CN109670407A (en) * 2018-11-26 2019-04-23 维沃移动通信有限公司 A kind of face identification method and mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐志鹏: "基于嵌入式的近红外人脸识别系统设计", 《数据采集与处理》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3876144A1 (en) * 2020-03-06 2021-09-08 Giga-Byte Technology Co., Ltd. Face identification method and face identification apparatus
US11282296B2 (en) 2020-03-06 2022-03-22 Giga-Byte Technology Co., Ltd. Face identification method and face identification apparatus
CN111652099A (en) * 2020-05-25 2020-09-11 Tcl通力电子(惠州)有限公司 Gesture recognition method, device, equipment and storage medium
CN114520881A (en) * 2020-11-18 2022-05-20 成都极米科技股份有限公司 Exposure parameter adjusting method and device, computer equipment and readable storage medium
CN114520881B (en) * 2020-11-18 2023-08-18 成都极米科技股份有限公司 Exposure parameter adjustment method, device, computer equipment and readable storage medium
CN112232324A (en) * 2020-12-15 2021-01-15 杭州宇泛智能科技有限公司 Face fake-verifying method and device, computer equipment and storage medium
CN112969063A (en) * 2021-02-02 2021-06-15 烟台艾睿光电科技有限公司 Multi-lens identification system and method
CN112969063B (en) * 2021-02-02 2023-05-16 烟台艾睿光电科技有限公司 Multi-lens identification system
CN113538926B (en) * 2021-05-31 2023-01-17 浙江大华技术股份有限公司 Face snapshot method, face snapshot system and computer-readable storage medium
CN113537188A (en) * 2021-05-31 2021-10-22 浙江大华技术股份有限公司 Face snapshot method, face snapshot system and computer-readable storage medium
CN113538926A (en) * 2021-05-31 2021-10-22 浙江大华技术股份有限公司 Face snapshot method, face snapshot system and computer-readable storage medium
CN113780090A (en) * 2021-08-12 2021-12-10 荣耀终端有限公司 Data processing method and device
US20230094857A1 (en) * 2021-09-30 2023-03-30 Shenzhen GOODIX Technology Co., Ltd. Transmission apparatus for laser radar, laser radar apparatus and electronic device

Also Published As

Publication number Publication date
WO2020258300A1 (en) 2020-12-30

Similar Documents

Publication Publication Date Title
CN110463183A (en) Identification device and method
US9432593B2 (en) Target object information acquisition method and electronic device
TWI714131B (en) Control method, microprocessor, computer-readable storage medium and computer device
KR102489402B1 (en) Display apparatus and visual display method thereof
KR100673887B1 (en) Pointed position detection device and pointed position detection method
CN106101561B (en) Camera focusing detection method and device
CN102984488B (en) Optical projection system, device, transducer and electric power produce control method
US11838434B2 (en) Controlling method for electronic device and electronic device
EP2824923A1 (en) Apparatus, system and method for projecting images onto predefined portions of objects
IL269008B1 (en) Depth sensing techniques for virtual, augmented, and mixed reality systems
CN110308458B (en) Adjusting method, adjusting device, terminal and computer readable storage medium
CN106817794A (en) TOF circuit modules and its application
CN107770506B (en) Location regulation method, device and the terminal device of laser emitter
CN110491316A (en) A kind of projector and its method for controlling projection
WO2019214642A1 (en) System and method for guiding autonomous machine
KR101288030B1 (en) Hybrid 3D scanner
CN110471403A (en) The method that the machine for capableing of autonomous is guided by optical communication apparatus
CN110880161B (en) Depth image stitching and fusion method and system for multiple hosts and multiple depth cameras
CN109309825B (en) Laser animation projection device and control method
CN110072044B (en) Depth camera control method and device, terminal and readable storage medium
US20220082661A1 (en) Controlling method for electronic device, and electronic device
CN108279421A (en) Time-of-flight camera with high-resolution colour picture
US11399165B2 (en) Projection system, projection device, and projection method
US20210243416A1 (en) Projection adjustment program and projection adjustment method
CN105959647A (en) Big data image processing 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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20191115