Method and device for obtaining iris images
A technology of iris image and eye image, which is applied in the field of communication and can solve problems such as the inability to realize iris recognition
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0055] see figure 1, an embodiment of the present invention provides a method for acquiring an iris image, the method comprising:
[0056] Step 101: The electronic device acquires the selected usage mode of the dual cameras, and the first camera and the second camera of the electronic device are located on the same side of the electronic device.
[0057] Step 102 : when the use mode is the iris mode, turn on any one of the first camera and the second camera to take a first facial picture, where the first facial picture includes an eye image.
[0058] Step 103: Remove the color information of each pixel in the first facial image and retain the luminance information of each pixel to obtain a second facial image.
[0059] Step 104: Extract the eye image in the second facial picture and determine the eye image as the iris image.
[0060] In the embodiment of the present invention, the selected usage mode is acquired, and when the usage mode is the iris mode, the first facial ima...
Embodiment 2
[0062] see Figure 2-1 , an embodiment of the present invention provides a method for acquiring an iris image, including:
[0063] Step 201 : the electronic device acquires the selected usage mode, and the usage modes include an iris mode and a dual-camera mode.
[0064] The electronic device can be a mobile phone, a tablet computer, or a notebook computer, etc. The electronic device includes a first camera and a second camera. The first camera and the second camera are located on the same side of the electronic device, and neither is an iris camera Both are ordinary cameras used to take pictures.
[0065] The electronic device defines two usage modes, iris mode and dual-camera mode. see Figure 2-2 , when the user activates the camera included in the electronic device, the electronic device displays an activation interface, which includes a first trigger interface corresponding to the iris mode and a second trigger interface corresponding to the dual-camera mode. If the u...
Embodiment 3
[0111] see image 3 , an embodiment of the present invention provides an apparatus 300 for acquiring an iris image, the apparatus 300 includes:
[0112] The obtaining module 301 is used to obtain the selected use mode of the dual cameras of the electronic device, and the first camera and the second camera of the electronic device are located on the same surface of the electronic device; when the use mode is the iris mode, Turn on any camera in the first camera and the second camera, and take a first facial picture, where the first facial picture includes an eye image;
[0113] Removing module 302, for removing the color information of each pixel in the first facial picture and retaining the brightness information of each pixel to obtain the second facial picture;
[0114] The extraction module 303 is configured to extract the eye image in the second facial picture and determine the eye image as an iris image.
[0115] Optionally, the electronic device includes a first camera...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


