Fingerprint collection area calibration method and device
By displaying the reference fingerprint icon in the under-screen fingerprint recognition technology and adjusting the acquisition area position, the fingerprint acquisition area offset problem caused by the difference in manual assembly is solved, and the accuracy of fingerprint input is improved.
Patent Information
- Application Number
- CN201910340492.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-04-25
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2039-04-25
AI Technical Summary
When collecting fingerprints, under-screen fingerprint recognition technology, due to the differences in manual assembly and inaccurate assembly after maintenance, the position of the fingerprint collection area is offset, affecting the accuracy of fingerprint input and causing difficulty in use.
By displaying the reference fingerprint icon when calibrating the fingerprint collection area, the fingerprint sensor controls the fingerprint sensor to collect the area multiple times, determines the offset information, adjusts the location of the acquisition area to calibrate its position, and ensures the accuracy of fingerprint input.
Accurate calibration of the fingerprint acquisition area is achieved, allowing users to enter fingerprint information in a more accurate position, avoiding the difficulty of using due to inaccurate position.
Smart Images

Figure CN111860037B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of terminal technology, and in particular to a method and device for calibrating a fingerprint collection area. Background Art
[0002] Light-sensing screen fingerprint recognition technology, also known as under-screen fingerprint recognition technology, is to place the fingerprint recognition module under the terminal screen panel. When collecting fingerprint images, the fingerprint recognition module uses the incident light emitted by the light source to penetrate the panel and illuminate the user's fingertips. Using the phenomenon of total reflection and diffuse reflection, a high-contrast black-and-white fingerprint image is received. In today's popular full-screen era, under-screen fingerprint recognition technology can reduce the opening of the terminal screen and bring a higher screen-to-body ratio to the terminal screen. Summary of the invention
[0003] The present disclosure provides a fingerprint collection area calibration method and device. The technical solution is as follows:
[0004] According to a first aspect of an embodiment of the present disclosure, a method for calibrating a fingerprint collection area is provided, comprising:
[0005] When calibrating the fingerprint collection area, a reference fingerprint icon is displayed, where the reference fingerprint icon is used to indicate the reference fingerprint collection area of the fingerprint sensor on the screen;
[0006] Controlling the fingerprint sensor to collect fingerprints at the reference fingerprint collection area N times to obtain N fingerprint images, where N is an integer greater than or equal to 1;
[0007] Determine, according to the positions of the areas occupied by the fingerprints in the N fingerprint images, calibration information for calibrating the reference fingerprint collection area, wherein the calibration information is used to indicate the offset of the reference fingerprint collection area;
[0008] The position of the reference fingerprint collection area on the screen is adjusted according to the calibration information of the reference fingerprint collection area to obtain the calibrated position of the fingerprint collection area on the screen.
[0009] In one embodiment, determining calibration information for calibrating the reference fingerprint collection area according to the positions of the areas occupied by the fingerprints in the N fingerprint images includes:
[0010] Determine N offset information of the reference fingerprint collection area according to the position information of the area occupied by the fingerprint in the N fingerprint images, wherein the offset information includes an offset distance and an offset direction;
[0011] The calibration information for calibrating the reference fingerprint collection area is determined to be an average value of the N offset information.
[0012] In one embodiment, determining the N offset information of the reference fingerprint collection area according to the position information of the area occupied by the fingerprint in the N fingerprint images includes:
[0013] For each fingerprint image, determining center offset information between the center position of the fingerprint image and the center position of the area occupied by the fingerprint;
[0014] The twice of the center offset information is determined as the offset information of the reference fingerprint collection area.
[0015] In one embodiment, the method further comprises:
[0016] When the reference fingerprint icon is displayed, prompt information is displayed, and the prompt information is used to prompt the user that the fingerprint fills the reference fingerprint collection area.
[0017] In one embodiment, the method further comprises:
[0018] Receiving a calibration instruction, wherein the calibration instruction is used to instruct to calibrate the fingerprint collection area;
[0019] In response to the received calibration instruction, fingerprint collection area calibration begins.
[0020] According to a second aspect of an embodiment of the present disclosure, a fingerprint collection area calibration device is provided, comprising:
[0021] A first display module, used to display a reference fingerprint icon when calibrating the fingerprint collection area, wherein the reference fingerprint icon is used to indicate a reference fingerprint collection area of the fingerprint sensor on the screen;
[0022] A control module, used to control the fingerprint sensor to collect fingerprints at the reference fingerprint collection area N times to obtain N fingerprint images, where N is an integer greater than or equal to 1;
[0023] A determination module, used to determine calibration information for calibrating the reference fingerprint collection area according to the positions of the areas occupied by the fingerprints in the N fingerprint images, wherein the calibration information is used to indicate the offset of the reference fingerprint collection area;
[0024] The calibration module is used to adjust the position of the reference fingerprint collection area on the screen according to the calibration information of the reference fingerprint collection area to obtain the position of the fingerprint collection area on the screen after calibration.
[0025] In one embodiment, the first determining module includes:
[0026] A first determination submodule, configured to determine N offset information of the reference fingerprint collection area according to the position information of the area occupied by the fingerprint in the N fingerprint images, wherein the offset information includes an offset distance and an offset direction;
[0027] The second determining submodule is used to determine that the calibration information for calibrating the reference fingerprint collection area is an average value of the N offset information.
[0028] In one embodiment, the first determination submodule is used to determine, for each fingerprint image, center offset information between the center position of the fingerprint image and the center position of the area occupied by the fingerprint, and determine twice the center offset information as the offset information of the reference fingerprint collection area.
[0029] In one embodiment, the apparatus further comprises:
[0030] The second display module is used to display prompt information when displaying the reference fingerprint icon, wherein the prompt information is used to prompt the user that the fingerprint fills the reference fingerprint collection area.
[0031] In one embodiment, the apparatus further comprises:
[0032] A receiving module, used for receiving a calibration instruction, wherein the calibration instruction is used for instructing to calibrate the fingerprint collection area;
[0033] The response module is used to start fingerprint collection area calibration in response to the received calibration instruction.
[0034] According to a third aspect of an embodiment of the present disclosure, a fingerprint collection area calibration device is provided, comprising:
[0035] processor;
[0036] a memory for storing processor-executable instructions;
[0037] The processor is configured to execute the steps in the above method.
[0038] According to a fourth aspect of an embodiment of the present disclosure, there is provided a computer-readable storage medium storing computer instructions, which implement the steps in the above method when executed by a processor.
[0039] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: the embodiment may display a reference fingerprint icon when calibrating the fingerprint collection area, the reference fingerprint icon being used to indicate the reference fingerprint collection area of the fingerprint sensor on the screen; control the fingerprint sensor to collect the fingerprint at the reference fingerprint collection area N times to obtain a fingerprint image, wherein N is an integer greater than or equal to 1; determine calibration information for calibrating the reference fingerprint collection area according to the positions of the areas occupied by the fingerprints in the N fingerprint images, the calibration information being used to indicate the offset of the reference fingerprint collection area; adjust the position of the reference fingerprint collection area on the screen according to the calibration information of the reference fingerprint collection area, and obtain the position of the calibrated fingerprint collection area on the screen; in this way, actively calibrating the collection area of the fingerprint within the surface can enable the user to input the fingerprint information at a more accurate position, thereby avoiding the problem of difficulty in using the fingerprint due to inaccurate fingerprint input position.
[0040] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0042] Figure 1 The present invention is a flow chart showing a method for calibrating a fingerprint collection area according to an exemplary embodiment.
[0043] Figure 2 is a schematic diagram of a fingerprint image according to an exemplary embodiment.
[0044] Figure 3 The present invention is a flow chart showing a method for calibrating a fingerprint collection area according to an exemplary embodiment.
[0045] Figure 4 The invention is a block diagram of a device for calibrating a fingerprint collection area according to an exemplary embodiment.
[0046] Figure 5 The invention is a block diagram of a device for calibrating a fingerprint collection area according to an exemplary embodiment.
[0047] Figure 6 The invention is a block diagram of a device for calibrating a fingerprint collection area according to an exemplary embodiment.
[0048] Figure 7 The invention is a block diagram of a device for calibrating a fingerprint collection area according to an exemplary embodiment.
[0049] Figure 8 The invention is a block diagram of a device for calibrating a fingerprint collection area according to an exemplary embodiment. DETAILED DESCRIPTION
[0050] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0051] At present, when the under-screen fingerprint is collecting fingerprints, the screen needs to display a fingerprint icon to prompt the user to press the fingerprint in the collection area indicated by the fingerprint icon. The accuracy of the collection area indicated by the fingerprint icon determines the experience of using fingerprints. The position indicated by the fingerprint icon of each terminal of the same product type is fixed, that is, the target position set during factory assembly. However, due to the differences in manual assembly, especially the differences in assembly during after-sales maintenance, the correct position of the under-screen fingerprint may be different from the target position.
[0052] In order to solve the above problem, this embodiment can display a reference fingerprint icon when calibrating the fingerprint collection area, and the reference fingerprint icon is used to indicate the reference fingerprint collection area of the fingerprint sensor on the screen; control the fingerprint sensor to collect fingerprints at the reference fingerprint collection area N times to obtain a fingerprint image, where N is an integer greater than or equal to 1; determine calibration information for calibrating the reference fingerprint collection area according to the positions of the areas occupied by the fingerprints in the N fingerprint images, and the calibration information is used to indicate the offset of the reference fingerprint collection area; adjust the position of the reference fingerprint collection area on the screen according to the calibration information of the reference fingerprint collection area to obtain a calibrated fingerprint collection area; display a calibration icon in the calibrated fingerprint collection area, and the calibration icon is used to indicate the position of the calibrated fingerprint collection area on the screen; in this way, actively calibrating the collection area of the fingerprint in the plane can enable the user to input fingerprint information at a more accurate position, avoiding the problem of difficulty in using fingerprints due to inaccurate fingerprint input position.
[0053] Figure 1 is a flow chart of a method for calibrating a fingerprint collection area according to an exemplary embodiment. Figure 1 As shown, the fingerprint collection area calibration method is used in a terminal, including the following steps 101-104:
[0054] In step 101, when calibrating the fingerprint collection area, a reference fingerprint icon is displayed, where the reference fingerprint icon is used to indicate a reference fingerprint collection area of the fingerprint sensor on the screen.
[0055] Here, the position of the reference fingerprint icon used to indicate the reference fingerprint collection area displayed on the terminal screen when leaving the factory is fixed, that is, the position set during factory assembly, but due to differences in manual assembly, there may be a certain offset between the position of the correct collection area of the fingerprint sensor and the position of the reference fingerprint icon. Alternatively, differences in assembly during after-sales maintenance of the terminal may also cause a certain offset between the position of the correct collection area of the fingerprint sensor after maintenance and the position of the reference fingerprint icon before maintenance. Therefore, the terminal needs to calibrate the fingerprint collection area when the entire machine is assembled in the factory or when the fingerprint sensor is replaced after sales to correct the offset.
[0056] Here, when the terminal is calibrating the fingerprint collection area, the reference fingerprint icon can be displayed. For example, the terminal can call the lock screen program to display a square icon on the screen. The square icon is the reference fingerprint icon, indicating that the reference fingerprint collection area of the fingerprint sensor on the screen is the area where the square icon is located. In this way, the user can fill the reference fingerprint collection area with the fingertip and input the fingerprint in the reference fingerprint collection area.
[0057] In step 102, the fingerprint sensor is controlled to collect fingerprints at the reference fingerprint collection area N times to obtain N fingerprint images, where N is an integer greater than or equal to 1.
[0058] Here, the terminal can control the fingerprint sensor to collect the fingerprint at the reference fingerprint collection area while displaying the reference fingerprint icon. When the user's fingertip presses the reference fingerprint collection area, the terminal can collect the fingerprint image.
[0059] Here, the terminal may collect only one fingerprint image, but in order to ensure the accuracy of subsequent correction, preferably, the terminal may collect multiple fingerprint images.
[0060] In step 103, calibration information for calibrating the reference fingerprint collection area is determined according to the positions of the areas occupied by the fingerprints in the N fingerprint images, where the calibration information is used to indicate the offset of the reference fingerprint collection area.
[0061] Here, if the correct collection area of the fingerprint sensor of the terminal is the reference fingerprint collection area indicated by the reference fingerprint icon, the fingerprint image collected by the terminal is a fingerprint image full of fingerprints; if the correct collection area of the fingerprint sensor of the terminal is different from the reference fingerprint collection area indicated by the reference fingerprint icon, the fingerprint image collected by the terminal is a fingerprint image in which the fingerprint occupies only a part, for example, Figure 2 is a schematic diagram of a fingerprint image according to an exemplary embodiment. Figure 2 As shown, the fingerprint area 201 in the fingerprint image 20 is biased to the upper left, and only occupies a part of the fingerprint image, so it is determined that the correct acquisition area of the fingerprint sensor of the terminal is different from the reference fingerprint acquisition area indicated by the reference fingerprint icon. At this time, the terminal can analyze and determine the offset between the reference fingerprint acquisition area and the correct acquisition area according to the position of the fingerprint area in the N fingerprint images, and obtain calibration information.
[0062] In step 104, the position of the reference fingerprint collection area on the screen is adjusted according to the calibration information of the reference fingerprint collection area to obtain the calibrated position of the fingerprint collection area on the screen.
[0063] Here, assuming that the terminal determines that the calibration information is that the reference fingerprint collection area is offset to the left by L compared with the correct collection area, the terminal can adjust the position of the reference fingerprint collection area to the right by a distance of L, and the adjusted reference fingerprint collection area is the calibrated fingerprint collection area.
[0064] Here, after the terminal obtains the position of the calibrated fingerprint collection area on the screen, when it receives a fingerprint collection instruction and requires the user to enter a fingerprint, such as when performing fingerprint unlocking, the terminal can display a calibration icon, which is used to indicate the position of the calibrated fingerprint collection area on the screen. Therefore, the user can enter the fingerprint on the calibrated fingerprint collection area indicated by the calibration icon. Since the deviation between the calibrated fingerprint collection area and the correct fingerprint collection area is smaller than that of the reference fingerprint icon, the position of the calibrated fingerprint collection area is more accurate. The user can enter the fingerprint information at a more accurate position, avoiding the problem of difficulty in using the fingerprint due to inaccurate fingerprint input position.
[0065] This embodiment can actively calibrate the fingerprint collection area within the surface, so that the user can input fingerprint information at a more accurate position, avoiding the problem of difficulty in using fingerprints due to inaccurate fingerprint input position.
[0066] In a possible implementation, step 103 in the above fingerprint collection area calibration method can be implemented as the following steps A1 and A2.
[0067] In step A1, N offset information of the reference fingerprint collection area is determined according to the position information of the area occupied by the fingerprint in the N fingerprint images, and the offset information includes an offset distance and an offset direction.
[0068] In step A2, the calibration information for calibrating the reference fingerprint collection area is determined to be an average value of the N offset information.
[0069] Here, the terminal can determine the offset information of the reference fingerprint collection area according to the position information of the area occupied by the fingerprint in the fingerprint image, still based on Figure 2 Taking the figure as an example, a rectangular coordinate system can be established with the upper left end point O of the fingerprint image 20 as the coordinate origin, the coordinates of point A are (x1, y1), and the coordinates of point B are (x2, y2). The offset information is x2-x1 to the left and y2-y1 to the top.
[0070] Here, when the fingerprint sensor collects the fingerprint image, it cannot guarantee that the user's fingertip will fill the reference fingerprint collection area. At this time, in order to ensure the accuracy of the calibration, the terminal can collect multiple fingerprint images, obtain multiple offset information, and then calculate the average value of the N offset information to determine the calibration information of the reference fingerprint collection area, wherein the calibration information includes the calibration distance and the calibration direction. For example, the average value of the offset in the left and right directions can be calculated first: (the sum of all distances offset to the left - the sum of all distances offset to the right) / N. If the average value is positive or 0, it indicates the average value of the left offset, and if the average value is negative, it indicates the average value of the right offset; then calculate the average value of the offset in the up and down directions: (the sum of all distances offset upward - the sum of all distances offset downward) / N. If the average value is positive or 0, it indicates the average value of the upward offset, and if the average value is negative, it indicates the average value of the downward offset. In this way, the calibration distance and calibration direction can be determined.
[0071] In this embodiment, N offset information of the reference fingerprint collection area can be determined according to the position information of the area occupied by the fingerprint in the N fingerprint images, and the offset information includes an offset distance and an offset direction. The calibration information for calibrating the reference fingerprint collection area is determined to be the average value of the N offset information, so that accurate calibration information can be obtained.
[0072] In a possible implementation, step A2 in the above fingerprint collection area calibration method can be implemented as the following steps A21 and A22.
[0073] In step A21, for each fingerprint image, the center offset information between the center position of the fingerprint image and the center position of the area occupied by the fingerprint is determined.
[0074] In step A22, twice the center offset information is determined as the offset information of the reference fingerprint collection area.
[0075] Here, still Figure 2 As shown in the figure, a rectangular coordinate system can be established with the upper left end point O of the fingerprint image 20 as the origin of the coordinates. The coordinates of the center point C of the fingerprint image 20 are (x2 / 2, y2 / 2), and the coordinates of the center point D of the fingerprint area are (x1 / 2, y1 / 2). Therefore, the center offset information is (x2-x1) / 2 to the left and (y2-y1) / 2 to the top. The terminal determines twice the center offset information as the offset information of the reference fingerprint collection area, which is x2-x1 to the left and y2-y1 to the top.
[0076] This embodiment can determine the center offset information between the center position of the fingerprint image and the center position of the area occupied by the fingerprint for each fingerprint image; and determine twice the center offset information as the offset information of the reference fingerprint collection area; thus, the determination method is simple and accurate.
[0077] In a possible implementation manner, the fingerprint collection area calibration method may further include the following steps B1.
[0078] In step B1, when the reference fingerprint icon is displayed, prompt information is displayed, and the prompt information is used to prompt the user that the fingerprint fills the reference fingerprint collection area.
[0079] Here, only when the user's fingerprint fills the reference fingerprint collection area, the area occupied by the fingerprint in the fingerprint image will be the area occupied by the reference fingerprint collection area in the correct fingerprint collection area, and the offset information determined by the terminal will be accurate offset information, and the subsequent calibration based on this offset information will be more accurate. In this way, in order to ensure the accuracy of the calibration, this embodiment can display a prompt message when displaying the reference fingerprint icon, and the prompt message is used to prompt the user that the fingerprint fills the reference fingerprint collection area. For example, the terminal can display a prompt box on one side of the reference fingerprint icon, and the prompt box displays the text message "Please fill the reference fingerprint collection area with your fingerprint."
[0080] This embodiment may display a prompt message when displaying the reference fingerprint icon, prompting the user's fingerprint to fill the reference fingerprint collection area, so as to ensure the accuracy of the fingerprint collection area calibration.
[0081] In a possible implementation, the fingerprint collection area calibration method may further include the following steps C1 and C2.
[0082] In step C1, a calibration instruction is received, wherein the calibration instruction is used to instruct to perform fingerprint collection area calibration.
[0083] In step C2, in response to the received calibration instruction, fingerprint collection area calibration begins.
[0084] Here, at the time of leaving the factory or after maintenance, the terminal can automatically start calibrating the fingerprint collection area. Of course, the user can also input a calibration instruction. After the terminal receives the calibration instruction, it starts calibrating the fingerprint collection area. For example, the calibration instruction can be called out in a secret code. For example, the calibration instruction can be input "*#*#", and the user can enter specific numbers "*#*#" in the dialing interface.
[0085] This embodiment can start the fingerprint collection area calibration in response to the received calibration instruction when the calibration instruction is received. In this way, the calibration process can be automatically started by the user when calibration is needed.
[0086] The implementation process is described in detail below through several embodiments.
[0087] Figure 3 is a flow chart of a method for calibrating a fingerprint collection area according to an exemplary embodiment. Figure 3 As shown, the fingerprint collection area calibration method can be implemented by a terminal or other device, including steps 301-309.
[0088] In step 301, a calibration instruction is received, wherein the calibration instruction is used to instruct to perform fingerprint collection area calibration.
[0089] In step 302, in response to the received calibration instruction, fingerprint collection area calibration begins.
[0090] In step 303, when the fingerprint collection area calibration is performed, a reference fingerprint icon is displayed, and the reference fingerprint icon is used to indicate the reference fingerprint collection area of the fingerprint sensor on the screen.
[0091] In step 304, when the reference fingerprint icon is displayed, prompt information is displayed, and the prompt information is used to prompt the user that the fingerprint fills the reference fingerprint collection area.
[0092] In step 305, the fingerprint sensor is controlled to collect fingerprints at the reference fingerprint collection area N times to obtain N fingerprint images, where N is an integer greater than or equal to 1.
[0093] In step 306, for each fingerprint image, the center offset information between the center position of the fingerprint image and the center position of the area occupied by the fingerprint is determined.
[0094] In step 307, twice the center offset information is determined as the offset information of the reference fingerprint collection area, and the offset information includes an offset distance and an offset direction.
[0095] In step 308, calibration information for calibrating the reference fingerprint collection area is determined to be an average value of the N offset information.
[0096] In step 309, the position of the reference fingerprint collection area on the screen is adjusted according to the calibration information of the reference fingerprint collection area to obtain the calibrated position of the fingerprint collection area on the screen.
[0097] The following are embodiments of the apparatus of the present disclosure, which can be used to execute embodiments of the method of the present disclosure.
[0098] Figure 4 1 is a block diagram of a fingerprint collection area calibration device according to an exemplary embodiment. The device can be implemented as part or all of an electronic device through software, hardware, or a combination of both. Figure 4 As shown, the calibration device of the fingerprint collection area includes:
[0099] A first display module 401, used to display a reference fingerprint icon when performing fingerprint collection area calibration, wherein the reference fingerprint icon is used to indicate a reference fingerprint collection area of the fingerprint sensor on the screen;
[0100] A control module 402 is used to control the fingerprint sensor to collect fingerprints at the reference fingerprint collection area N times to obtain N fingerprint images, where N is an integer greater than or equal to 1;
[0101] A determination module 403, configured to determine calibration information for calibrating the reference fingerprint collection area according to the positions of the areas occupied by the fingerprints in the N fingerprint images, wherein the calibration information is used to indicate the offset of the reference fingerprint collection area;
[0102] The calibration module 404 is used to adjust the position of the reference fingerprint collection area on the screen according to the calibration information of the reference fingerprint collection area to obtain the position of the fingerprint collection area on the screen after calibration.
[0103] Optionally, in other embodiments, the calibration device may further include a second display module.
[0104] The second display module is used to display a calibration icon, and the calibration icon is used to indicate the position of the calibrated fingerprint collection area on the screen.
[0105] As a possible embodiment, Figure 5 is a block diagram of a fingerprint acquisition area calibration device according to an exemplary embodiment. Figure 5As shown, the fingerprint collection area calibration device disclosed above can also configure the determination module 403 to include a first determination submodule 4031 and a second determination submodule 4032, wherein:
[0106] A first determination submodule 4031 is used to determine N offset information of the reference fingerprint collection area according to the position information of the area occupied by the fingerprint in the N fingerprint images, wherein the offset information includes an offset distance and an offset direction;
[0107] The second determining submodule 4032 is configured to determine that the calibration information for calibrating the reference fingerprint collection area is an average value of the N offset information.
[0108] As a possible embodiment, in the fingerprint collection area calibration device disclosed above, the first determination submodule 4031 is used to determine, for each fingerprint image, the center offset information between the center position of the fingerprint image and the center position of the area occupied by the fingerprint, and determine twice the center offset information as the offset information of the reference fingerprint collection area.
[0109] As a possible embodiment, Figure 6 is a block diagram of a fingerprint acquisition area calibration device according to an exemplary embodiment. Figure 6 As shown, the fingerprint collection area calibration device disclosed above can also be configured to include a second display module 405, wherein:
[0110] The second display module 405 is used to display prompt information when displaying the reference fingerprint icon, and the prompt information is used to prompt the user that the fingerprint fills the reference fingerprint collection area.
[0111] As a possible embodiment, Figure 7 is a block diagram of a fingerprint acquisition area calibration device according to an exemplary embodiment. Figure 7 As shown, the fingerprint collection area calibration device disclosed above can also be configured to include a receiving module 406 and a responding module 407, wherein:
[0112] A receiving module 406 is used to receive a calibration instruction, where the calibration instruction is used to instruct to calibrate the fingerprint collection area;
[0113] The response module 407 is used to start fingerprint collection area calibration in response to the received calibration instruction.
[0114] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0115] Figure 8800 is a block diagram of a fingerprint collection area calibration device according to an exemplary embodiment, which is suitable for terminal devices. For example, the device 800 can be a mobile phone, a game console, a computer, a tablet device, a personal digital assistant, etc.
[0116] The device 800 may include one or more of the following components: a processing component 801 , a memory 802 , a power component 803 , a multimedia component 804 , an audio component 805 , an input / output (I / O) interface 806 , a sensor component 807 , and a communication component 808 .
[0117] The processing component 801 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 801 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 801 may include one or more modules to facilitate the interaction between the processing component 801 and other components. For example, the processing component 801 may include a multimedia module to facilitate the interaction between the multimedia component 804 and the processing component 801.
[0118] The memory 802 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 802 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0119] The power supply component 803 provides power to various components of the device 800. The power supply component 803 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.
[0120] The multimedia component 804 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 804 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0121] The audio component 805 is configured to output and / or input audio signals. For example, the audio component 805 includes a microphone (MIC), and when the device 800 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 802 or sent via the communication component 808. In some embodiments, the audio component 805 also includes a speaker for outputting audio signals.
[0122] I / O interface 806 provides an interface between processing component 801 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0123] The sensor assembly 807 includes one or more sensors for providing various aspects of status assessment for the device 800. For example, the sensor assembly 807 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 807 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 807 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 807 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 807 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0124] The communication component 808 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 808 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 808 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0125] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.
[0126] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 802 including instructions, and the instructions can be executed by a processor 820 of the device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0127] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the device 800, enables the device 800 to perform the above-mentioned fingerprint collection area calibration method, the method comprising:
[0128] When calibrating the fingerprint collection area, a reference fingerprint icon is displayed, where the reference fingerprint icon is used to indicate the reference fingerprint collection area of the fingerprint sensor on the screen;
[0129] Controlling the fingerprint sensor to collect fingerprints at the reference fingerprint collection area N times to obtain N fingerprint images, where N is an integer greater than or equal to 1;
[0130] Determine, according to the positions of the areas occupied by the fingerprints in the N fingerprint images, calibration information for calibrating the reference fingerprint collection area, wherein the calibration information is used to indicate the offset of the reference fingerprint collection area;
[0131] The position of the reference fingerprint collection area on the screen is adjusted according to the calibration information of the reference fingerprint collection area to obtain the calibrated position of the fingerprint collection area on the screen.
[0132] In one embodiment, determining calibration information for calibrating the reference fingerprint collection area according to the positions of the areas occupied by the fingerprints in the N fingerprint images includes:
[0133] Determine N offset information of the reference fingerprint collection area according to the position information of the area occupied by the fingerprint in the N fingerprint images, wherein the offset information includes an offset distance and an offset direction;
[0134] The calibration information for calibrating the reference fingerprint collection area is determined to be an average value of the N offset information.
[0135] In one embodiment, determining the N offset information of the reference fingerprint collection area according to the position information of the area occupied by the fingerprint in the N fingerprint images includes:
[0136] For each fingerprint image, determining center offset information between the center position of the fingerprint image and the center position of the area occupied by the fingerprint;
[0137] The twice of the center offset information is determined as the offset information of the reference fingerprint collection area.
[0138] In one embodiment, the method further comprises:
[0139] When the reference fingerprint icon is displayed, prompt information is displayed, and the prompt information is used to prompt the user that the fingerprint fills the reference fingerprint collection area.
[0140] In one embodiment, the method further comprises:
[0141] Receiving a calibration instruction, wherein the calibration instruction is used to instruct to calibrate the fingerprint collection area;
[0142] In response to the received calibration instruction, fingerprint collection area calibration begins.
[0143] This embodiment also provides a fingerprint collection area calibration device, including:
[0144] processor;
[0145] a memory for storing processor-executable instructions;
[0146] Wherein, the processor is configured to:
[0147] When calibrating the fingerprint collection area, a reference fingerprint icon is displayed, where the reference fingerprint icon is used to indicate the reference fingerprint collection area of the fingerprint sensor on the screen;
[0148] Control the fingerprint sensor to collect fingerprints at the reference fingerprint collection area N times to obtain N fingerprint images, where N is an integer greater than or equal to 1;
[0149] Determine, according to the positions of the areas occupied by the fingerprints in the N fingerprint images, calibration information for calibrating the reference fingerprint collection area, wherein the calibration information is used to indicate the offset of the reference fingerprint collection area;
[0150] The position of the reference fingerprint collection area on the screen is adjusted according to the calibration information of the reference fingerprint collection area to obtain the calibrated position of the fingerprint collection area on the screen.
[0151] In one embodiment, the processor may also be configured to:
[0152] The step of determining calibration information for calibrating the reference fingerprint collection area according to the positions of the areas occupied by the fingerprints in the N fingerprint images includes:
[0153] Determine N offset information of the reference fingerprint collection area according to the position information of the area occupied by the fingerprint in the N fingerprint images, wherein the offset information includes an offset distance and an offset direction;
[0154] The calibration information for calibrating the reference fingerprint collection area is determined to be an average value of the N offset information.
[0155] In one embodiment, the processor may also be configured to:
[0156] The determining, according to the position information of the areas occupied by the fingerprints in the N fingerprint images, the N offset information of the reference fingerprint collection area comprises:
[0157] For each fingerprint image, determining center offset information between the center position of the fingerprint image and the center position of the area occupied by the fingerprint;
[0158] The twice of the center offset information is determined as the offset information of the reference fingerprint collection area.
[0159] In one embodiment, the processor may also be configured to:
[0160] The method further comprises:
[0161] When the reference fingerprint icon is displayed, prompt information is displayed, and the prompt information is used to prompt the user that the fingerprint fills the reference fingerprint collection area.
[0162] In one embodiment, the processor may also be configured to:
[0163] The method further comprises:
[0164] Receiving a calibration instruction, wherein the calibration instruction is used to instruct to calibrate the fingerprint collection area;
[0165] In response to the received calibration instruction, fingerprint collection area calibration begins.
[0166] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0167] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for calibrating a fingerprint collection area, characterized in that: include: Performing automatic fingerprint collection area calibration, or receiving a user's calibration instruction and starting fingerprint collection area calibration in response to the received calibration instruction; When calibrating the fingerprint collection area, a reference fingerprint icon is displayed, where the reference fingerprint icon is used to indicate the reference fingerprint collection area of the fingerprint sensor on the screen; Control the fingerprint sensor to collect fingerprints at the reference fingerprint collection area N times to obtain N fingerprint images, where N is an integer greater than or equal to 1; Determine, according to the positions of the areas occupied by the fingerprints in the N fingerprint images, calibration information for calibrating the reference fingerprint collection area, wherein the calibration information is used to indicate the offset of the reference fingerprint collection area; The position of the reference fingerprint collection area on the screen is adjusted according to the calibration information of the reference fingerprint collection area to obtain the position of the calibrated fingerprint collection area on the screen, and the position of the calibrated fingerprint collection area on the screen corresponds to the correct collection area of the fingerprint sensor.
2. The method according to claim 1, characterized in that: The step of determining calibration information for calibrating the reference fingerprint collection area according to the positions of the areas occupied by the fingerprints in the N fingerprint images includes: Determine N offset information of the reference fingerprint collection area according to the position information of the area occupied by the fingerprint in the N fingerprint images, wherein the offset information includes an offset distance and an offset direction; The calibration information for calibrating the reference fingerprint collection area is determined to be an average value of the N offset information.
3. The method according to claim 2, characterized in that The determining of N offset information of the reference fingerprint collection area according to the position information of the area occupied by the fingerprint in the N fingerprint images includes: For each fingerprint image, determining center offset information between the center position of the fingerprint image and the center position of the area occupied by the fingerprint; The twice of the center offset information is determined as the offset information of the reference fingerprint collection area.
4. The method according to claim 1, characterized in that: The method further comprises: When the reference fingerprint icon is displayed, prompt information is displayed, and the prompt information is used to prompt the user that the fingerprint fills the reference fingerprint collection area.
5. A fingerprint collection area calibration device, characterized in that: include: A response module, used to perform automatic fingerprint collection area calibration, or receive a user's calibration instruction and start fingerprint collection area calibration in response to the received calibration instruction; A first display module, used to display a reference fingerprint icon when calibrating the fingerprint collection area, wherein the reference fingerprint icon is used to indicate a reference fingerprint collection area of the fingerprint sensor on the screen; A control module, used to control the fingerprint sensor to collect fingerprints at the reference fingerprint collection area N times to obtain N fingerprint images, where N is an integer greater than or equal to 1; A determination module, used to determine calibration information for calibrating the reference fingerprint collection area according to the positions of the areas occupied by the fingerprints in the N fingerprint images, wherein the calibration information is used to indicate the offset of the reference fingerprint collection area; The calibration module is used to adjust the position of the reference fingerprint collection area on the screen according to the calibration information of the reference fingerprint collection area to obtain the position of the calibrated fingerprint collection area on the screen, and the position of the calibrated fingerprint collection area on the screen corresponds to the correct collection area of the fingerprint sensor.
6. The device according to claim 5, characterized in that The determination module comprises: A first determination submodule, configured to determine N offset information of the reference fingerprint collection area according to the position information of the area occupied by the fingerprint in the N fingerprint images, wherein the offset information includes an offset distance and an offset direction; The second determining submodule is used to determine that the calibration information for calibrating the reference fingerprint collection area is an average value of the N offset information.
7. The device according to claim 6, characterized in that The first determination submodule is used to determine, for each fingerprint image, center offset information between the center position of the fingerprint image and the center position of the area occupied by the fingerprint, and determine twice the center offset information as the offset information of the reference fingerprint collection area.
8. The device according to claim 5, characterized in that The device also includes: The second display module is used to display prompt information when displaying the reference fingerprint icon, wherein the prompt information is used to prompt the user that the fingerprint fills the reference fingerprint collection area.
9. A fingerprint collection area calibration device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the steps in the method according to any one of claims 1 to 4.
10. A computer-readable storage medium storing computer instructions, characterized in that: When the computer instructions are executed by a processor, the steps in the method according to any one of claims 1 to 4 are implemented.