CN108090471A - Processing method of taking pictures, mobile terminal and storage medium based on iris - Google Patents

Processing method of taking pictures, mobile terminal and storage medium based on iris Download PDF

Info

Publication number
CN108090471A
CN108090471A CN201810024906.5A CN201810024906A CN108090471A CN 108090471 A CN108090471 A CN 108090471A CN 201810024906 A CN201810024906 A CN 201810024906A CN 108090471 A CN108090471 A CN 108090471A
Authority
CN
China
Prior art keywords
iris
feature
taking pictures
face
present 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
CN201810024906.5A
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.)
Shanghai Spreadrise Technologies Co Ltd
Original Assignee
Shanghai Spreadrise Technologies 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 Shanghai Spreadrise Technologies Co Ltd filed Critical Shanghai Spreadrise Technologies Co Ltd
Priority to CN201810024906.5A priority Critical patent/CN108090471A/en
Publication of CN108090471A publication Critical patent/CN108090471A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/18Eye characteristics, e.g. of the iris
    • G06V40/19Sensors therefor
    • 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/18Eye characteristics, e.g. of the iris
    • G06V40/193Preprocessing; Feature extraction

Landscapes

  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Ophthalmology & Optometry (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Telephone Function (AREA)
  • Collating Specific Patterns (AREA)
  • Eye Examination Apparatus (AREA)

Abstract

The invention discloses a kind of processing method of taking pictures, mobile terminal and storage medium based on iris, the described method includes:Mobile terminal obtains present image by front camera, and extracts face information from the present image;It determines the face quantity in the face information, when the face quantity is default quantity, judges that the face information whether there is eye feature;In the face information, there are iris sensor during eye feature, is called to realize iris feature scanning;When the iris sensor is scanned to iris feature, present image is gathered by the front camera.The present invention is detected in real time by the way that iris technology is combined with face recognition technology, to face information, and effective photo can not be taken so as to avoid closing one's eyes when taking pictures.

Description

Processing method of taking pictures, mobile terminal and storage medium based on iris
Technical field
The present invention relates to field of mobile terminals more particularly to a kind of processing method of taking pictures based on iris, mobile terminal and Storage medium.
Background technology
Present face identification functions have tended to ripe, the multiple light courcess face recognition technology based on active near-infrared image, The influence that light can be overcome to change has been achieved for remarkable recognition performance, the entirety in terms of precision, stability and speed System performance is more than 3-D view recognition of face.
Iris recognition technology is mainly used in industry, and today, iris technology progressively moved towards mobile phone, LG, the more the father-in-law of three magnitudes The technical issues of iris technology is applied to handset processes security by multiple products of department.
The content of the invention
It is a primary object of the present invention to propose that a kind of processing method of taking pictures based on iris, mobile terminal and storage are situated between Matter, it is intended to the technical issues of solving situation about closing one's eyes occur due to user so as to which effective photo can not be taken in the prior art.
To achieve the above object, the present invention provides a kind of processing method of taking pictures based on iris, the bat based on iris Comprise the following steps according to processing method:
Mobile terminal obtains present image by front camera, and extracts face information from the present image;
It determines the face quantity in the face information, when the face quantity is default quantity, judges the face Information whether there is eye feature;
In the face information, there are iris sensor during eye feature, is called to realize iris feature scanning;
When the iris sensor is scanned to iris feature, present image is gathered by the front camera.
Preferably, it is described when the iris sensor is scanned to iris feature, worked as by front camera acquisition After preceding image, the method further includes:
The iris dimensions in the iris feature are detected in real time, when the iris dimensions reach pre-set dimension, stop adopting Collect present image, and the image of acquisition is preserved.
Preferably, the iris dimensions detected in real time in the iris feature reach default ruler in the iris dimensions When very little, stop acquisition present image and preserve the image of acquisition, specifically include:
The iris dimensions in the iris feature are detected in real time, when the iris dimensions reach pre-set dimension, stop adopting Collection present image simultaneously screens the image of acquisition, and the image after screening is preserved.
Preferably, the mobile terminal includes active near-infrared face imaging device;
The iris dimensions detected in real time in the iris feature when the iris dimensions reach pre-set dimension, are stopped Present image is only gathered, and before the image of acquisition is preserved, the method further includes:
Active near-infrared face imaging device is called to obtain current eyeball size in real time, by the current eyeball size and rainbow Film size carries out that pre-set dimension is calculated.
Preferably, it is described when the iris sensor is scanned to iris feature, worked as by front camera acquisition After preceding image, the method further includes:
The face information is detected by the active near-infrared face imaging device in real time and whether there is eye feature, The face information is not there are during eye feature, and stopping gathers present image, and shows corresponding prompt message.
Preferably, it is described when the iris sensor is scanned to iris feature, worked as by front camera acquisition Preceding image, specifically includes:
When the iris sensor is scanned to iris feature, determine collecting quantity, institute is passed through according to the collecting quantity State front camera acquisition present image.
Preferably, it is described when the iris sensor is scanned to iris feature, collecting quantity is determined, according to the acquisition Quantity gathers present image by the front camera, specifically includes:
When detection collecting quantity reaches default amount threshold, the default amount threshold is adjusted, and is continued to execute according to institute It states collecting quantity and present image is gathered by the front camera.
Preferably, the mobile terminal obtains present image by front camera, and is extracted from the present image After face information, the method further includes:
The face quantity in the face information is extracted, when the face quantity is multiple, calls the preposition camera shooting Head acquisition present image.
In addition, to achieve the above object, the present invention also proposes a kind of mobile terminal, and the mobile terminal includes:Memory, Processor and the processing routine of taking pictures based on iris that is stored on the memory and can run on the processor, it is described Processing routine of taking pictures based on iris be arranged for carrying out as described above based on iris take pictures processing method the step of.
In addition, to achieve the above object, the present invention also proposes a kind of storage medium, is stored with and is based on the storage medium The processing routine of taking pictures of iris realizes base as described above when the processing routine of taking pictures based on iris is executed by processor In iris take pictures processing method the step of.
Through the above scheme, mobile terminal obtains present image to the present embodiment by front camera, and from described current Face information is extracted in image;It determines the face quantity in the face information, when the face quantity is default quantity, sentences The face information of breaking whether there is eye feature;In the face information, there are during eye feature, call iris sensor real Existing iris feature scanning;When the iris sensor is scanned to iris feature, current figure is gathered by the front camera Picture.The present invention is detected in real time by the way that iris technology is combined with face recognition technology, to face information, so as to avoid clapping It closes one's eyes when taking and effective picture can not be taken.
Description of the drawings
Fig. 1 is the mobile terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of the processing method first embodiment of taking pictures the present invention is based on iris;
Fig. 3 is the effect diagram of the processing method collective beating photograph of taking pictures the present invention is based on iris;
Fig. 4 is the flow diagram of the processing method second embodiment of taking pictures the present invention is based on iris;
Fig. 5 is the flow diagram of the processing method 3rd embodiment of taking pictures the present invention is based on iris;
Fig. 6, which is that the present invention is based on the processing methods of taking pictures of iris, to take pictures flow diagram;
Fig. 7 is the flow diagram of the processing method fourth embodiment of taking pictures the present invention is based on iris;
Fig. 8 is the flow diagram of the 5th embodiment of processing method of taking pictures the present invention is based on iris;
Fig. 9 is the flow diagram of the processing method sixth embodiment of taking pictures the present invention is based on iris.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
With reference to Fig. 1, Fig. 1 is the mobile terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
As shown in Figure 1, the mobile terminal can include:Processor 1001, such as CPU, communication bus 1002, user interface 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is used to implement the connection communication between these components. User interface 1003 can include display screen (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 can optionally connect including the wired of standard Mouth, wireless interface (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or the memory of stabilization (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.
It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 1 does not form the limit to mobile terminal It is fixed, it can include either combining some components or different components arrangement than illustrating more or fewer components.
As shown in Figure 1, as in a kind of memory 1005 of storage medium can include operating system, network communication mould Block, Subscriber Interface Module SIM and the processing routine of taking pictures based on iris.
In mobile terminal shown in Fig. 1, network interface 1004 is mainly used for connecting internet, and data are carried out with internet Communication;User interface 1003 is mainly used for connecting other-end, with other-end into row data communication;The mobile terminal passes through Processor 1001 calls the processing routine of taking pictures based on iris stored in memory 1005, and performs following operation:
Present image is obtained by front camera, and face information is extracted from the present image;
It determines the face quantity in the face information, when the face quantity is default quantity, judges the face Information whether there is eye feature;
In the face information, there are iris sensor during eye feature, is called to realize iris feature scanning;
When the iris sensor is scanned to iris feature, present image is gathered by the front camera.
Further, processor 1001 can call the processing routine of taking pictures based on iris stored in memory 1005, Also perform following operation:
The iris dimensions in the iris feature are detected in real time, when the iris dimensions reach pre-set dimension, stop adopting Collect present image, and the image of acquisition is preserved.
Further, processor 1001 can call the processing routine of taking pictures based on iris stored in memory 1005, Also perform following operation:
The iris dimensions in the iris feature are detected in real time, when the iris dimensions reach pre-set dimension, stop adopting Collection present image simultaneously screens the image of acquisition, and the image after screening is preserved.
Further, processor 1001 can call the processing routine of taking pictures based on iris stored in memory 1005, Also perform following operation:
Active near-infrared face imaging device is called to obtain current eyeball size in real time, by the current eyeball size and rainbow Film size carries out that pre-set dimension is calculated.
Further, processor 1001 can call the processing routine of taking pictures based on iris stored in memory 1005, Also perform following operation:
The face information is detected by the active near-infrared face imaging device in real time and whether there is eye feature, The face information is not there are during eye feature, and stopping gathers present image, and shows corresponding prompt message.
Further, processor 1001 can call the processing routine of taking pictures based on iris stored in memory 1005, Also perform following operation:
When the iris sensor is scanned to iris feature, determine collecting quantity, institute is passed through according to the collecting quantity State front camera acquisition present image.
Further, processor 1001 can call the processing routine of taking pictures based on iris stored in memory 1005, Also perform following operation:
When detection collecting quantity reaches default amount threshold, the default amount threshold is adjusted, and is continued to execute according to institute It states collecting quantity and present image is gathered by the front camera.
Further, processor 1001 can call the processing routine of taking pictures based on iris stored in memory 1005, Also perform following operation:
The face quantity in the face information is extracted, when the face quantity is multiple, calls the preposition camera shooting Head acquisition present image.
Through the above scheme, mobile terminal obtains present image to the present embodiment by front camera, and from described current Face information is extracted in image;It determines the face quantity in the face information, when the face quantity is default quantity, sentences The face information of breaking whether there is eye feature;In the face information, there are during eye feature, call iris sensor real Existing iris feature scanning;When the iris sensor is scanned to iris feature, current figure is gathered by the front camera Picture.The present invention is detected in real time by the way that iris technology is combined with face recognition technology, to face information, so as to avoid clapping It closes one's eyes when taking and effective picture can not be taken.
Based on above-mentioned hardware configuration, the processing method embodiment of taking pictures the present invention is based on iris is proposed.
With reference to Fig. 2, Fig. 2 is the flow diagram of the processing method first embodiment of taking pictures the present invention is based on iris.
In the first embodiment, the processing method of taking pictures based on iris comprises the following steps:
Step S10, mobile terminal obtains present image by front camera, and extracts face from the present image Information;
It should be noted that the mobile terminal can be the mobile communications devices such as the mobile phone with camera function, IPAD, also It can be that photographing devices, the present embodiment such as camera are not restricted this, be illustrated in the present embodiment by taking mobile phone as an example.
In the concrete realization, mobile phone can also be with active infrared face imaging device, pass through the active infrared face Imaging device can scan the face information shown in mobile phone photograph view-finder, may include eyes, nose by the face information Son and face etc. can be also some subtle facial expression informations, and active user can be got in real time by the face information Overall condition, so as to adjust corresponding shooting state according to the situation of user.
Step S20 determines the face quantity in the face information, when the face quantity is default quantity, judges The face information whether there is eye feature;
Before being taken pictures, the face quantity currently taken pictures in view-finder can be counted, in the face number During according to more than default quantity, then explanation is currently shone for collective beating, in this case, without starting iris sensor, due to right For group picture, it can not carry out opening by iris sensor sensing iris feature and take pictures, because in group picture, possible portion Personnel is divided to be in the state closed one's eyes, some of the staff are in the state opened eyes, and in such a scenario, iris sensor can not be sentenced It is disconnected.
Therefore, in actually taking pictures, the face quantity of current shooting is judged, is imaged by active near-infrared face Equipment recognizes face quantity, when the quantity of face is single, just extracts the eye feature of face information, and is extracting During to eye feature, start snapshots when starting iris sensor scanning iris feature, and passing through scanning to iris feature.
In the present embodiment by extracting the face quantity in the face information, when the face quantity is single, The eye feature in the face information is extracted, when extracting eye feature, passes through the active infrared face imaging device Collocation face information is obtained, when it is multiple to get face information, does not then start iris sensor scanning iris feature, due to For multiple users, then explanation is currently to clap group picture, and in the case where clapping group picture, the iris sensor is sensing rainbow During film feature, you can start shooting snapshots, be in eyes optimum state if there is partly clapping personnel, have in some of the staff and close The situation of eye, then the effect for taking pictures out be not still it is especially desirable, therefore, it is first determined whether in collective's exposal model, If during in collective's exposal model, do not start iris sensor, directly open snapshots.
In the concrete realization, predeterminable quantity of taking pictures in preset time, carries out quick continuous shooting, so as to grab most Good expression information, and pass through active infrared face imaging device and detect face information in real time, when detecting the feature of eye closing, Stopping is taken pictures, and carries out relevant prompt message, and the photo of shooting is stored in default storage region, and user is facilitated to carry out It checks.
The effect diagram that collective beating as shown in Figure 3 shines, it is automatic quick mostly according to several when detecting that collective beating shines, And when detecting the situation of eye closing, message notifying frame is shown.Message notifying can be to have detected eye closing, automatic camera N, Automatic camera file is stored in, the N is the quantity of actual automatic camera.
It should be noted that the default quantity is single, i.e., explanation is being taken pictures for single user, is being detected When, in order to further improve the accuracy taken pictures, in view-finder using recognition of face, identification face account for the area of view-finder compared with It when big, closely takes pictures, then whether is closed one's eyes using face identification functions when illustrating.
It is understood that the eye feature in the face information, inspection are extracted by active infrared face imaging device Whether survey extracts eye feature, when extracting eye feature, illustrates to be not in closed-eye state, on the contrary, not extracting eye During eyeball feature, illustrate in closed-eye state.When extracting eye feature, start iris sensor scanning iris feature, sweeping When retouching iris feature, start snapshots, so as to which iris sensor application in mobile phone photograph, be sensed by the iris Device obtain in iris feature when, as open snapshots trigger condition,
In the concrete realization, face information is obtained by active infrared face imaging device, and detects facial letter in real time Breath when detecting that eyes are not in closed-eye state, starts iris sensor scanning iris feature, so as to by the active infrared Face imaging device is combined use with iris sensor, prevents from occurring closing one's eyes during taking pictures and takes invalid photograph Piece.
Step S30, in the face information, there are iris sensor during eye feature, is called to realize iris feature scanning;
It should be noted that there are during eye feature, illustrate user in the current situation in patent for the face information In the case of eye, so as to which by the way that iris sensor is called to carry out the scanning of iris feature, in the present embodiment, iris is sensed During device is used in mobile phone photograph, takes pictures using in user in the case of eye opening, iris feature can be collected rapidly, So as to the speed taken pictures accelerated, the image information of user can be collected within the shortest time, and in the short period of time may be used The optimal effect of taking pictures of user is grabbed, so as to improve user experience.
When the iris sensor is scanned to iris feature, current figure is gathered by the front camera by step S40 Picture.
Mobile terminal obtains present image by front camera in the present embodiment, and is extracted from the present image Face information;It determines the face quantity in the face information, when the face quantity is default quantity, judges the face Information whether there is eye feature;In the face information there are during eye feature, iris sensor is called to realize iris feature Scanning;When the iris sensor is scanned to iris feature, present image is gathered by the front camera.The present invention is logical Cross and combined iris technology with face recognition technology, face information is detected in real time, so as to avoid when taking pictures close one's eyes and Effective photo can not be taken.
Further, as shown in figure 4, proposing the processing method second of taking pictures the present invention is based on iris based on first embodiment Embodiment, in the present embodiment, after the step S40, the method further includes:
Step S50 detects the iris dimensions in the iris feature in real time, reaches pre-set dimension in the iris dimensions When, stop acquisition present image, and the image of acquisition is preserved;
It should be noted that in the present embodiment, the iris sensor can also be used to detect the iris in iris feature Size, under normal circumstances, under conditions of different light intensities, the degree of reflection of eyes is also different, correspondingly, in eyes The size of the iris at middle part can also have difference, be detected by institute's iris dimensions, when size reaches pre-set dimension, that is, reached During to optimal eyeball size, then start stopping and take pictures, illustrate to have detected that optimal shooting effect, and by optimal use The state at family is shot.
It is understood that default storage region will be stored in for the photo of shooting after stopping taking pictures, and can lead to The mode for crossing prompting shows user, such as gives tacit consent to and photo is stored in the file taken pictures, but since storage address can It can change, in the case where the memory of storage region has been expired, storage region is switched in extended area by system automatically, this In the case of, user can not get current storage address, and therefore, the file that the photo of current shooting stores is opened up Show, user can directly get the storage location of photo preservation according to displaying information, so as to which user be facilitated to carry out looking into for photo It sees, improves user experience.
It detects the iris dimensions in the iris feature in real time in the present embodiment, reaches default ruler in the iris dimensions When very little, stop acquisition present image, and the image of acquisition is preserved, thus the optimum state by collecting user, After the optimum state for grabbing user, stop taking pictures, and improve user experience.
Further, as shown in figure 5, proposing the processing method the 3rd of taking pictures the present invention is based on iris based on second embodiment Embodiment, in the present embodiment, after the step S10, the method further includes:
Step S101 extracts the face quantity in the face information, when the face quantity is multiple, described in calling Front camera gathers present image.
When carrying out recognition of face using active near-infrared face imaging device, the face number in the face information is extracted Amount when the face quantity is multiple, illustrates to shine for collective beating, in this case, directly initiates snapshots.
Flow diagram of taking pictures as shown in Figure 6, view-finder detected whether as group picture, be for group picture when, directly Automatic snapshots when not being group picture, when situation about closing one's eyes occurs in user, prompt user to close one's eyes, in detection eyes Start automatic snapshots when opening, and stop taking pictures when detecting that eyes open most suitable size, and prompt to use Family photo storage location.
Further, step S50 is specifically included:
Step S502 detects the iris dimensions in the iris feature in real time, reaches pre-set dimension in the iris dimensions When, stop acquisition present image and screen the image of acquisition, and the image after screening is preserved.
The present embodiment extracts the face quantity in the face information using active near-infrared face imaging device, described When face quantity is multiple, snapshots are directly initiated, thus when clapping group picture, directly by starting shooting snapshots automatically, And the photo of shooting can be screened, the photo of photo or repetition for failure can be deleted directly, and photo is being preserved It pre-processes before, so as to ensure to shoot the quality of photo, improves user experience.
Further, as shown in fig. 7, proposing the processing method the 4th of taking pictures the present invention is based on iris based on second embodiment Embodiment, in the present embodiment, the mobile terminal include active near-infrared face imaging device, before the step S50, institute The method of stating further includes:
Step S501 calls active near-infrared face imaging device to obtain current eyeball size in real time, by the current eye Ball size with iris dimensions carries out that pre-set dimension is calculated.
In the concrete realization, the iris dimensions in the iris feature can be detected by iris sensor, and pass through master Dynamic near-infrared face imaging device obtains current eyeball size in real time, and two-way is carried out according to the eyeball size and iris dimensions It is right, so as to can determine optimal pre-set dimension, so as to which optimal effect can be shot according to the pre-set dimension.
It is opened it should be noted that being examined using iris technology detection, the automatic snapshots since opening one, to detection When reaching the most suitable degree taken pictures to eyeball size, stop taking pictures, i.e., described pre-set dimension is opened for eyes to suitable Program so as to be combined by iris sensor with active near-infrared face imaging device, is in optimal so as to get eyeball It beats shooting state to take pictures, avoids taking pictures in the case of eye closing.
In the present embodiment by detecting the iris dimensions in the iris feature in real time, and start active near-infrared face Imaging device obtains current eyeball size in real time, and the current eyeball size and iris dimensions are carried out that default ruler is calculated It is very little, be combined by iris sensor with active near-infrared face imaging device, so as to get eyeball be in most preferably play shooting State is taken pictures, and avoids taking pictures in the case of eye closing.
Further, as shown in figure 8, proposing the processing method the 5th of taking pictures the present invention is based on iris based on fourth embodiment Embodiment, in the present embodiment, after the step S40, the described method includes:
Step S401 detects the face information with the presence or absence of eye in real time by the active near-infrared face imaging device Eyeball feature is that there are during eye feature, stop acquisition present image, and the corresponding prompting letter of displaying in the face information Breath.
It should be noted that in the single shooting process shone, if there is the addition of other staff, then iris sensor It can stop taking pictures, and carry out corresponding message notifying, such as the iris information of user can not be got etc., can also be that other are corresponding Prompting message,
It is understood that before optimal shooting effect is got, user is likely to occur the situation of eye closing, this In the case of, system should stop shooting rather than wait until that user occurs just stopping shooting when optimal effect, that is, pass through Active near-infrared face imaging device obtains eye feature in real time, when not extracting eye feature, illustrates that user closes one's eyes Situation, in order to reach optimal shooting effect, in this case, closing is taken pictures, and shows corresponding prompt message, such as There is eye closing situation etc. in prompting user, and user is reminded to stop situation about taking pictures.
Eye feature is obtained by the active near-infrared face imaging device in real time in the present embodiment, is not being extracted During eye feature, closing is taken pictures, and shows corresponding prompt message, so as to detect user occur situation about closing one's eyes stop clap It takes the photograph rather than unanimously in shooting state, so as to improve quality of taking pictures.
Further, as shown in figure 9, based on first embodiment, second embodiment, 3rd embodiment, fourth embodiment and 5th embodiment proposes the processing method sixth embodiment of taking pictures the present invention is based on iris, in the present embodiment, real based on first It applies example to illustrate, the step S40 is specifically included:
Step S402 when the iris sensor is scanned to iris feature, determines collecting quantity, according to the acquisition number Amount gathers present image by the front camera.
It should be noted that can determine quantity of taking pictures first when starting snapshots and being taken pictures, taken pictures according to described Quantity is taken pictures, such as selects 16 continuous shootings or 32 continuous shootings etc., can also accordingly be set according to user demand, mobile phone or Person's correlation photographing device get take pictures quantity when, shot accordingly according to the quantity of taking pictures.
Further, the step S402, specifically includes:
Step S403 when detection collecting quantity reaches default amount threshold, adjusts the default amount threshold, and continues to hold Row gathers present image according to the collecting quantity by the front camera.
In the concrete realization, mobile phone or capture apparatus are when being shot, and in order to get optimal shooting photo, lead to It crosses active near-infrared face imaging device and obtains eye feature in real time, during so as to according to the optimal suitable procedure of eyeball, then stop It takes pictures, but before stopping taking pictures, the shooting quantity set by possible user has reached default amount threshold, in order not to shadow Shooting is rung, then system can readjust default amount threshold, continue to take pictures by the default amount threshold, without stopping Reset of taking pictures is taken pictures quantity, such as quantity set by user of taking pictures is 32, when reaching 31, there are no detection eyes Optimal appropriate level, in this case, can by described 32 adjustment at 48, take pictures so as to continue to complete.
It is understood that in order to ensure the quantity of taking pictures of system, reach one it is maximum take pictures quantity when, if also Optimal program of suitably taking pictures is not detected, then no longer the threshold value for shooting quantity is preset in adjustment, so as to ensure the normal of system Operation.
In the present embodiment, by taking pictures, quantity is handled, and so as to adapt to the shooting demand of user, improves user experience.
In addition, the embodiment of the present invention also proposes a kind of storage medium, the bat based on iris is stored on the storage medium Following operation is realized according to processing routine, when the processing routine of taking pictures based on iris is executed by processor:
Mobile terminal obtains present image by front camera, and extracts face information from the present image;
It determines the face quantity in the face information, when the face quantity is default quantity, judges the face Information whether there is eye feature;
In the face information, there are iris sensor during eye feature, is called to realize iris feature scanning;
When the iris sensor is scanned to iris feature, present image is gathered by the front camera.
Further, following operation is also realized when the processing routine of taking pictures based on iris is executed by processor:
The iris dimensions in the iris feature are detected in real time, when the iris dimensions reach pre-set dimension, stop adopting Collect present image, and the image of acquisition is preserved.
Further, following operation is also realized when the processing routine of taking pictures based on iris is executed by processor:
The iris dimensions in the iris feature are detected in real time, when the iris dimensions reach pre-set dimension, stop adopting Collection present image simultaneously screens the image of acquisition, and the image after screening is preserved.
Further, following operation is also realized when the processing routine of taking pictures based on iris is executed by processor:
Active near-infrared face imaging device is called to obtain current eyeball size in real time, by the current eyeball size and rainbow Film size carries out that pre-set dimension is calculated.
Further, following operation is also realized when the processing routine of taking pictures based on iris is executed by processor:
The face information is detected by the active near-infrared face imaging device in real time and whether there is eye feature, The face information is not there are during eye feature, and stopping gathers present image, and shows corresponding prompt message.
Further, following operation is also realized when the processing routine of taking pictures based on iris is executed by processor:
When the iris sensor is scanned to iris feature, determine collecting quantity, institute is passed through according to the collecting quantity State front camera acquisition present image.
Further, following operation is also realized when the processing routine of taking pictures based on iris is executed by processor:
When detection collecting quantity reaches default amount threshold, the default amount threshold is adjusted, and is continued to execute according to institute It states collecting quantity and present image is gathered by the front camera.
Further, following operation is also realized when the processing routine of taking pictures based on iris is executed by processor:
The face quantity in the face information is extracted, when the face quantity is multiple, calls the preposition camera shooting Head acquisition present image.
Through the above scheme, mobile terminal obtains present image to the present embodiment by front camera, and from described current Face information is extracted in image;It determines the face quantity in the face information, when the face quantity is default quantity, sentences The face information of breaking whether there is eye feature;In the face information, there are during eye feature, call iris sensor real Existing iris feature scanning;When the iris sensor is scanned to iris feature, current figure is gathered by the front camera Picture.The present invention is detected in real time by the way that iris technology is combined with face recognition technology, to face information, so as to avoid clapping It closes one's eyes when taking and effective picture can not be taken.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made directly or indirectly is used in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of processing method of taking pictures based on iris, which is characterized in that it is described based on iris take pictures processing method include with Lower step:
Mobile terminal obtains present image by front camera, and extracts face information from the present image;
It determines the face quantity in the face information, when the face quantity is default quantity, judges the face information With the presence or absence of eye feature;
In the face information, there are iris sensor during eye feature, is called to realize iris feature scanning;
When the iris sensor is scanned to iris feature, present image is gathered by the front camera.
2. the processing method of taking pictures based on iris as described in claim 1, which is characterized in that described in the iris sensor When scanning iris feature, after gathering present image by the front camera, the method further includes:
The iris dimensions in the iris feature are detected in real time, when the iris dimensions reach pre-set dimension, are stopped acquisition and are worked as Preceding image, and the image of acquisition is preserved.
3. the processing method of taking pictures based on iris as claimed in claim 2, which is characterized in that described to detect the iris in real time Iris dimensions in feature when the iris dimensions reach pre-set dimension, stop acquisition present image and by the image of acquisition It is preserved, is specifically included:
The iris dimensions in the iris feature are detected in real time, when the iris dimensions reach pre-set dimension, are stopped acquisition and are worked as Preceding image simultaneously screens the image of acquisition, and the image after screening is preserved.
4. the processing method of taking pictures based on iris as claimed in claim 3, which is characterized in that the mobile terminal is included actively Near-infrared face imaging device;
The iris dimensions detected in real time in the iris feature when the iris dimensions reach pre-set dimension, stop adopting Collect present image, and before the image of acquisition is preserved, the method further includes:
Active near-infrared face imaging device is called to obtain current eyeball size in real time, by the current eyeball size and iris ruler Pre-set dimension is calculated in little progress row.
5. the processing method of taking pictures based on iris as claimed in claim 4, which is characterized in that described in the iris sensor When scanning iris feature, after gathering present image by the front camera, the method further includes:
The face information is detected with the presence or absence of eye feature by the active near-infrared face imaging device in real time, described Face information is not there are during eye feature, and stopping gathers present image, and shows corresponding prompt message.
6. the processing method of taking pictures based on iris as any one of claim 1 to 5, which is characterized in that described in institute When stating the scanning of iris sensor to iris feature, present image is gathered by the front camera, is specifically included:
When the iris sensor is scanned to iris feature, collecting quantity is determined, according to the collecting quantity by before described Put camera acquisition present image.
7. the processing method of taking pictures based on iris as claimed in claim 6, which is characterized in that described in the iris sensor When scanning iris feature, collecting quantity is determined, present image is gathered by the front camera according to the collecting quantity, It specifically includes:
When detection collecting quantity reaches default amount threshold, the default amount threshold is adjusted, and continues to execute and is adopted according to Collect quantity and present image is gathered by the front camera.
8. the processing method of taking pictures based on iris as any one of claim 1 to 5, which is characterized in that the movement Terminal obtains present image by front camera, and from the present image after extraction face information, the method is also Including:
The face quantity in the face information is extracted, when the face quantity is multiple, the front camera is called to adopt Collect present image.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes:Memory, processor and it is stored in the storage On device and the processing routine of taking pictures based on iris that can run on the processor, the processing routine of taking pictures based on iris Be arranged for carrying out as it is described in any item of the claim 1 to 8 based on iris take pictures processing method the step of.
10. a kind of storage medium, which is characterized in that the processing routine of taking pictures based on iris, institute are stored on the storage medium It states and is realized when the processing routine of taking pictures based on iris is executed by processor as described in any item of the claim 1 to 8 based on rainbow Film take pictures processing method the step of.
CN201810024906.5A 2018-01-10 2018-01-10 Processing method of taking pictures, mobile terminal and storage medium based on iris Pending CN108090471A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810024906.5A CN108090471A (en) 2018-01-10 2018-01-10 Processing method of taking pictures, mobile terminal and storage medium based on iris

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810024906.5A CN108090471A (en) 2018-01-10 2018-01-10 Processing method of taking pictures, mobile terminal and storage medium based on iris

Publications (1)

Publication Number Publication Date
CN108090471A true CN108090471A (en) 2018-05-29

Family

ID=62181974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810024906.5A Pending CN108090471A (en) 2018-01-10 2018-01-10 Processing method of taking pictures, mobile terminal and storage medium based on iris

Country Status (1)

Country Link
CN (1) CN108090471A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110191283A (en) * 2019-06-03 2019-08-30 成都品果科技有限公司 A kind of Intelligent photographing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005227933A (en) * 2004-02-12 2005-08-25 Oki Electric Ind Co Ltd Biometrics collation speed-increasing method
CN103257877A (en) * 2013-05-06 2013-08-21 苏州三星电子电脑有限公司 Automatic sleep control system of display device and control method thereof
CN105550671A (en) * 2016-01-28 2016-05-04 北京麦芯科技有限公司 Face recognition method and device
CN105578025A (en) * 2015-05-28 2016-05-11 东莞酷派软件技术有限公司 Photographing method and photographing terminal
CN105979141A (en) * 2016-06-03 2016-09-28 北京奇虎科技有限公司 Image shooting method, device and mobile terminal
CN106657759A (en) * 2016-09-27 2017-05-10 奇酷互联网络科技(深圳)有限公司 Anti-eye closing photographing method and anti-eye closing photographing device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005227933A (en) * 2004-02-12 2005-08-25 Oki Electric Ind Co Ltd Biometrics collation speed-increasing method
CN103257877A (en) * 2013-05-06 2013-08-21 苏州三星电子电脑有限公司 Automatic sleep control system of display device and control method thereof
CN105578025A (en) * 2015-05-28 2016-05-11 东莞酷派软件技术有限公司 Photographing method and photographing terminal
CN105550671A (en) * 2016-01-28 2016-05-04 北京麦芯科技有限公司 Face recognition method and device
CN105979141A (en) * 2016-06-03 2016-09-28 北京奇虎科技有限公司 Image shooting method, device and mobile terminal
CN106657759A (en) * 2016-09-27 2017-05-10 奇酷互联网络科技(深圳)有限公司 Anti-eye closing photographing method and anti-eye closing photographing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110191283A (en) * 2019-06-03 2019-08-30 成都品果科技有限公司 A kind of Intelligent photographing method and device

Similar Documents

Publication Publication Date Title
CN105022981B (en) A kind of method, device and mobile terminal detecting human eye health state
JP4196714B2 (en) Digital camera
KR100522514B1 (en) Apparatus for Photographing a Face Image and Method Therefor
CN103428428B (en) Image capturing device and image catching method
KR100784332B1 (en) Apparatus and method for photographing a business card in portable terminal
US20130100270A1 (en) Image processing apparatus and control method for same
CN108419012A (en) Photographic method, device, storage medium and electronic equipment
TW201038063A (en) Digital camera and image capturing method
CN109002786A (en) Method for detecting human face, equipment and computer readable storage medium
CN106375855A (en) Household intelligent equipment dormancy method
WO2017088360A1 (en) Method and device for powering off terminal
CN107273862A (en) A kind of automatic grasp shoot method, monitoring device and computer-readable recording medium
CN103369248A (en) Method for photographing allowing closed eyes to be opened
CN108462827A (en) A kind of method and device obtaining image data
CN108090471A (en) Processing method of taking pictures, mobile terminal and storage medium based on iris
CN109986553A (en) A kind of robot, system, method and the storage device of active interaction
CN105578025B (en) A kind of photographic method and photo terminal
JP2011234015A (en) Terminal device
US10154196B2 (en) Adjusting length of living images
CN108307108B (en) Photographing control method and mobile terminal
JP2009175745A (en) Face image photographing device and face image photographing method
CN111160299A (en) Living body identification method and device
JP2005045601A (en) Image photographing apparatus and program
WO2018196615A1 (en) Photographing control method and apparatus
CN102655565B (en) Anti-red-eye portrait shooting system and method

Legal Events

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

Application publication date: 20180529