CN107508965B - Image acquisition method and related product - Google Patents

Image acquisition method and related product Download PDF

Info

Publication number
CN107508965B
CN107508965B CN201710595714.5A CN201710595714A CN107508965B CN 107508965 B CN107508965 B CN 107508965B CN 201710595714 A CN201710595714 A CN 201710595714A CN 107508965 B CN107508965 B CN 107508965B
Authority
CN
China
Prior art keywords
image
biological image
biological
mobile terminal
preset information
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
Application number
CN201710595714.5A
Other languages
Chinese (zh)
Other versions
CN107508965A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710595714.5A priority Critical patent/CN107508965B/en
Publication of CN107508965A publication Critical patent/CN107508965A/en
Application granted granted Critical
Publication of CN107508965B publication Critical patent/CN107508965B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0267Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components
    • H04W52/027Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components by controlling a display operation or backlight unit
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Ophthalmology & Optometry (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses an image acquisition method and a related product, comprising the following steps: acquiring preset information; adjusting the brightness of the display screen according to the preset information; the first biological image is acquired through a biological image acquisition device. The embodiment of the invention is beneficial to saving the hardware cost of the mobile terminal and reducing the power consumption of the mobile terminal.

Description

Image acquisition method and related product
Technical Field
The invention relates to the technical field of mobile terminals, in particular to an image acquisition method and a related product.
Background
With the popularization and application of smart phones in a large number, smart phones can support more and more applications and have more and more powerful functions, and smart phones develop towards diversification and individuation and become indispensable electronic products in user life.
At present, a smart phone mostly adopts a biological information unlocking scheme, such as fingerprint unlocking, face unlocking, iris unlocking and the like, wherein the requirements of iris unlocking and face unlocking on the ambient light intensity are high, and the smart phone is suitable for face unlocking when the ambient light is strong and suitable for iris unlocking when the ambient light is weak.
Disclosure of Invention
The embodiment of the invention provides an image acquisition method and a related product, aiming at saving the hardware expense of a mobile terminal and reducing the power consumption of the mobile terminal.
In a first aspect, an embodiment of the present invention provides a mobile terminal, including a biological image capturing device, a display screen, wherein,
the display screen is used for adjusting the brightness according to preset information;
the biological image acquisition device is used for acquiring a first biological image.
In a second aspect, an embodiment of the present invention provides an image capturing method, including:
acquiring preset information;
adjusting the brightness of the display screen according to the preset information;
the first biological image is acquired through a biological image acquisition device.
In a third aspect, an embodiment of the present invention provides a mobile terminal, including a processing unit and a collecting unit,
the processing unit is used for acquiring preset information; the brightness of the display screen is adjusted according to the preset information; and for acquiring a first biological image by the acquisition unit.
In a fourth aspect, an embodiment of the present invention provides a mobile terminal, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing steps of any of the methods in the second aspect of the present invention.
In a fifth aspect, the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program enables a computer to perform some or all of the steps described in any one of the methods in the second aspect of the present invention, and the computer includes a mobile terminal.
In a sixth aspect, the present invention provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps described in any one of the methods according to the second aspect of the embodiments of the present invention. The computer program product may be a software installation package, the computer comprising a mobile terminal.
It can be seen that, in the embodiment of the present invention, the mobile terminal first obtains the preset information; secondly, adjusting the brightness of the display screen according to the preset information; and finally, acquiring a first biological image through a biological image acquisition device. It is thus clear that the mobile terminal adjusts the luminance of the display screen according to the preset information, and the first biological image is acquired by supplementing light through the luminance of the display screen instead of adopting additional hardware such as a light supplement lamp, a flash lamp and the like, which is beneficial to saving hardware consumption of the mobile terminal.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
FIG. 2A is a schematic flow chart of an image capturing method according to an embodiment of the present invention;
fig. 2B is an exemplary diagram illustrating an acquisition of iris information of a mobile terminal according to an embodiment of the present invention;
fig. 2C is a diagram illustrating an example of acquiring iris information of another mobile terminal according to the embodiment of the present invention;
FIG. 3 is a schematic flow chart of another image acquisition method disclosed in the embodiments of the present invention;
FIG. 4 is a schematic flow chart diagram of another image acquisition method disclosed in the embodiments of the present invention;
fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 6 is a block diagram of functional units of a mobile terminal according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The Mobile terminal according to the embodiment of the present invention may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like, which have wireless communication functions. For convenience of description, the above-mentioned devices are collectively referred to as a mobile terminal.
The mobile terminal described in the embodiment of the invention is provided with a biological image acquisition device, and the biological image acquisition device specifically comprises an iris image acquisition device and a face image acquisition device, wherein the iris image acquisition device can comprise an infrared light source and an iris camera, and the face image acquisition device can be a universal camera module, such as a front camera. The following describes embodiments of the present invention in detail.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a mobile terminal 100 according to an embodiment of the present invention, where the mobile terminal 100 includes: the mobile terminal comprises a shell, a display screen, a main board, a battery and an auxiliary board, wherein an infrared light source 21, an iris camera 22, a front camera 23, a processor 110, a memory 120, a SIM card slot and the like are arranged on the main board, a vibrator, an integrated sound cavity and a VOOC flash charging interface are arranged on the auxiliary board, the infrared light source 21 and the iris camera 22 form an iris image acquisition device of the mobile terminal 100, the front camera 23 forms a human face image acquisition device of the mobile terminal 100, wherein,
the display screen is used for adjusting the brightness according to preset information;
the biological image acquisition device is used for acquiring a first biological image;
when the biological image acquisition device is an iris image acquisition device, the infrared light source 21 is used for emitting infrared light to irradiate the iris of a user to form reflected light, and the iris camera 22 is used for collecting the reflected light to form an iris image.
The processor 110 is configured to adjust the brightness of the display screen according to the acquired preset information, and acquire the first biological image through the biological image acquisition device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal by using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby integrally monitoring the mobile terminal. Alternatively, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 980.
The memory 120 may be used to store software programs and modules, and the processor 110 executes various functional applications and data processing of the mobile terminal by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the mobile terminal, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
It can be seen that, in the embodiment of the present invention, the mobile terminal first obtains the preset information; secondly, adjusting the brightness of the display screen according to the preset information; and finally, acquiring a first biological image through a biological image acquisition device. It is thus clear that the mobile terminal adjusts the luminance of the display screen according to the preset information, and the first biological image is acquired by supplementing light through the luminance of the display screen instead of adopting additional hardware such as a light supplement lamp, a flash lamp and the like, which is beneficial to saving hardware consumption of the mobile terminal.
In one possible example, before the processor 110 adjusts the brightness of the display screen according to the acquired preset information, the processor is further configured to: and acquiring a second biological image through the biological image acquisition device.
The biological image acquisition device is used for acquiring a second biological image before the display screen adjusts the brightness according to preset information.
In one possible example, the preset information includes at least one of: the security level of the event to be unlocked, the illumination intensity of ambient light and the distance parameter of the face image.
In one possible example, after the processor 110 acquires the first biological image through the biological image acquisition device, the processor is further configured to: judging whether the pupil area in the first biological image is the same as the pupil area in the second biological image; and determining that the user is a real user when the pupil area in the first biological image is different from the pupil area in the second biological image.
In one possible example, after the processor 110 acquires the first biological image through the biological image acquisition device, the processor is further configured to: determining a matching degree threshold according to the preset information; matching the first biological image with a preset biological template stored in the memory 120; and when the matching degree of the first biological image and the preset biological template is greater than or equal to the threshold value of the matching degree, executing unlocking operation.
Referring to fig. 2A, fig. 2A is a schematic flowchart of an image capturing method applied to a mobile terminal according to an embodiment of the present invention, where as shown in the figure, the image capturing method includes:
s201, the mobile terminal acquires preset information;
in one possible example, the preset information includes at least one of: the security level of the event to be unlocked, the illumination intensity of ambient light and the distance parameter of the face image.
The distance parameter of the face image is a distance parameter between the face of the user and the display screen.
In one possible example, before the mobile terminal acquires the preset information, the method further includes:
detecting an event to be unlocked;
and determining the safety level of the event to be unlocked.
The event to be unlocked may be, for example, a desktop event to be unlocked, an application event to be unlocked, a file event to be unlocked, or the like, which is not limited herein. The event to be unlocked by the desktop refers to an event to be unlocked for locking the desktop, the event to be unlocked by the application refers to an event to be unlocked for a specific operation of the application, such as application starting, application deleting and the like, and the event to be unlocked by the file refers to an event to be unlocked for the file, such as an event to be unlocked for a target file.
In one possible example, the trigger condition for the mobile terminal to detect the event to be unlocked may be triggered by a touch operation, a pressing operation, a voice operation, and the like of the user, for example, for the mobile terminal in the off-screen standby state, pressing a power key or a Home key triggers the event to be unlocked, where the trigger condition is not limited herein.
Therefore, in the example, the mobile terminal can determine different security levels for different events to be unlocked, fine control is realized according to the security levels, the situation that a user can only perform unified security management with a single mode aiming at a large scene is avoided, and the improvement of the fineness, the comprehensiveness and the flexibility of the security management of the mobile terminal is facilitated.
S202, the mobile terminal adjusts the brightness of the display screen according to the preset information;
the mobile terminal may adjust the brightness of the display screen according to one or more types of information in the preset information, which is not limited herein.
When the mobile terminal jointly adjusts the brightness of the display screen according to the three kinds of information in the preset information, the weight coefficients of the influence of the three information, namely the safety level, the illumination intensity and the distance parameter, on the brightness of the display screen can be set to be different coefficients, the weight coefficients can be set by a system or different weight coefficient combinations can be set by the mobile terminal according to different events to be unlocked, for example, the safety level of the unlocking event a is high, the weight coefficient of the safety level can be set to be higher, the safety level of the unlocking event B is low, the weight coefficients of the illumination intensity and the distance parameter can be set to be higher, and the situation is not limited here.
For example, the security level may be set to a high security level and a low security level, where in the high security level, the weight coefficient of the security level is higher, and the security level corresponds to a more complex matching policy and a higher matching threshold, so that the required brightness of the display screen is higher, the brightness of the display screen may be determined to be a brightness range first, and then a target brightness in the brightness range may be determined according to the distance parameter and the illumination intensity; and when the safety level is low, the weight coefficient of the safety level is low, the matching degree threshold value is low relative to the high safety level, and the matching strategy is simple relative to the high safety level, so that the brightness of the display screen can be set to be a proper brightness value according to the distance parameter and the illumination intensity, for example, the brightness value with high face definition is realized.
S203, the mobile terminal collects a first biological image through a biological image collecting device.
The mobile terminal is used for supplementing light to a user through the brightness of the display screen, and collecting a first biological image through the biological image collecting device.
Wherein the first biological image information may be a first iris image or may be a face image.
When the first biological image information is a first iris image, the first iris image may be an iris image of a single eye of the user or an iris image of both eyes of the user, which is not limited herein.
It can be seen that, in the embodiment of the present invention, the mobile terminal first obtains the preset information; secondly, adjusting the brightness of the display screen according to the preset information; and finally, acquiring a first biological image through a biological image acquisition device. It is thus clear that the mobile terminal adjusts the luminance of the display screen according to the preset information, and the first biological image is acquired by supplementing light through the luminance of the display screen instead of adopting additional hardware such as a light supplement lamp, a flash lamp and the like, which is beneficial to saving hardware consumption of the mobile terminal.
In one possible example, before the adjusting the brightness of the display screen according to the preset information, the method further includes:
a second biological image is acquired.
The second biological image and the first biological image have the same biological information type, for example, both are face images or both are iris images.
Therefore, in this example, the mobile terminal acquires the second biological image before adjusting the brightness of the display screen, and the brightness of the display screen is different from the brightness of the display screen when the first biological image is acquired, so that the mobile terminal is favorable for detecting whether the user is a real user, and moreover, no additional operation is required, so that the convenience of biological detection of the mobile terminal is improved.
In one possible example, the first biological image and the second biological image each include a pupil image, and after the first biological image is acquired by the biological image acquisition device, the method further includes:
judging whether the pupil area in the first biological image is the same as the pupil area in the second biological image;
and when the pupil area in the first biological image is judged to be different from the pupil area in the second biological image, determining that the user is a real user.
The pupil is a retractable hole in the iris of the eye, and due to self protection of the pupil on the eye, the pupil can adjust the size of the pupil according to the intensity of external light, when the light-enhanced pupil becomes smaller, the light-attenuated pupil becomes larger, for example, when the brightness before adjustment is smaller than the brightness after adjustment, the pupil image in the first biological image is as shown in fig. 2B, the pupil area is smaller, and the second iris image is as shown in fig. 2C, the pupil area is larger.
And when the area change of the pupil does not conform to the change of the light intensity or the area of the pupil is not changed, determining that the user is a non-real user.
It can be seen that, in this example, the mobile terminal determines that the user is a real user by comparing the pupil area in the first biological image and the pupil area in the second biological image before and after the brightness adjustment according to the contraction and expansion response of the pupil in the iris to the external brightness change, which is beneficial to improving the security of the mobile terminal, increases the brightness change effect of the display screen, fully applies the brightness of the display screen, rather than judging the real user by using other additional conditions, is beneficial to improving the convenience of detecting the real user, and is beneficial to reducing the complexity of the operation by only detecting the area change of the pupil.
In one possible example, after the first biological image is acquired by the biological image acquisition device, the method further comprises:
determining a matching degree threshold according to the preset information;
matching the first biological image with a preset biological template;
and when the matching degree of the first biological image and the preset biological template is greater than or equal to the threshold value of the matching degree, executing unlocking operation.
The matching degree threshold is determined according to the preset information, and the matching degree threshold of the high security level may be higher than the matching degree threshold of the low security level.
In another possible embodiment, the mobile terminal may further determine a matching policy of the first biometric image according to preset information, where the matching policy is complex when the security level is high, the matching policy is simple when the security level is low, and the unlocking operation is performed when the first biometric image is successfully matched with the preset biometric template according to the matching policy.
When the first biological image is an iris image, the mobile terminal executes processing procedures such as iris image quality evaluation, iris region positioning (including coarse positioning and fine positioning), iris preprocessing, iris characteristic point extraction and the like aiming at the iris image after acquiring first biological information, and matches the characteristic points with characteristic points in a preset iris template.
When the first biological image is a face image, the mobile terminal matches the first face image with a preset face template after acquiring the first biological information in a specific implementation manner, where the mobile terminal preprocesses the face image, extracts feature point data of the face image, and matches the feature points with feature points in the preset face template.
The specific implementation manner of the mobile terminal performing the unlocking operation may be to switch the current state of the mobile terminal to an unlocking state, where the current state includes a screen locking state, a disabled state, and the like, and is not limited herein.
Therefore, in the example, the mobile terminal determines the matching degree threshold according to the preset information, which is beneficial to improving the flexibility of the biological matching of the mobile terminal, and can further improve the security while ensuring the security of successful matching and also reduce the complexity of the matching algorithm.
In one possible example, the preset biometric template comprises at least one of: one or more iris information templates and one or more face information templates.
The one or more face information templates may include face information templates of multiple angles, or may include face information templates of multiple expressions.
The iris information template is an iris data template, and the iris data template refers to a set of correspondence between positions of feature points of an iris of a registered user and feature values (the feature values may be capacitances, inductances, voltages, currents, relative values, and the like) of specific points.
The face information template is a face data template, and the face data template refers to a set of correspondence between positions of feature points of a face of a registered user and feature values of the feature points (the feature values may be capacitances, inductances, voltages, currents, relative values, and the like).
In one possible example, the acquiring the first biological image of the user includes:
starting a flash lamp, and acquiring the first biological image of the user;
and turning off the flash lamp.
It can be seen that, in this example, when display screen luminance before the regulation is the same with display screen luminance after the regulation, can change the light intensity who shines the user through opening the flash light, open the light and strengthen suddenly after the flash light, the pupil area in the first biological image that this moment acquireed should appear contracting phenomenon, avoided the unchangeable condition that can't detect real user of display screen luminance before and after the adjustment, be favorable to promoting mobile terminal's the variety of hardware use, promote the hardware utilization ratio.
Referring to fig. 3, fig. 3 is a schematic flowchart of an image capturing method according to an embodiment of the present invention, and the image capturing method is applied to a mobile terminal. As shown in the figure, the image acquisition method comprises the following steps:
s301, the mobile terminal obtains preset information.
Wherein the preset information comprises at least one of the following: the security level of the event to be unlocked, the illumination intensity of ambient light and the distance parameter of the face image.
And S302, the mobile terminal adjusts the brightness of the display screen according to the preset information.
And S303, the mobile terminal acquires a first biological image through a biological image acquisition device.
And S304, the mobile terminal determines a matching degree threshold according to the preset information.
S305, the mobile terminal matches the first biological image with a preset biological template.
And S306, when the matching degree of the first biological image and the preset biological template is greater than or equal to the threshold value of the matching degree, the mobile terminal executes unlocking operation.
The above S301, S302, and S303 may refer to corresponding steps in the embodiment described with reference to fig. 2A.
It can be seen that, in the embodiment of the present invention, the mobile terminal first obtains the preset information; secondly, adjusting the brightness of the display screen according to the preset information; and finally, acquiring a first biological image through a biological image acquisition device. It is thus clear that the mobile terminal adjusts the luminance of the display screen according to the preset information, and the first biological image is acquired by supplementing light through the luminance of the display screen instead of adopting additional hardware such as a light supplement lamp, a flash lamp and the like, which is beneficial to saving hardware consumption of the mobile terminal.
In addition, the mobile terminal determines the matching degree threshold according to the preset information, so that the flexibility of biological matching of the mobile terminal is improved, the safety can be further improved while the safety of successful matching is ensured, and the complexity of a matching algorithm can be reduced.
Referring to fig. 4, fig. 4 is a schematic flowchart of an image capturing method according to an embodiment of the present invention, and the image capturing method is applied to a mobile terminal. As shown in the figure, the image acquisition method comprises the following steps:
s401, the mobile terminal obtains preset information.
Wherein the preset information comprises at least one of the following: the security level of the event to be unlocked, the illumination intensity of ambient light and the distance parameter of the face image.
S402, the mobile terminal acquires a second biological image.
And S403, the mobile terminal adjusts the brightness of the display screen according to the preset information.
S404, the mobile terminal collects a first biological image through a biological image collecting device.
And S405, the mobile terminal judges whether the pupil area in the first biological image is the same as the pupil area in the second biological image.
And S406, when the mobile terminal judges that the pupil area in the first biological image is different from the pupil area in the second biological image, determining that the user is a real user.
And S407, the mobile terminal determines a matching degree threshold according to the preset information.
And S408, the mobile terminal matches the first biological image with a preset biological template.
S409, when the matching degree of the first biological image and the preset biological template is greater than or equal to the threshold value of the matching degree, the mobile terminal executes unlocking operation.
The above S401, S403, and S404 may refer to corresponding steps in the embodiment described with reference to fig. 2A.
It can be seen that, in the embodiment of the present invention, the mobile terminal first obtains the preset information; secondly, adjusting the brightness of the display screen according to the preset information; and finally, acquiring a first biological image through a biological image acquisition device. It is thus clear that the mobile terminal adjusts the luminance of the display screen according to the preset information, and the first biological image is acquired by supplementing light through the luminance of the display screen instead of adopting additional hardware such as a light supplement lamp, a flash lamp and the like, which is beneficial to saving hardware consumption of the mobile terminal.
In addition, the mobile terminal determines that the user is a real user by comparing the pupil area in the first biological image and the pupil area in the second biological image before and after brightness adjustment according to contraction and expansion reaction of the pupil in the iris to external brightness change, thereby being beneficial to improving the safety of the mobile terminal, increasing the brightness change effect of the display screen, fully applying the brightness of the display screen, judging the real user by utilizing other additional conditions instead of the real user, being beneficial to improving the convenience of detecting the real user, only needing to detect the change of the pupil area, and being beneficial to reducing the complexity of operation.
In accordance with the embodiments shown in fig. 2A, fig. 3, and fig. 4, please refer to fig. 5, and fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention, and as shown in the drawing, the mobile terminal includes a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the following steps;
acquiring preset information;
adjusting the brightness of the display screen according to the preset information;
the first biological image is acquired through a biological image acquisition device.
It can be seen that, in the embodiment of the present invention, the mobile terminal first obtains the preset information; secondly, adjusting the brightness of the display screen according to the preset information; and finally, acquiring a first biological image through a biological image acquisition device. It is thus clear that the mobile terminal adjusts the luminance of the display screen according to the preset information, and the first biological image is acquired by supplementing light through the luminance of the display screen instead of adopting additional hardware such as a light supplement lamp, a flash lamp and the like, which is beneficial to saving hardware consumption of the mobile terminal.
In one possible example, the program further includes instructions for performing the steps of: and acquiring a second biological image before adjusting the brightness of the display screen according to the preset information.
In one possible example, the preset information includes at least one of: the security level of the event to be unlocked, the illumination intensity of ambient light and the distance parameter of the face image.
In one possible example, the first biological image and the second biological image each comprise a pupil image, the program further comprising instructions for: after a biological image acquisition device acquires a first biological image, judging whether the pupil area in the first biological image is the same as the pupil area in the second biological image; and determining that the user is a real user when the pupil area in the first biological image is different from the pupil area in the second biological image.
In one possible example, the program further includes instructions for performing the steps of: after the first biological image is acquired through the biological image acquisition device, determining a matching degree threshold value according to the preset information; matching the first biological image with a preset biological template; and when the matching degree of the first biological image and the preset biological template is greater than or equal to the threshold value of the matching degree, executing unlocking operation.
The above description has introduced the solution of the embodiment of the present invention mainly from the perspective of the method-side implementation process. It is understood that the mobile terminal includes hardware structures and/or software modules for performing the respective functions in order to implement the above-described functions. Those of skill in the art will readily appreciate that the present invention can be implemented in hardware or a combination of hardware and computer software, with the exemplary elements and algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The embodiment of the present invention may perform the division of the functional units for the mobile terminal according to the method example described above, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In case of an integrated unit, fig. 6 shows a block diagram of one possible functional unit composition of the mobile terminal involved in the above embodiment. The mobile terminal 600 includes: a processing unit 602 and an acquisition unit 603. Processing unit 602 is configured to control and manage actions of the mobile terminal, e.g., processing unit 602 is configured to support the mobile terminal to perform steps S201-S203 in fig. 2A, steps S301-S306 in fig. 3, steps S401-S409 in fig. 4, and/or other processes for the techniques described herein. The acquisition unit 603 is used for supporting communication between the mobile terminal and other devices. The mobile terminal may further include a storage unit 601 for storing program codes and data of the mobile terminal.
The processing unit 602 is configured to obtain preset information; the brightness of the display screen is adjusted according to the preset information; and for acquiring a first biological image by means of the acquisition unit 603.
In a possible example, before the processing unit 602 adjusts the brightness of the display screen according to the preset information, the processing unit is further configured to: and acquiring a second biological image through the acquisition unit.
In one possible example, the preset information includes at least one of: the security level of the event to be unlocked, the illumination intensity of ambient light and the distance parameter of the face image.
In one possible example, after the processing unit acquires the first biological image through the acquisition unit, the processing unit is further configured to: judging whether the pupil area in the first biological image is the same as the pupil area in the second biological image; and determining that the user is a real user when the pupil area in the first biological image is judged to be different from the pupil area in the second biological image.
In one possible example, after the processing unit acquires the first biological image through the acquisition unit, the processing unit is further configured to: determining a matching degree threshold according to the preset information; the first biological image is matched with a preset biological template; and the unlocking operation is executed when the matching degree of the first biological image and the preset biological template is greater than or equal to the threshold value of the matching degree.
Wherein the processing unit 602 may be a processor or a controller, the capturing unit 603 may be a biological image capturing device, and the storage unit 601 may be a memory.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes a mobile terminal.
Embodiments of the present invention also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising a mobile terminal.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above methods according to the embodiments of the present invention. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above embodiments of the present invention are described in detail, and the principle and the implementation of the present invention are explained by applying specific embodiments, and the above description of the embodiments is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (11)

1. A mobile terminal is characterized by comprising a biological image acquisition device and a display screen, wherein,
the display screen is used for jointly increasing or decreasing the brightness according to three kinds of preset information, wherein the preset information comprises the safety level of an event to be unlocked, the illumination intensity of ambient light and the distance parameter of a face image, and the safety level comprises a high safety level and a low safety level;
the biological image acquisition device is used for acquiring a first biological image, determining a matching degree threshold value according to the preset information, matching the first biological image with a preset biological template, and executing an unlocking operation when the matching degree of the first biological image and the preset biological template is greater than or equal to the matching degree threshold value, wherein the first biological image comprises an iris image and a face image, and the matching degree threshold value determined by the high safety level is higher than the matching degree threshold value determined by the low safety level.
2. The mobile terminal of claim 1,
the biological image acquisition device is used for acquiring a second biological image before the display screen adjusts the brightness according to preset information.
3. The mobile terminal according to claim 2, wherein the pupil area in the first biometric image is different from the pupil area in the second biometric image.
4. An image acquisition method, characterized in that the method comprises:
acquiring preset information, wherein the preset information comprises a safety level of an event to be unlocked, the illumination intensity of ambient light and distance parameters of a face image, and the safety level comprises a high safety level and a low safety level;
jointly increasing the brightness or decreasing the brightness according to the three kinds of information in the preset information;
the method comprises the steps of collecting a first biological image through a biological image collecting device, determining a matching degree threshold value according to preset information, matching the first biological image with a preset biological template, and executing unlocking operation when the matching degree of the first biological image and the preset biological template is larger than or equal to the matching degree threshold value, wherein the first biological image comprises an iris image and a face image, and the matching degree threshold value determined by a high safety level is higher than the matching degree threshold value determined by a low safety level.
5. The method according to claim 4, wherein before the jointly increasing or decreasing the brightness according to three of the preset information, the method further comprises:
a second biological image is acquired.
6. The method of claim 5, wherein the first biological image and the second biological image each comprise a pupil image, and wherein after the first biological image is captured by the biological image capture device, the method further comprises:
judging whether the pupil area in the first biological image is the same as the pupil area in the second biological image;
and when the pupil area in the first biological image is judged to be different from the pupil area in the second biological image, determining that the user is a real user.
7. A mobile terminal is characterized by comprising a processing unit and an acquisition unit,
the processing unit is used for acquiring preset information, wherein the preset information comprises a safety level of an event to be unlocked, the illumination intensity of ambient light and distance parameters of a face image, and the safety level comprises a high safety level and a low safety level; the display screen is used for jointly increasing the brightness of the display screen or reducing the brightness according to the three kinds of information in the preset information; and the acquisition unit is used for acquiring a first biological image, determining a matching degree threshold value according to the preset information, matching the first biological image with a preset biological template, and executing an unlocking operation when the matching degree of the first biological image and the preset biological template is greater than or equal to the matching degree threshold value, wherein the first biological image comprises an iris image and a face image, and the matching degree threshold value determined by the high safety level is higher than the matching degree threshold value determined by the low safety level.
8. The mobile terminal of claim 7, wherein before the processing unit adjusts the brightness of the display screen according to the preset information, the processing unit is further configured to: and acquiring a second biological image through the acquisition unit.
9. The mobile terminal of claim 8, wherein after the processing unit acquires the first biological image through the acquisition unit, the processing unit is further configured to: judging whether the pupil area in the first biological image is the same as the pupil area in the second biological image; and determining that the user is a real user when the pupil area in the first biological image is judged to be different from the pupil area in the second biological image.
10. A mobile terminal comprising a processor, memory, a communications interface, and one or more programs stored in the memory and configured for execution by the processor, the programs including instructions for performing the steps in the method of any of claims 4-6.
11. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any of claims 4-6, the computer comprising a mobile terminal.
CN201710595714.5A 2017-07-20 2017-07-20 Image acquisition method and related product Active CN107508965B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710595714.5A CN107508965B (en) 2017-07-20 2017-07-20 Image acquisition method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710595714.5A CN107508965B (en) 2017-07-20 2017-07-20 Image acquisition method and related product

Publications (2)

Publication Number Publication Date
CN107508965A CN107508965A (en) 2017-12-22
CN107508965B true CN107508965B (en) 2020-03-03

Family

ID=60679952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710595714.5A Active CN107508965B (en) 2017-07-20 2017-07-20 Image acquisition method and related product

Country Status (1)

Country Link
CN (1) CN107508965B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108919952A (en) * 2018-06-28 2018-11-30 郑州云海信息技术有限公司 A kind of control method, device, equipment and the storage medium of intelligent terminal screen
CN114125145B (en) * 2021-10-19 2022-11-18 华为技术有限公司 Method for unlocking display screen, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105139006A (en) * 2015-09-29 2015-12-09 清华大学 Iris-change-based living body identification method and system
CN105930816A (en) * 2016-05-05 2016-09-07 上海聚虹光电科技有限公司 Iris identification system based on virtual reality device
CN106326855A (en) * 2016-08-19 2017-01-11 京东方科技集团股份有限公司 Fingerprint acquisition method, fingerprint acquisition module, color-film substrate and display device
CN106778707A (en) * 2017-02-09 2017-05-31 广东欧珀移动通信有限公司 Fingerprint identification method, display screen and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101241625B1 (en) * 2012-02-28 2013-03-11 인텔 코오퍼레이션 Method, apparatus for informing a user of various circumstances of face recognition, and computer-readable recording medium for executing the method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105139006A (en) * 2015-09-29 2015-12-09 清华大学 Iris-change-based living body identification method and system
CN105930816A (en) * 2016-05-05 2016-09-07 上海聚虹光电科技有限公司 Iris identification system based on virtual reality device
CN106326855A (en) * 2016-08-19 2017-01-11 京东方科技集团股份有限公司 Fingerprint acquisition method, fingerprint acquisition module, color-film substrate and display device
CN106778707A (en) * 2017-02-09 2017-05-31 广东欧珀移动通信有限公司 Fingerprint identification method, display screen and mobile terminal

Also Published As

Publication number Publication date
CN107508965A (en) 2017-12-22

Similar Documents

Publication Publication Date Title
CN107450708B (en) Unlocking control method and related product
US11074466B2 (en) Anti-counterfeiting processing method and related products
CN107679482B (en) Unlocking control method and related product
CN107832670B (en) Face recognition method and related product
CN107451449B (en) Biometric unlocking method and related product
CN107463818B (en) Unlocking control method and related product
CN107527019B (en) Unlocking control method and related product
CN111480333B (en) Light supplementing photographing method, mobile terminal and computer readable storage medium
CN107451453B (en) Unlocking control method and related product
CN107480601B (en) Detection method and related product
US11328044B2 (en) Dynamic recognition method and terminal device
CN107622246B (en) Face recognition method and related product
CN107808127B (en) Face recognition method and related product
WO2014180095A1 (en) Systems and methods for real human face recognition
CN107506697B (en) Anti-counterfeiting processing method and related product
CN107622243B (en) Unlocking control method and related product
CN106161962B (en) A kind of image processing method and terminal
EP3454251B1 (en) Unlocking control methods and related products
CN107622191B (en) Unlocking control method and related product
WO2019011106A1 (en) State control method and related product
CN107491743B (en) Iris image acquisition method and related product
CN107402787B (en) Iris recognition mode starting method and related product
CN107545163B (en) Unlocking control method and related product
CN107729833B (en) Face detection method and related product
CN107508965B (en) Image acquisition method and related product

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant