CN110210333A - A kind of focusing iris image acquiring method and device automatically - Google Patents
A kind of focusing iris image acquiring method and device automatically Download PDFInfo
- Publication number
- CN110210333A CN110210333A CN201910405197.XA CN201910405197A CN110210333A CN 110210333 A CN110210333 A CN 110210333A CN 201910405197 A CN201910405197 A CN 201910405197A CN 110210333 A CN110210333 A CN 110210333A
- Authority
- CN
- China
- Prior art keywords
- camera
- human eye
- facial image
- angle
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 230000001815 facial effect Effects 0.000 claims abstract description 102
- 230000003287 optical effect Effects 0.000 claims abstract description 8
- 238000001514 detection method Methods 0.000 claims description 10
- 238000005516 engineering process Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 8
- 238000004422 calculation algorithm Methods 0.000 description 3
- 238000013135 deep learning Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000013527 convolutional neural network Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 238000007781 pre-processing Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000011218 segmentation Effects 0.000 description 2
- 230000003321 amplification Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000005520 electrodynamics Effects 0.000 description 1
- 210000003128 head Anatomy 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/10—Image acquisition
- G06V10/12—Details of acquisition arrangements; Constructional details thereof
- G06V10/14—Optical characteristics of the device performing the acquisition or on the illumination arrangements
- G06V10/147—Details of sensors, e.g. sensor lenses
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/22—Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/18—Eye characteristics, e.g. of the iris
- G06V40/19—Sensors therefor
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Vascular Medicine (AREA)
- Ophthalmology & Optometry (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
Abstract
The present invention relates to image acquisition technologies, more particularly to a kind of automatic focusing iris image acquiring method and device, applied to controller, controller is electrically connected with motor and camera, camera is set on carrier, motor is for driving carrier mobile, the described method includes: obtaining the first facial image of camera acquisition, angle when camera is shot the first facial image between camera primary optical axis and horizontal plane is as first angle, first facial image is handled, obtain the first position of human eye of the first facial image, according to first angle, first position of human eye and the first predeterminated position, calculate the first deflection angle, controlling the carrier drives camera to rotate the first deflection angle, the camera is finally controlled to shoot to obtain iris image, the present invention can be in camera site accurately to rainbow using a camera Film is shot, and the convenience and cost performance of iris image acquiring are improved.
Description
Technical field
The present invention relates to image acquisition technologies, and in particular to a kind of focusing iris image acquiring method and dress automatically
It sets.
Background technique
Iris recognition mainly includes Image Acquisition, image preprocessing, iris segmentation, iris feature extraction, tagsort five
The clarity of a committed step, the iris image acquired in the first step will directly affect the precision and recognition speed of iris recognition.
Therefore, the enough iris images of Quick Acquisition clarity will become most important within a certain period of time, in the prior art, usually adopt
Iris image acquiring is carried out with two or more cameras with fixed focus, however, this mode is not only troublesome in poeration, it is not convenient enough, also
Increase hardware cost, cost performance is not high.
Summary of the invention
The purpose of the present invention is to provide a kind of automatic focusing iris image acquiring method and devices, it is intended to improve iris
The convenience and cost performance of Image Acquisition.
To achieve the goals above, the present invention the following technical schemes are provided:
A kind of automatic focusing iris image acquiring method, is applied to controller, the controller and motor and camera
It is electrically connected, the camera is set on carrier, and the motor is for driving the carrier mobile, which comprises
Obtain the first facial image of the camera acquisition, camera key light when camera is shot the first facial image
Angle between axis and horizontal plane is as first angle;
First facial image is handled, the first position of human eye of first facial image is obtained;
According to the first angle, the first position of human eye and the first predeterminated position, the first deflection angle is calculated;
Controlling the carrier drives camera to rotate the first deflection angle;
The camera shooting is controlled, iris image is obtained.
Further, the carrier is also relatively set with backboard, and the backboard is equipped with the posting of mark face location,
Before the first facial image for obtaining the camera acquisition, the method also includes:
It is mobile towards the backboard direction to control carrier described in the motor driven;
The camera is controlled towards the backboard direction.
Specifically, described that first facial image is handled, obtain the first human eye of first facial image
The step of position, comprising:
First facial image is subjected to diminution processing;
Target detection is carried out to first facial image, obtains the first human eye area in first facial image;
The first centre coordinate of first human eye area is obtained, and using first centre coordinate as the first human eye position
It sets.
Specifically, the step of first centre coordinate for obtaining first human eye area, comprising:
Obtain corresponding the first all human eye coordinates of first human eye area, wherein first human eye coordinates are
Coordinate of first human eye area in first facial image;It averages to the first all human eye coordinates, obtains
One centre coordinate.
Specifically, first deflection angle is calculated by following expression:
θ=(y1-y0) α, wherein θ is the first deflection angle, y1It is the first position of human eye in first facial image
Ordinate, y0For ordinate of first predeterminated position in first facial image, α is first angle.
A kind of automatic focusing iris image acquiring device, is applied to controller, the controller and motor and camera
It is electrically connected, the camera is set on carrier, and for driving the carrier mobile, described device includes: the motor
Module is obtained, for obtaining the first facial image of the camera acquisition, camera is shot into the first face figure
As when camera primary optical axis and horizontal plane between angle as first angle;
Processing module obtains the first of first facial image for handling first facial image
Eye position;According to the first angle, the first position of human eye and the first predeterminated position, the first deflection angle is calculated;Control institute
Stating carrier drives camera to rotate the first deflection angle;
Shooting module obtains iris image for controlling the camera shooting.
Further, the carrier is also relatively set with backboard, and the backboard is equipped with the posting of mark face location,
Before the first facial image for obtaining the camera acquisition, the processing module is also used to:
It is mobile towards the backboard direction to control carrier described in the motor driven;
The camera is controlled towards the backboard direction.
Specifically, the processing module also particularly useful for:
First facial image is subjected to diminution processing;
Target detection is carried out to first facial image, obtains the first human eye area in first facial image;
The first centre coordinate of first human eye area is obtained, and using first centre coordinate as the first human eye position
It sets.
Specifically, the processing module also particularly useful for:
Obtain corresponding the first all human eye coordinates of first human eye area, wherein first human eye coordinates are
Coordinate of first human eye area in first facial image;It averages to the first all human eye coordinates, obtains
One centre coordinate.
Specifically, the processing module also particularly useful for:
First deflection angle is calculated by following expression:
θ=(y1-y0) α, wherein θ is the first deflection angle, y1It is the first position of human eye in first facial image
Ordinate, y0For ordinate of first predeterminated position in first facial image, α is first angle.
The beneficial effects of the present invention are: the present invention discloses a kind of focusing iris image acquiring method and device automatically, answer
For controller, the controller is electrically connected with motor and camera, and the camera is set on carrier, and the motor is used
In driving the carrier mobile, by obtaining the first facial image of the camera acquisition, camera is shot into the first face
Angle when image between camera primary optical axis and horizontal plane is as first angle;First facial image is handled,
Obtain the first position of human eye of first facial image;It is default according to the first angle, the first position of human eye and first
Position calculates the first deflection angle;Controlling the carrier drives camera to rotate the first deflection angle;The camera is controlled to clap
It takes the photograph, obtains iris image, the present invention accurately can shoot iris in camera site using a camera, improve
The convenience and cost performance of iris image acquiring.
Detailed description of the invention
It in order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, below will be to institute in embodiment
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the connection relationship diagram of controller of the embodiment of the present invention;
Fig. 2 is the structural schematic diagram of camera provided in an embodiment of the present invention, carrier and backboard;
Fig. 3 is a kind of flow diagram of automatic focusing iris image acquiring method of the embodiment of the present invention;
Fig. 4 be the step S100 shown in Fig. 3 before step flow chart;
Fig. 5 is the sub-step flow chart of the step S200 shown in Fig. 3;
Fig. 6 is a kind of structural schematic diagram of automatic focusing iris image acquiring device of the embodiment of the present invention.
Specific embodiment
Clear, complete description is carried out to technical solution of the present invention below in conjunction with attached drawing, it is clear that described implementation
Example is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill
Personnel are obtained without making creative work so other embodiments, belong to protection scope of the present invention.
Iris recognition mainly includes Image Acquisition, image preprocessing, iris segmentation, iris feature extraction, tagsort five
The clarity of a committed step, the iris image acquired in the first step will directly affect the precision and recognition speed of iris recognition.
Therefore, the enough iris images of Quick Acquisition clarity will become most important within a certain period of time.
When user distance camera lens is too close or too far, the iris image that iris camera collects can thicken, no
It is able to satisfy subsequent iris image coding requirement, for this purpose, user needs to be moved forward or rearward the rainbow that adjustment distance makes acquisition
Film image meets system coding requirement.In order to make iris authentication system use more convenient, more humane, more intelligent, existing rainbow
Film identifying system can arrange in pairs or groups range sensor, by with user interact (interface display, voice prompting) prompt user forward,
It moves backward, or within the scope of a certain distance, so that the camera lens of iris camera has the function of autozoom.When user away from
When closer from camera lens, zoom makes lens focus shorten, and amplification factor becomes smaller, and when user distance camera lens farther out when, then make camera lens
Focal length is elongated, and enlargement ratio becomes larger, so that the iris image of acquisition be kept to reach certain image definition, meets iris recognition
The coding requirement of system.
But, existing above-mentioned technology requires the iris camera on the eyes and identification device of user and substantially remains in together
One height.And when user is in higher position or lower position, user needs voluntarily to be adjusted according to the height of identification device
The position of oneself, for example feet or squat down, it is still more inconvenient in actual application, there is certain limitation.
In view of the above-mentioned problems, providing a kind of focusing iris image acquiring method and device automatically, passes through and adjust camera 3
Iris position is not only accurately positioned in shift position, improves the convenience of iris image acquiring;It can clapped using a camera 3
It acts as regent to set and accurately iris is shot, improve the cost performance of iris image acquiring.
In conjunction with Fig. 2, a kind of automatic focusing iris image acquiring method provided in this embodiment is applied to refering to fig. 1
Controller 1, the controller 1 are electrically connected with motor 2 and camera 3, and the camera 3 is set on carrier 4, the motor
2 for driving the carrier 4 mobile.
Controller 1 can be a kind of IC chip, have signal handling capacity, and controller 1 can be general procedure
Device, including central processing unit, network processing unit etc. can also be digital signal processor, specific integrated circuit, field-programmable
Gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components.
Camera 3 is electrically connected with controller 1, for shooting, adopting to the face of user under the control of controller 1
Facial image is simultaneously transmitted to controller 1 by collection facial image, and under the control of controller 1, is clapped the eye of user
It takes the photograph, acquire iris image and iris image is transmitted to controller 1.Camera 3 may be, but not limited to, iris camera.
Motor 2 is electrically connected with controller 1, for being moved under the control of controller 1, thus drive the carrier 4 mobile,
The camera 3 being arranged on carrier 4 also moves.Carrier 4 may be, but not limited to, what holder, gondola etc. may be rotated
Structure is not limited thereto.
Motor 2 in the present embodiment can drive the carrier 4 mobile in the direction of top to bottom, left and right, front and rear three, use
Motor 2 can control the rotation of carrier 4 also to drive the camera 3 to rotate.Motor 2 may be, but not limited to, gear and turn
Electrodynamic machine.
Based on above-mentioned controller 1, a kind of automatic focusing possible realization side of iris image acquiring method is given below
The executing subject of formula, this method can be above controller 1, referring to Fig. 3, Fig. 3 shows provided in an embodiment of the present invention one
The flow chart of the automatic focusing iris image acquiring method of kind.
It the described method comprises the following steps:
Step S100, the first facial image that the camera 3 acquires is obtained, camera 3 is shot into the first facial image
When 3 primary optical axis of camera and horizontal plane between angle as first angle.
In the present embodiment, the first facial image can be the image including face of the shooting of camera 3.Obtain camera
The step of first facial image of 3 acquisitions, it can be understood as, controller 1 sends control instruction to camera 3, to control camera shooting
First 3 shooting face, obtains the first face head portrait, the first facial image is then sent to controller 1.
In one embodiment, the angle when camera 3 shoots the first facial image can be using horizontal plane as base
Standard, angle when camera 3 is shot the first facial image between 3 primary optical axis of camera and horizontal plane is as first angle.
As further improvement of this embodiment, the carrier 4 is also relatively set with backboard 5, and the backboard 5 is equipped with mark
The posting for knowing face location, with reference to Fig. 4, before step S100, the method also includes:
Step S110, controlling the motor 2 drives the carrier 4 mobile towards 5 direction of backboard.
Step S120, the camera 3 is controlled towards 5 direction of backboard.
The present embodiment drives the carrier 4 to rotate by controlling the motor 2, to control the camera 3 towards institute
State 5 direction of backboard.
First just 3 position of successive step camera is shot again, ensure that human eye, can in the preferable coverage of camera 3
To obtain iris image high-definition.
Step S200, first facial image is handled, obtains the first human eye position of first facial image
It sets.
In embodiments of the present invention, the first position of human eye can be the position coordinates that human eye is characterized in the first facial image,
Specifically, the average coordinates that can be the corresponding all coordinates of human eye area, can also be the mean value of two eye position coordinates
Coordinate.The step of first facial image is handled, the first position of human eye of the first facial image is obtained, it can be understood as,
First facial image is inputted and carries out Face datection and Feature Points Matching in preset model, two position coordinates are obtained, by two
The position coordinates of eye are added, and then obtain the first position of human eye divided by 2 again.Preset model includes Face datection model and feature
Point Matching Model, wherein Face datection model can with right and wrong deep learning algorithm training obtain model (for example, sliding window,
Manual features and classifier), being also possible to the model obtained based on deep learning training, (several convolutional neural networks cascade back
Return), Feature Points Matching model can be that (average face model and characteristic point are retouched based on the obtained model of points distribution models algorithm training
State vector), it is also possible to the model (being cascaded by several convolutional neural networks slightly to essence) obtained based on deep learning training.
In embodiments of the present invention, the determination of position coordinates can be following manner:
Using the lower left corner of image as origin, using picture traverse direction as abscissa, using image length direction as ordinate,
Plane coordinate system is established on image;If the abscissa of any point and the value range of ordinate are [0,1] on image, then image
The abscissa value of upper any point is the point to the vertical range of ordinate and the ratio of picture traverse, the vertical seat of any point on image
Scale value is the point to the vertical range of abscissa and the ratio of image length.
With reference to Fig. 5, step S200 can also include following sub-step:
Step S210, the first facial image is subjected to diminution processing.
In embodiments of the present invention, the first facial image is subjected to the step of reducing processing, it can be understood as, using neighbouring
First facial image is carried out diminution processing by interpolation method or bilinear interpolation, to reduce subsequent image real time transfer amount.
As an implementation, when the face proportion in the first facial image is larger, to the first facial image
Carry out diminution processing.The first facial image can be detected setting two fixed position coordinates, if the first face figure
As corresponding pixel value is then recognized within the scope of a presetted pixel value in the first facial image of two fixed position coordinates
It is larger for the face proportion in the first facial image.It is customized to determine face that presetted pixel value range can be user
The pixel value in region.It specifically, can be respectively close to diagonal in the first facial image to two fixed position coordinates
(for example, upper left and bottom right or lower-left and upper right).
Step S220, target detection is carried out to first facial image, obtains first in first facial image
Human eye area.
In embodiments of the present invention, the first human eye area can be human eye corresponding region in the first eye image.It is right
The step of first facial image carries out target detection, obtains the first human eye area in first facial image, can be with
To be carried out using the algorithm of target detection based on SSD (Single-Shot-Multi-Box-Detector) to the first facial image
Region detection, obtains the first human eye area, and the first human eye area is rectangle.
In other embodiments of the invention, the target inspection based on YOLO (You-Only-Look-Once) can also be acquired
The first facial image of method of determining and calculating carries out region detection, obtains the first human eye area.
Step S230, obtain the first centre coordinate of first human eye area, and using first centre coordinate as
First position of human eye.
In embodiments of the present invention, it is corresponding in the first facial image to can be the first human eye area for the first centre coordinate
The average coordinates of all coordinates.The first centre coordinate of first human eye area is obtained, and first centre coordinate is made
The step of for the first position of human eye, it can be understood as, it is sat firstly, obtaining corresponding the first all human eye of the first human eye area
Mark, wherein the first human eye coordinates are coordinate of first human eye area in the first facial image;Then, to all the first
Eye coordinates are averaged, and the first centre coordinate, i.e. the first position of human eye are obtained.For example, the first human eye area obtained is the first
Corresponding all coordinates in face image are respectively (0.54,0.65), (0.55,0.63) and (0.5,0.68), then by first
Centre coordinate is as the first position of human eye, then the first position of human eye is (0.53,0.65).
Step S300, according to the first angle, the first position of human eye and the first predeterminated position, the first deflection angle is calculated
Degree.
In embodiments of the present invention, the first predeterminated position is the predeterminated position in all images of the first camera 3 shooting,
For example, the first predeterminated position is picture traverse 1/3, at the position of picture altitude 2/3, then the first predeterminated position is described the first
Abscissa in face image is 1/3, and ordinate of first predeterminated position in first facial image is 2/3.When the first
When eye position is equal to the first predeterminated position, it may be considered that the first position of human eye is in the first predeterminated position, without adjusting camera shooting
First 3, people's eye iris can be directly taken, iris image is obtained;When the first position of human eye is in first facial image
Ordinate when being greater than ordinate of first predeterminated position in first facial image, it may be considered that the first position of human eye
Higher than the first predeterminated position, adjusts camera 3 and upward deflect;When vertical seat of first position of human eye in first facial image
When marking less than ordinate of first predeterminated position in first facial image, it may be considered that the first position of human eye is lower than the
One predeterminated position adjusts camera 3 and deflects down.First deflection angle can be the angle that carrier 4 needs to rotate, so that camera shooting
First 3 can take people's eye iris.
It, the step of calculating the first deflection angle, can be with according to first angle, the first position of human eye and the first predeterminated position
It is interpreted as, obtains and store first angle in controller 1 in advance, it is pre- further according to first angle, the first position of human eye and first
If position calculates the first deflection angle.Specifically, if the first position of human eye is φ1(x1,y1), the first predeterminated position is φ0(x0,
y0), then the first deflection angle calculation formula is as follows:
θ=(y1-y0) α, wherein θ is the first deflection angle, and α is first angle.It is as θ < 0, then inclined upwards for carrier 4
Turn | θ |, as θ > 0, then deflected down for carrier 4 | θ |.For example, first is default when the first position of human eye is (0.53,0.65)
Ordinate of the position in first facial image is 0.67, when first angle is 10 degree, the first deflection angle=(0.65-
0.67)=- 0.2 degree of * 10 degree, then upward deflect 0.2 degree for carrier 4.
Step S400, controlling the carrier 4 drives camera 3 to rotate the first deflection angle.
Carrier 4 rotates the first deflection angle to drive the camera 3 to turn to the corresponding bat of first position of human eye
It acts as regent and sets.
In embodiments of the present invention, 1 control vector 4 of controller rotates the first deflection angle, and camera 3 is set to carrier 4
On, according to above-mentioned reasoning, camera 3 is just able to rotate camera site corresponding to the first position of human eye.
Step S500, it controls the camera 3 to shoot, obtains iris image.
In embodiments of the present invention, carrier 4 is subjected to the fine tuning of the first deflection angle to drive camera 3 to turn to first
After the corresponding camera site of position of human eye, control camera 3 is shot in camera site, and specifically, controller 1 sends control
System instruction controls camera 3 and shoots in camera site to human eye, obtain iris image to camera 3.
Compared with prior art, the embodiment of the present invention has the advantage that
Accurately iris can be shot in camera site using a camera 3, improve iris image acquiring
Convenience and cost performance.
A kind of possible implementation of automatic focusing iris image acquiring device is given below, the automatic focusing rainbow
Film image acquisition device can be realized using the controller 1 in above-described embodiment and the structure or component that are connected electrically.Please
The block diagram of automatic focusing iris image acquiring device provided in an embodiment of the present invention is shown refering to Fig. 6, Fig. 6.Rainbow
Film image acquisition device includes obtaining module 100, processing module 200 and shooting module 300.
Module 100 is obtained, the first facial image acquired for obtaining the camera 3 shoots camera 3 the first
Angle when face image between 3 primary optical axis of camera and horizontal plane is as first angle;
Processing module 200 obtains the first of first facial image for handling first facial image
Position of human eye;According to the first angle, the first position of human eye and the first predeterminated position, the first deflection angle is calculated;Control
The carrier 4 drives camera 3 to rotate the first deflection angle;
Shooting module 300 shoots for controlling the camera 3, obtains iris image.
In embodiments of the present invention, the carrier 4 is also relatively set with backboard 5, and the backboard 5 is equipped with mark face position
The posting set, before obtaining the first facial image that the camera 3 acquires, the processing module 200 is also used to:
Controlling the motor 2 drives the carrier 4 mobile towards 5 direction of backboard;
The camera 3 is controlled towards 5 direction of backboard.
Specifically, the processing module 200 also particularly useful for:
First facial image is subjected to diminution processing;
Target detection is carried out to first facial image, obtains the first human eye area in first facial image;
The first centre coordinate of first human eye area is obtained, and using first centre coordinate as the first human eye position
It sets.
Specifically, the processing module 200 also particularly useful for:
Obtain corresponding the first all human eye coordinates of first human eye area, wherein first human eye coordinates are
Coordinate of first human eye area in first facial image;It averages to the first all human eye coordinates, obtains
One centre coordinate.
Specifically, the processing module 200 also particularly useful for:
First deflection angle is calculated by following expression:
θ=(y1-y0) α, wherein θ is the first deflection angle, y1It is the first position of human eye in first facial image
Ordinate, y0For ordinate of first predeterminated position in first facial image, α is first angle.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through
Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing
Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product,
Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code
Part, a part of the module, section or code, which includes that one or more is for implementing the specified logical function, to be held
Row instruction.It should also be noted that function marked in the box can also be to be different from some implementations as replacement
The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes
It can execute in the opposite order, this depends on the function involved.It is also noted that every in block diagram and or flow chart
The combination of box in a box and block diagram and or flow chart can use the dedicated base for executing defined function or movement
It realizes, or can realize using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation together
Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only-Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random-Access-Memory), magnetic or disk.It needs
Illustrate, herein, relational terms such as first and second and the like be used merely to by an entity or operation with
Another entity or operation distinguish, and without necessarily requiring or implying between these entities or operation, there are any this realities
The relationship or sequence on border.Moreover, the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability
Contain, so that the process, method, article or equipment for including a series of elements not only includes those elements, but also including
Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device.
In the absence of more restrictions, the element limited by sentence " including ... ", it is not excluded that in the mistake including the element
There is also other identical elements in journey, method, article or equipment.
The series of detailed descriptions listed above only for feasible embodiment of the invention specifically
Protection scope bright, that they are not intended to limit the invention, it is all without departing from equivalent implementations made by technical spirit of the present invention
Or change should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of automatic focusing iris image acquiring method, which is characterized in that be applied to controller, the controller and motor
It is electrically connected with camera, the camera is set on carrier, and the motor is for driving the carrier mobile, the method
Include:
The first facial image for obtaining camera acquisition, when camera is shot the first facial image camera primary optical axis with
Angle between horizontal plane is as first angle;
First facial image is handled, the first position of human eye of first facial image is obtained;
According to the first angle, the first position of human eye and the first predeterminated position, the first deflection angle is calculated;
Controlling the carrier drives camera to rotate the first deflection angle;
The camera shooting is controlled, iris image is obtained.
2. a kind of automatic focusing iris image acquiring method according to claim 1, which is characterized in that the carrier is also
It is relatively set with backboard, the backboard is equipped with the posting of mark face location, is obtaining the first of the camera acquisition
Before facial image, the method also includes:
It is mobile towards the backboard direction to control carrier described in the motor driven;
The camera is controlled towards the backboard direction.
3. a kind of automatic focusing iris image acquiring method according to claim 1, which is characterized in that described to described
The step of first facial image is handled, and the first position of human eye of first facial image is obtained, comprising:
First facial image is subjected to diminution processing;
Target detection is carried out to first facial image, obtains the first human eye area in first facial image;
The first centre coordinate of first human eye area is obtained, and using first centre coordinate as the first position of human eye.
4. a kind of automatic focusing iris image acquiring method according to claim 3, which is characterized in that the acquisition institute
The step of stating the first centre coordinate of the first human eye area, comprising:
Obtain corresponding the first all human eye coordinates of first human eye area, wherein first human eye coordinates are described
Coordinate of first human eye area in first facial image;It averages, is obtained in first to the first all human eye coordinates
Heart coordinate.
5. a kind of automatic focusing iris image acquiring method according to claim 1, which is characterized in that described first partially
Gyration is calculated by following expression:
θ=(y1-y0) α, wherein θ is the first deflection angle, y1It is the first position of human eye vertical in first facial image
Coordinate, y0For ordinate of first predeterminated position in first facial image, α is first angle.
6. a kind of automatic focusing iris image acquiring device, which is characterized in that be applied to controller, the controller and motor
It is electrically connected with camera, the camera is set on carrier, and the motor is for driving the carrier mobile, described device
Include:
Module is obtained, for obtaining the first facial image of the camera acquisition, when camera is shot the first facial image
Angle between camera primary optical axis and horizontal plane is as first angle;
Processing module obtains the first human eye position of first facial image for handling first facial image
It sets;According to the first angle, the first position of human eye and the first predeterminated position, the first deflection angle is calculated;Control the load
Body drives camera to rotate the first deflection angle;
Shooting module obtains iris image for controlling the camera shooting.
7. a kind of automatic focusing iris image acquiring device according to claim 6, which is characterized in that the carrier is also
It is relatively set with backboard, the backboard is equipped with the posting of mark face location, is obtaining the first of the camera acquisition
Before facial image, the processing module is also used to:
It is mobile towards the backboard direction to control carrier described in the motor driven;
The camera is controlled towards the backboard direction.
8. a kind of automatic focusing iris image acquiring device according to claim 6, which is characterized in that the processing mould
Block also particularly useful for:
First facial image is subjected to diminution processing;
Target detection is carried out to first facial image, obtains the first human eye area in first facial image;
The first centre coordinate of first human eye area is obtained, and using first centre coordinate as the first position of human eye.
9. a kind of automatic focusing iris image acquiring device according to claim 8, which is characterized in that the processing mould
Block also particularly useful for:
Obtain corresponding the first all human eye coordinates of first human eye area, wherein first human eye coordinates are described
Coordinate of first human eye area in first facial image;It averages, is obtained in first to the first all human eye coordinates
Heart coordinate.
10. a kind of automatic focusing iris image acquiring device according to claim 6, which is characterized in that the processing
Module also particularly useful for:
First deflection angle is calculated by following expression:
θ=(y1-y0) α, wherein θ is the first deflection angle, y1It is the first position of human eye vertical in first facial image
Coordinate, y0For ordinate of first predeterminated position in first facial image, α is first angle.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910405197.XA CN110210333A (en) | 2019-05-16 | 2019-05-16 | A kind of focusing iris image acquiring method and device automatically |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910405197.XA CN110210333A (en) | 2019-05-16 | 2019-05-16 | A kind of focusing iris image acquiring method and device automatically |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110210333A true CN110210333A (en) | 2019-09-06 |
Family
ID=67787337
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910405197.XA Pending CN110210333A (en) | 2019-05-16 | 2019-05-16 | A kind of focusing iris image acquiring method and device automatically |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110210333A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110781787A (en) * | 2019-10-18 | 2020-02-11 | 武汉虹识技术有限公司 | Iris recognition device and method capable of automatically adjusting angle |
CN111428654A (en) * | 2020-03-27 | 2020-07-17 | 北京万里红科技股份有限公司 | Iris identification method, device and storage medium |
CN112272267A (en) * | 2020-10-22 | 2021-01-26 | Oppo广东移动通信有限公司 | Shooting control method, shooting control device and electronic equipment |
CN112764523A (en) * | 2019-10-21 | 2021-05-07 | 北京眼神科技有限公司 | Man-machine interaction method and device based on iris recognition and electronic equipment |
CN113283271A (en) * | 2020-02-20 | 2021-08-20 | 深圳爱酷智能科技有限公司 | Iris automatic capturing method, iris automatic capturing device, computer readable storage medium and computer readable storage equipment |
CN113780034A (en) * | 2020-06-09 | 2021-12-10 | 上海聚虹光电科技有限公司 | Eye focus tracking method based on iris recognition |
CN115567664A (en) * | 2022-10-13 | 2023-01-03 | 长沙观谱红外科技有限公司 | Infrared imaging robot |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007189717A (en) * | 2007-02-13 | 2007-07-26 | Konica Minolta Holdings Inc | Photographing apparatus, and photographing method |
US20090091633A1 (en) * | 2007-10-05 | 2009-04-09 | Masaya Tamaru | Image-taking method and apparatus |
CN102708357A (en) * | 2012-04-12 | 2012-10-03 | 北京释码大华科技有限公司 | Single-image sensor based double-eye iris recognition equipment |
CN102855476A (en) * | 2011-06-27 | 2013-01-02 | 王晓鹏 | Self-adaptive binocular iris synchronous collection system of single image sensor |
CN107767325A (en) * | 2017-09-12 | 2018-03-06 | 深圳市朗形网络科技有限公司 | Method for processing video frequency and device |
CN109376729A (en) * | 2018-12-28 | 2019-02-22 | 武汉虹识技术有限公司 | Iris image acquiring method and device |
-
2019
- 2019-05-16 CN CN201910405197.XA patent/CN110210333A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007189717A (en) * | 2007-02-13 | 2007-07-26 | Konica Minolta Holdings Inc | Photographing apparatus, and photographing method |
US20090091633A1 (en) * | 2007-10-05 | 2009-04-09 | Masaya Tamaru | Image-taking method and apparatus |
CN102855476A (en) * | 2011-06-27 | 2013-01-02 | 王晓鹏 | Self-adaptive binocular iris synchronous collection system of single image sensor |
CN102708357A (en) * | 2012-04-12 | 2012-10-03 | 北京释码大华科技有限公司 | Single-image sensor based double-eye iris recognition equipment |
CN107767325A (en) * | 2017-09-12 | 2018-03-06 | 深圳市朗形网络科技有限公司 | Method for processing video frequency and device |
CN109376729A (en) * | 2018-12-28 | 2019-02-22 | 武汉虹识技术有限公司 | Iris image acquiring method and device |
Non-Patent Citations (1)
Title |
---|
陶磊 等: "自动调焦虹膜图像采集系统设计", 《生命科学仪器》 * |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110781787A (en) * | 2019-10-18 | 2020-02-11 | 武汉虹识技术有限公司 | Iris recognition device and method capable of automatically adjusting angle |
CN112764523A (en) * | 2019-10-21 | 2021-05-07 | 北京眼神科技有限公司 | Man-machine interaction method and device based on iris recognition and electronic equipment |
CN112764523B (en) * | 2019-10-21 | 2022-11-18 | 北京眼神科技有限公司 | Man-machine interaction method and device based on iris recognition and electronic equipment |
CN113283271A (en) * | 2020-02-20 | 2021-08-20 | 深圳爱酷智能科技有限公司 | Iris automatic capturing method, iris automatic capturing device, computer readable storage medium and computer readable storage equipment |
WO2021164678A1 (en) * | 2020-02-20 | 2021-08-26 | 深圳爱酷智能科技有限公司 | Automatic iris capturing method and apparatus, computer-readable storage medium, and computer device |
EP4095744A4 (en) * | 2020-02-20 | 2024-02-21 | Eyecool Shenzen Technology Co., Ltd. | Automatic iris capturing method and apparatus, computer-readable storage medium, and computer device |
CN111428654A (en) * | 2020-03-27 | 2020-07-17 | 北京万里红科技股份有限公司 | Iris identification method, device and storage medium |
CN111428654B (en) * | 2020-03-27 | 2023-11-28 | 北京万里红科技有限公司 | Iris recognition method, iris recognition device and storage medium |
CN113780034A (en) * | 2020-06-09 | 2021-12-10 | 上海聚虹光电科技有限公司 | Eye focus tracking method based on iris recognition |
CN112272267A (en) * | 2020-10-22 | 2021-01-26 | Oppo广东移动通信有限公司 | Shooting control method, shooting control device and electronic equipment |
CN115567664A (en) * | 2022-10-13 | 2023-01-03 | 长沙观谱红外科技有限公司 | Infrared imaging robot |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110210333A (en) | A kind of focusing iris image acquiring method and device automatically | |
CN110738142B (en) | Method, system and storage medium for adaptively improving face image acquisition | |
CN109714519B (en) | Method and system for automatically adjusting image frame | |
CN108076278B (en) | Automatic focusing method and device and electronic equipment | |
US8055016B2 (en) | Apparatus and method for normalizing face image used for detecting drowsy driving | |
WO2018153149A1 (en) | Automatic focusing method and apparatus based on region of interest | |
CN109376729A (en) | Iris image acquiring method and device | |
CN103929596A (en) | Method and device for guiding shooting picture composition | |
US20080278516A1 (en) | System and method for adjusting perceived eye rotation in image of face | |
CN109981972B (en) | Target tracking method of robot, robot and storage medium | |
CN105430268B (en) | A kind of automatic focus approach and device | |
CN104102068A (en) | Automatic focusing method and automatic focusing device | |
JP4706197B2 (en) | Object determining apparatus and imaging apparatus | |
WO2021204211A1 (en) | Method and apparatus for acquiring facial image and iris image, readable storage medium, and device | |
CN109451240B (en) | Focusing method, focusing device, computer equipment and readable storage medium | |
CN106713740A (en) | Positioning tracking camera shooting method and system | |
CN109120854A (en) | Image processing method, device, electronic equipment and storage medium | |
CN107948510A (en) | The method, apparatus and storage medium of Focussing | |
CN108021926A (en) | A kind of vehicle scratch detection method and system based on panoramic looking-around system | |
CN106791353B (en) | The methods, devices and systems of auto-focusing | |
CN110505398A (en) | A kind of image processing method, device, electronic equipment and storage medium | |
CN113838150B (en) | Moving target three-dimensional track tracking method based on electrohydraulic adjustable focus lens | |
CN114363522A (en) | Photographing method and related device | |
KR101094648B1 (en) | Auto Photograph Robot for Taking a Composed Picture and Method Thereof | |
CN106375651A (en) | Focusing method and device, and image acquisition equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190906 |
|
RJ01 | Rejection of invention patent application after publication |