CN104268456B - A kind of method and device authenticated by image - Google Patents
A kind of method and device authenticated by image Download PDFInfo
- Publication number
- CN104268456B CN104268456B CN201410500146.2A CN201410500146A CN104268456B CN 104268456 B CN104268456 B CN 104268456B CN 201410500146 A CN201410500146 A CN 201410500146A CN 104268456 B CN104268456 B CN 104268456B
- Authority
- CN
- China
- Prior art keywords
- images
- cameras
- preparatory condition
- image
- terminal
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/36—User authentication by graphic or iconic representation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Studio Devices (AREA)
- Lock And Its Accessories (AREA)
Abstract
The present invention provides a kind of method and device authenticated by image, to solve the presence of the problem of terminal unlocking mode security is relatively low in the prior art.Wherein, the method authenticated by image includes:Two cameras of control terminal are shot respectively, obtain two images;Judge whether two images meet preparatory condition;In the case where two images meet preparatory condition, it is determined that authenticating successfully, scheduled operation is performed, the program improves the security authenticated by camera.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of method and device authenticated by image.
Background technology
At present, with the continuous popularization of intelligent terminal, intelligent terminal turns into device indispensable during people live, intelligence
Terminal is generally just locked to save power supply in the regular hour, user when needing to use terminal, it is necessary to be unlocked,
Unblock operation is generally required to take multiple steps, and comprising power key is pressed, the operation specified by touching screen is solved
Lock is, it is necessary to the operation that performs of user is complex, therefore, at present also exists and a kind of terminal to be entered by way of image recognition
Row decryption, i.e. when the image got is consistent with the image prestored in advance, is that terminal performs unblock operation, however, this unblock
Mode is relatively easy to be acquired due to unblock image, so there is the problem of security is low.
The content of the invention
The present invention provides a kind of method and device authenticated by image, to solve the presence of terminal in the prior art
The problem of unlocking manner security is relatively low.
According to an aspect of the invention, there is provided the method authenticated by image, including:Two of control terminal
Camera is shot respectively, obtains two images;Judge whether two images meet preparatory condition;Meet pre- in two images
If in the case of condition, it is determined that authenticating successfully, performing scheduled operation.
Wherein, judge whether two images meet preparatory condition and include:Judge two images getting whether respectively with
Reference picture corresponding with the two cameras matching pre-set;If, it is determined that two images meet preparatory condition, no
Then, determine that two images are unsatisfactory for preparatory condition.
Wherein, two cameras are located at the same side of terminal, judge whether two images meet preparatory condition bag
Include:Judge two images whether respectively with pre-setting two reference pictures corresponding with two cameras
Match somebody with somebody;In the case where two images are matched with two reference pictures pre-set respectively, according to the focal length of two images, calculate
Go out the distance between corresponding material object of two images;Judge the distance between corresponding material object of two images whether be it is default away from
From in the range of;If, it is determined that two images meet preparatory condition, if not, it is determined that two images are unsatisfactory for preparatory condition.
Wherein, the object captured by two cameras includes:Fingerprint or eyes, the content and camera of preset reference image
The object correspondence of shooting.
Wherein, scheduled operation includes:The unblock operation of terminal or the application interface for entering setting.
According to another aspect of the present invention there is provided a kind of device authenticated by image, including:Obtain mould
Block, two cameras for control terminal are shot respectively, obtain two images;Judge module, for judging two figures
Seem no to meet preparatory condition;Performing module, in the case of meeting preparatory condition in two images, it is determined that authenticate successfully,
Perform scheduled operation.
Wherein, judge module is specifically included:First judging unit, for judge two images getting whether respectively with
Reference picture corresponding with the two cameras matching pre-set;First determining unit, for the judgement knot in judging unit
Fruit is when being, to determine that two images meet preparatory condition, otherwise, it determines two images are unsatisfactory for preparatory condition.
Wherein, two cameras are located at the same side of terminal, and judge module is specifically included:Second judging unit, judges two
Whether individual image matches with pre-setting two reference pictures corresponding with two cameras respectively;Computing unit, for
In the case that two images are matched with two reference pictures pre-set respectively, according to the focal length of two images, two are calculated
The distance between corresponding material object of individual image;3rd judging unit, for judging the distance between corresponding material object of two images
Whether in the range of pre-determined distance;Second determining unit, for when the judged result of the second judging unit is to be, determining two
Image meets preparatory condition, otherwise, it determines two images are unsatisfactory for preparatory condition.
Wherein, the object captured by two cameras includes:Fingerprint or eyes, the content and camera of preset reference image
The object correspondence of shooting.
Wherein, scheduled operation includes:The unblock operation of terminal or the application interface for entering setting.
The embodiment of the present invention, the image shot by two cameras of terminal carries out contrast with pre-set image and reflected
Power, improves the security authenticated by camera.
Brief description of the drawings
Fig. 1 is the flow chart of the method authenticated by image of the embodiment of the present invention;
Fig. 2 is the flow chart of the method authenticated preferably through image of the embodiment of the present invention;
Fig. 3 is the structured flowchart of the device authenticated by image of the embodiment of the present invention.
Embodiment
Further to illustrate the present invention to reach the technological means and effect that predetermined purpose is taken, below in conjunction with accompanying drawing
And preferred embodiment, the present invention is described in detail as after.
Fig. 1 is the flow chart of the method authenticated by image of the embodiment of the present invention.As shown in figure 1, this method bag
Include following steps:
Step 101:Two cameras of control terminal are shot respectively, obtain two images;
Step 102:Judge whether two images meet preparatory condition;
In this step, judge whether two images meet preparatory condition and can specifically include:Judge two got
Whether image matches with pre-setting reference picture corresponding with two cameras respectively;If, it is determined that two images are expired
Sufficient preparatory condition, otherwise, it determines two images are unsatisfactory for preparatory condition.That is, judge successively the image that photographs whether with shooting
Reference picture matching corresponding to the camera of the image.Moreover, it is judged that the image photographed whether with corresponding reference picture
Matching needs to carry out image recognition to the image photographed, will get the texture progress pair of the texture and reference picture of image
Than to judge whether two images belong to same object.
Wherein, two cameras of terminal are located at the same side of terminal, based on this, judge whether two images meet default
Condition can also be realized according to following processing:
Judge whether two images match with pre-setting two reference pictures corresponding with two cameras respectively;
In the case that two images are matched with two reference pictures pre-set respectively, according in the prior art according to two cameras it
Between distance and two images focal length, calculate the distance between corresponding material object of two images;Judge two images pair
Whether the distance between material object answered is in the range of pre-determined distance;If, it is determined that two images meet preparatory condition, if it is not,
Then determine that two images are unsatisfactory for preparatory condition.
Step 103:In the case where two images meet preparatory condition, it is determined that authenticating successfully, scheduled operation is performed.
Wherein, the object captured by two cameras includes:Fingerprint or eyes, preset reference image are shot with camera
Image correspondence, it is necessary to explanation, fingerprint or eyes recited herein is only a preferred mode of the embodiment of the present invention,
Object captured by two cameras can be two with the fixed range object or scene being arbitrarily designated.
Wherein, scheduled operation is specifically as follows:The unblock operation of terminal or the application interface for entering setting, wherein, setting
Application interface be application interface corresponding with the image that camera is photographed, can be with for example, after the image of fingerprint is photographed
The interface of a certain application-specific is directly entered, the operation for automatically beginning to application is realized.
Fig. 2 is the flow chart of the method authenticated preferably through image of the embodiment of the present invention.As shown in Fig. 2 should
Method comprises the following steps:
Step 201:Reference picture is gathered, the characteristic parameter of reference picture, and the corresponding reality of two reference pictures is obtained
The distance parameter of thing;
Step 202:Judge whether the first camera collects qualified object picture, if it is, performing step
203, if not, terminating flow;
Step 203:Judge whether second camera collects qualified object picture, if it is, performing step
204, if not, terminating flow;
Step 204:Calculate the corresponding distance in kind of photo of two cameras shooting;
Step 205:Judge whether the corresponding distance in kind of photo that two cameras are shot meets pre-determined distance, if
It is to perform step 206, if not, terminating flow.
The object for authentication is the finger of user below, and the operation of authentication successful execution is that unblock operation is
Example, focusing image pickup method multiple to dual camera provided in an embodiment of the present invention is briefly described.
First, two specified fingers are placed on before two cameras of terminal by user, and two cameras of terminal are carried out
Shoot, get a finger for showing user in two images, the two images respectively, camera calls image recognition mould
Block, picture recognition module obtains the fingerprint texture feature of user in two pictures, with gather and preserve in advance two of user
The textural characteristics of fingerprint are contrasted respectively, if comparing result shows, the fingerprint in two images is same with preset fingerprint
One fingerprint, then calculate two fingers of the user for authentication according to the focal length of the distance of the camera of terminal two and two images
Between actual range, by obtained distance values with advance gather or preserve distance values compared with, it is assumed that default two
The distance between finger scope is that, more than or equal to 5 centimetres, terminal calculates when obtained distance is more than or equal to 5 (such as 6 lis
Rice), authenticate successfully, calculate obtained distance and be less than 5 centimetres (such as 3 centimetres), then failed authentication.In the case of authentication is successful,
In the case of notifying that terminal performs unblock operation, failed authentication, any operation is not performed.
Fig. 3 is the structured flowchart of the device authenticated by image of the embodiment of the present invention.As shown in figure 3, the device
30 include consisting of part:
Acquisition module 31, two cameras for control terminal are shot respectively, obtain two images;
Judge module 32, for judging whether two images meet preparatory condition;
Performing module 33, in the case of meeting preparatory condition in two images, it is determined that authenticating successfully, performs predetermined behaviour
Make.
Wherein, judge module is specifically included:First judging unit, for judge two images getting whether respectively with
Reference picture corresponding with the two cameras matching pre-set;First determining unit, for the judgement knot in judging unit
Fruit is when being, to determine that two images meet preparatory condition, otherwise, it determines two images are unsatisfactory for preparatory condition.
Wherein, two cameras are located at the same side of terminal, and judge module is specifically included:Second judging unit, judges two
Whether individual image matches with pre-setting two reference pictures corresponding with two cameras respectively;Computing unit, for
In the case that two images are matched with two reference pictures pre-set respectively, according to the focal length of two images, two are calculated
The distance between corresponding material object of individual image;3rd judging unit, for judging the distance between corresponding material object of two images
Whether in the range of pre-determined distance;Second determining unit, for when the judged result of the second judging unit is to be, determining two
Image meets preparatory condition, otherwise, it determines two images are unsatisfactory for preparatory condition.
Wherein, the object captured by two cameras includes:Fingerprint or eyes, preset reference image are shot with camera
Image correspondence.
Wherein, scheduled operation is:The unblock operation of terminal or the application interface for entering setting.
The embodiment of the present invention, the image shot by two cameras of terminal carries out contrast with pre-set image and reflected
Power, improves the security authenticated by camera.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if the present invention these modification and modification belong to the claims in the present invention and
Within the scope of its equivalent technologies, then the present invention is also intended to comprising including these changes and modification.
Claims (8)
1. a kind of method authenticated by image, it is characterised in that including:
Two cameras of control terminal are shot respectively, obtain two images;
Judge whether described two images meet preparatory condition;It is described to judge whether described two images meet preparatory condition bag
Include:
Judge whether described two images match with pre-setting reference picture corresponding with two cameras respectively, in matching
In the case of, according to the focal length of described two images, calculate the distance between corresponding material object of described two images;
The distance between corresponding material object of described two images is judged whether in the range of pre-determined distance, if, it is determined that it is described
Two images meet preparatory condition, if not, it is determined that described two images are unsatisfactory for preparatory condition;
In the case where described two images meet preparatory condition, it is determined that authenticating successfully, scheduled operation is performed.
2. the method as described in claim 1, it is characterised in that described two cameras are located at the same side of terminal.
3. method as claimed in claim 2, it is characterised in that the object captured by described two cameras includes:Fingerprint or
Eyes, content and the camera of the preset reference image shoot to as corresponding.
4. the method as described in claim 1, it is characterised in that the scheduled operation includes:
The unblock operation of terminal or the application interface for entering setting.
5. a kind of device authenticated by image, it is characterised in that including:
Acquisition module, two cameras for control terminal are shot respectively, obtain two images;
Judge module, for judging whether described two images meet preparatory condition;
Performing module, in the case of meeting preparatory condition in described two images, it is determined that authenticating successfully, performs predetermined behaviour
Make;
The judge module is specifically included:
Second judging unit, judge described two images whether respectively with pre-set it is corresponding with reference to figure with two cameras
As matching;
Computing unit, in the event of a match, according to the focal length of described two images, calculates described two image correspondences
The distance between material object;
3rd judging unit, for judging the distance between corresponding material object of described two images whether in pre-determined distance scope
It is interior;
Second determining unit, for when the judged result of second judging unit is to be, determining that described two images are met
Preparatory condition, otherwise, it determines described two images are unsatisfactory for preparatory condition.
6. device as claimed in claim 5, it is characterised in that described two cameras are located at the same side of terminal.
7. device as claimed in claim 6, it is characterised in that the object captured by described two cameras includes:Fingerprint or
Eyes, the content of the preset reference image is corresponding with the object that the camera is shot.
8. device as claimed in claim 5, it is characterised in that the scheduled operation includes:The unblock operation of terminal enters
The application interface of setting.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410500146.2A CN104268456B (en) | 2014-09-26 | 2014-09-26 | A kind of method and device authenticated by image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410500146.2A CN104268456B (en) | 2014-09-26 | 2014-09-26 | A kind of method and device authenticated by image |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104268456A CN104268456A (en) | 2015-01-07 |
CN104268456B true CN104268456B (en) | 2017-07-14 |
Family
ID=52159977
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410500146.2A Active CN104268456B (en) | 2014-09-26 | 2014-09-26 | A kind of method and device authenticated by image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104268456B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107315935B (en) * | 2016-04-27 | 2022-03-25 | 中兴通讯股份有限公司 | Multi-fingerprint identification method and device |
CN106529263A (en) * | 2016-10-14 | 2017-03-22 | 深圳市金立通信设备有限公司 | Terminal unlocking method and terminal |
CN107729735A (en) * | 2017-10-20 | 2018-02-23 | 北京小米移动软件有限公司 | Unlocked by fingerprint method, apparatus, electronic equipment and computer-readable recording medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102693430A (en) * | 2012-05-16 | 2012-09-26 | 惠州Tcl移动通信有限公司 | Image-based unlocking method for mobile terminal and mobile terminal |
CN103019561A (en) * | 2012-11-28 | 2013-04-03 | 广东欧珀移动通信有限公司 | Unlocking method and device based on double cameras |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7660444B2 (en) * | 2000-02-24 | 2010-02-09 | Nokia Corporation | Method and apparatus for user recognition using CCD cameras |
-
2014
- 2014-09-26 CN CN201410500146.2A patent/CN104268456B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102693430A (en) * | 2012-05-16 | 2012-09-26 | 惠州Tcl移动通信有限公司 | Image-based unlocking method for mobile terminal and mobile terminal |
CN103019561A (en) * | 2012-11-28 | 2013-04-03 | 广东欧珀移动通信有限公司 | Unlocking method and device based on double cameras |
Also Published As
Publication number | Publication date |
---|---|
CN104268456A (en) | 2015-01-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112887269B (en) | Electronic device and method for controlling access thereto | |
US10452894B2 (en) | Systems and method for facial verification | |
CN105653922B (en) | Biometric authentication method and electronic device | |
KR20190038594A (en) | Face recognition-based authentication | |
US10437972B2 (en) | Image exposure method for mobile terminal based on eyeprint recognition and image exposure system | |
WO2017031812A1 (en) | Fingerprint verification method, fingerprint verification device, and terminal | |
CN109460697B (en) | Auxiliary filtering device for face recognition and starting method of electronic device | |
CN111225157B (en) | Focus tracking method and related equipment | |
US10282532B2 (en) | Secure storage of fingerprint related elements | |
US11678180B2 (en) | Iris recognition workflow | |
CN104102906B (en) | A kind of data processing method and equipment applied to iris authentication system | |
CN104268456B (en) | A kind of method and device authenticated by image | |
CN106210330A (en) | A kind of image processing method and terminal | |
JP2017191374A (en) | Organism determination device, terminal apparatus, control method of organism determination device, and control program | |
CN110969570B (en) | Method and device for processing image | |
CN110731076A (en) | Shooting processing method and device and storage medium | |
CN206595991U (en) | A kind of double-camera mobile terminal | |
CN108363939B (en) | Characteristic image acquisition method and device and user authentication method | |
CN108769636B (en) | Projection method and device and electronic equipment | |
CN107039019B (en) | A kind of method and display terminal of the adjustment of display terminal display brightness | |
CN108846321B (en) | Method and device for identifying human face prosthesis and electronic equipment | |
CN109948377A (en) | Display control method, device and electronic equipment | |
CN110969067A (en) | User registration and authentication method and device | |
CN106547337A (en) | Using the photographic method of gesture, system and electronic installation | |
CN112417998A (en) | Method and device for acquiring living body face image, medium and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |