Fingerprint image processing method, terminal device, electronic device and storage medium
By acquiring and processing fingerprint images on miniature smart terminal products, finger movement parameter values can be determined to control the controlled device, solving the problem of limited interactive functions of miniature smart terminal products and realizing more intelligent interaction and control.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING JIIOV TECH CO LTD
- Filing Date
- 2023-08-29
- Publication Date
- 2026-06-19
AI Technical Summary
The interactive functions of micro-intelligent terminal products are limited, making it impossible to achieve flexible intelligent control.
By acquiring the first and second fingerprint images of the target finger, feature extraction is performed. The fingerprint feature map is shifted using the offset parameter value to determine the relative offset parameter value. Based on this value, the motion parameter value of the finger is determined and sent or processed to control the controlled device.
It enables more intelligent interactive functions and control needs, such as sliding navigation similar to a computer touchpad.
Smart Images

Figure CN117253261B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image processing technology, and in particular to a fingerprint image processing method, terminal device, electronic device and storage medium. Background Technology
[0002] With the miniaturization of electronic circuit technologies such as sensors and batteries, more miniature intelligent terminal products have emerged. In these technologies, miniature intelligent terminal products can communicate and connect with other terminals to achieve intelligent control of those terminals. Typically, miniature intelligent terminal products (e.g., smart rings) use buttons (e.g., up / down buttons, confirmation buttons) on the product to control other terminals. However, this simple button functionality limits the interactive capabilities and prevents the fulfillment of more flexible intelligent control needs. Summary of the Invention
[0003] This invention provides a fingerprint image processing method, a terminal device, an electronic device, and a storage medium to at least partially solve the problems existing in the related technologies.
[0004] The first aspect of this invention provides a fingerprint image processing method, the method comprising:
[0005] Acquire the first and second fingerprint images of the target finger;
[0006] Feature extraction is performed on the first fingerprint image and the second fingerprint image respectively to obtain a first fingerprint feature map and a second fingerprint feature map;
[0007] Using at least one offset parameter value, the first fingerprint feature map is shifted at least once to obtain a fingerprint feature map after at least one shift, wherein a different offset parameter value is used for each shift;
[0008] If the difference between the fingerprint feature map and the second fingerprint feature map after the last displacement is less than the difference threshold, the offset parameter value used for the last displacement will be determined as the relative offset parameter value between the first fingerprint image and the second fingerprint image.
[0009] Based on the relative offset parameter value, determine the motion parameter value of the target finger;
[0010] Send or process the motion parameter values of the target finger to control the controlled device.
[0011] Optionally, processing the motion parameter values of the target finger includes:
[0012] The current operating environment and the configuration relationship under the current operating environment are obtained. The configuration relationship under the current operating environment is used to characterize the correspondence between the motion parameter values of the finger and the control commands under the current operating environment. The same motion parameter value of the finger corresponds to the same or different control commands under different operating environments.
[0013] Based on the configuration relationship in the current operating environment and the motion parameter value of the target finger, a corresponding control command is generated and sent to the controlled device.
[0014] Optionally, processing the motion parameter values of the target finger includes:
[0015] The current operating environment and the configuration relationship under the current operating environment are obtained. The configuration relationship under the current operating environment is used to characterize the correspondence between the motion parameter values of the finger and the control commands under the current operating environment. The same motion parameter value of the finger corresponds to the same or different control commands under different operating environments.
[0016] Based on the configuration relationship in the current operating environment and the motion parameter values of the target finger, a corresponding control command is generated and executed.
[0017] Optionally, acquiring a first fingerprint image and a second fingerprint image of the target finger includes:
[0018] Acquire multiple fingerprint images of the target finger taken at consecutive times;
[0019] One of two fingerprint images acquired at adjacent times is identified as the first fingerprint image, and the other fingerprint image is identified as the second fingerprint image.
[0020] Determining the motion parameter values of the target finger based on the relative offset parameter value includes:
[0021] The motion parameter values of the target finger are determined based on the relative offset parameter values corresponding to two fingerprint images acquired at adjacent times.
[0022] Optionally, the first fingerprint feature map is shifted at least once using at least one offset parameter value to obtain a fingerprint feature map after at least one shift, including:
[0023] The first fingerprint feature map is shifted once using the initial offset parameter value to obtain the fingerprint feature map after the first shift.
[0024] Determine the degree of difference between the first displacement fingerprint feature map and the second fingerprint feature map;
[0025] If the difference is not less than the difference threshold, the initial offset parameter value is adjusted to obtain the adjusted offset parameter value. The first fingerprint feature map is then shifted once using the adjusted offset parameter value to obtain the second shifted fingerprint feature map. This process continues until a shifted fingerprint feature map is obtained with a difference between the first and second fingerprint feature maps that is less than the difference threshold.
[0026] Optionally, the initial offset parameter value is determined based on a preset value obtained, or the initial offset parameter value is determined based on at least one historically obtained relative offset parameter value.
[0027] Optionally, determining the motion parameter values of the target finger based on the relative offset parameter value includes:
[0028] Based on the relative offset parameter value, the movement direction, movement distance, and / or movement speed of the target finger are determined.
[0029] Optionally, when the first fingerprint image and the second fingerprint image are two adjacent frames obtained by acquiring fingerprint images according to the acquisition period, the motion parameter value of the target finger is determined based on the relative offset parameter value, including:
[0030] The movement speed of the target finger is determined based on the relative offset parameter value and the acquisition period.
[0031] Optionally, if the first fingerprint image and the second fingerprint image are respectively the starting image of the movement of the target finger and the ending image of the movement of the target finger, the method further includes:
[0032] Obtain the duration between the acquisition times of the motion start image and the motion end image;
[0033] Determining the motion parameter values of the target finger based on the relative offset parameter value includes:
[0034] The movement speed of the target finger is determined based on the relative offset parameter value and the duration.
[0035] Optionally, different motion parameter values of the target finger correspond to different cursor movement control commands, or different interface display control commands, or different video playback control commands, or different audio playback control commands.
[0036] A second aspect of the present invention provides a fingerprint image processing apparatus, the apparatus comprising:
[0037] The first acquisition module is used to acquire a first fingerprint image and a second fingerprint image of the target finger;
[0038] The extraction module is used to extract features from the first fingerprint image and the second fingerprint image respectively to obtain a first fingerprint feature map and a second fingerprint feature map;
[0039] The first determining module is used to perform at least one displacement on the first fingerprint feature map using at least one offset parameter value to obtain a fingerprint feature map after at least one displacement, wherein each displacement uses a different offset parameter value;
[0040] The second determining module is used to determine the offset parameter value used for the last displacement as the relative offset parameter value between the first fingerprint image and the second fingerprint image when the difference between the fingerprint feature image after the last displacement is less than the difference threshold.
[0041] The third determining module is used to determine the motion parameter value of the target finger based on the relative offset parameter value;
[0042] The processing module is used to send or process the motion parameter values of the target finger in order to control the controlled device.
[0043] Optionally, the processing module is specifically used for:
[0044] The current operating environment and the configuration relationship under the current operating environment are obtained. The configuration relationship under the current operating environment is used to characterize the correspondence between the motion parameter values of the finger and the control commands under the current operating environment. The same motion parameter value of the finger corresponds to the same or different control commands under different operating environments.
[0045] Based on the configuration relationship in the current operating environment and the motion parameter value of the target finger, a corresponding control command is generated and sent to the controlled device.
[0046] Optionally, the processing module is specifically used for:
[0047] The current operating environment and the configuration relationship under the current operating environment are obtained. The configuration relationship under the current operating environment is used to characterize the correspondence between the motion parameter values of the finger and the control commands under the current operating environment. The same motion parameter value of the finger corresponds to the same or different control commands under different operating environments.
[0048] Based on the configuration relationship in the current operating environment and the motion parameter values of the target finger, a corresponding control command is generated and executed.
[0049] Optionally, the first acquisition module is specifically used for:
[0050] Acquire multiple fingerprint images of the target finger taken at consecutive times;
[0051] One of two fingerprint images acquired at adjacent times is identified as the first fingerprint image, and the other fingerprint image is identified as the second fingerprint image.
[0052] The third determining module is specifically used for:
[0053] The motion parameter values of the target finger are determined based on the relative offset parameter values corresponding to two fingerprint images acquired at adjacent times.
[0054] Optionally, the first determining module is specifically used for:
[0055] The first fingerprint feature map is shifted once using the initial offset parameter value to obtain the fingerprint feature map after the first shift.
[0056] Determine the degree of difference between the first displacement fingerprint feature map and the second fingerprint feature map;
[0057] If the difference is not less than the difference threshold, the initial offset parameter value is adjusted to obtain the adjusted offset parameter value. The first fingerprint feature map is then shifted once using the adjusted offset parameter value to obtain the second shifted fingerprint feature map. This process continues until a shifted fingerprint feature map is obtained with a difference between the first and second fingerprint feature maps that is less than the difference threshold.
[0058] Optionally, the initial offset parameter value is determined based on a preset value obtained, or the initial offset parameter value is determined based on at least one historically obtained relative offset parameter value.
[0059] Optionally, the third determining module is specifically used for:
[0060] Based on the relative offset parameter value, the movement direction, movement distance, and / or movement speed of the target finger are determined.
[0061] Optionally, when the first fingerprint image and the second fingerprint image are two adjacent frames obtained by acquiring fingerprint images according to the acquisition cycle, the third determining module is specifically used for:
[0062] The movement speed of the target finger is determined based on the relative offset parameter value and the acquisition period.
[0063] Optionally, if the first fingerprint image and the second fingerprint image are respectively the starting image of the movement of the target finger and the ending image of the movement of the target finger, the method further includes:
[0064] The third acquisition module is used to acquire the duration between the acquisition times of the motion start image and the motion end image;
[0065] The third determining module is specifically used for:
[0066] The movement speed of the target finger is determined based on the relative offset parameter value and the duration.
[0067] Optionally, different motion parameter values of the target finger correspond to different cursor movement control commands, or different interface display control commands, or different video playback control commands, or different audio playback control commands.
[0068] A third aspect of the present invention provides a terminal device, the terminal device comprising:
[0069] A fingerprint acquisition module is used to acquire the first and second fingerprint images of the target finger.
[0070] Communication components are used to communicate with the controlled device;
[0071] A processor for performing the fingerprint image processing method described in any of the first aspects above.
[0072] Optionally, the terminal device may include a controlled device, or the terminal device may be a different device from the controlled device.
[0073] Optionally, the terminal device is a wearable device.
[0074] Optionally, the terminal device is a remote control device adapted to the controlled device.
[0075] A fourth aspect of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps in the fingerprint image processing method as described in the first aspect of the present invention.
[0076] A fifth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the fingerprint image processing method as described in the first aspect of the present invention.
[0077] In this embodiment of the invention, motion parameter values of the target finger can be analyzed based on the first and second fingerprint images of the target finger, thereby enabling control of the controlled device based on these motion parameter values. This embodiment of the invention proposes a technical solution applicable to terminal devices. It can obtain finger motion parameters based on the processing of fingerprint images. In specific applications, the terminal device can be integrated into smart terminal products, allowing the use of the terminal device to collect fingerprint images during finger swiping. The specific motion parameters of the finger swiping can then be analyzed based on the fingerprint images, thereby achieving more intelligent interactive functions and control requirements (e.g., swipe navigation functions similar to a computer touchpad). Attached Figure Description
[0078] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0079] Figure 1 This is a flowchart of a fingerprint image processing method according to an embodiment of the present invention;
[0080] Figure 2 This is a flowchart of another fingerprint image processing method according to an embodiment of the present invention;
[0081] Figure 3 This is a flowchart of another fingerprint image processing method according to an embodiment of the present invention;
[0082] Figure 4 This is a structural block diagram of a fingerprint image processing device according to an embodiment of the present invention;
[0083] Figure 5 This is a schematic diagram of the structure of a wearable device provided in an embodiment of the present invention;
[0084] Figure 6 This is a flowchart illustrating a specific example of a fingerprint image processing method according to an embodiment of the present invention. Detailed Implementation
[0085] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0086] Reference Figure 1 The flowchart illustrates a fingerprint image processing method according to an embodiment of the present invention. The fingerprint image processing method provided by the embodiment of the present invention may include the following steps:
[0087] S101, acquire the first fingerprint image and the second fingerprint image of the target finger.
[0088] In this embodiment of the invention, the fingerprint image processing method can be executed by a terminal device, which further includes a fingerprint acquisition module. Specifically, the fingerprint acquisition module can acquire a first fingerprint image and a second fingerprint image of the target finger.
[0089] In this embodiment of the invention, the target finger may be a finger whose fingerprint image information has been pre-recorded and stored in the processor. In this case, the processor can verify the fingerprint image collected by the fingerprint acquisition module to verify whether it is the fingerprint image of the target finger whose fingerprint image information has been pre-recorded. If it is, the verification is successful. If the verification is successful, subsequent operations are performed, namely, acquiring the first fingerprint image and the second fingerprint image of the target finger to prevent illegal fingerprints from illegally operating the controlled device.
[0090] In this embodiment of the invention, the first fingerprint image and the second fingerprint image refer to fingerprint images at different times. Specifically, the first fingerprint image and the second fingerprint image can be fingerprint images acquired at two adjacent times, or they can be the starting image and ending image of the target finger's movement. In this embodiment of the invention, the first fingerprint image and the second fingerprint image can be fingerprint images acquired by the fingerprint acquisition module during the process of the target finger sliding above the fingerprint acquisition module.
[0091] S102, feature extraction is performed on the first fingerprint image and the second fingerprint image respectively to obtain the first fingerprint feature map and the second fingerprint feature map.
[0092] Specifically, in this embodiment of the invention, the fingerprint image can be binarized to obtain a fingerprint feature map.
[0093] Optionally, in this embodiment of the invention, the fingerprint image may also be locally binarized. Specifically, the fingerprint portion included in the fingerprint image may be binarized to obtain a fingerprint feature map.
[0094] S103, using at least one offset parameter value, the first fingerprint feature map is shifted at least once to obtain a fingerprint feature map after at least one shift.
[0095] In this process, different offset parameter values are used for each displacement.
[0096] S104, if the difference between the fingerprint feature map and the second fingerprint feature map after the last displacement is less than the difference threshold, the offset parameter value used for the last displacement is determined as the relative offset parameter value between the first fingerprint image and the second fingerprint image.
[0097] In this embodiment of the invention, two fingerprint feature images (e.g., the fingerprint feature image after the last displacement and the second fingerprint feature image) can be placed in the same coordinate system to determine the degree of difference between the two fingerprint feature images. The same coordinate system can be a coordinate system determined based on the second fingerprint feature image, or a pre-specified coordinate system.
[0098] In this embodiment of the invention, the purpose of displacing the first fingerprint feature map is to make the fingerprint feature map after displacement substantially overlap with the second fingerprint feature map in the same coordinate system, and to determine the relative offset parameter value based on the displacement process.
[0099] Specifically, in this embodiment of the invention, the first fingerprint feature map can be shifted based on the offset parameter value to adjust the position of the first fingerprint feature map in the coordinate system (e.g., the same coordinate system mentioned above).
[0100] In this embodiment of the invention, different offset parameter values can be used to perform different displacements on the first fingerprint feature map. Each displacement is based on the first fingerprint feature map, or each displacement is based on the first fingerprint feature map after the previous displacement.
[0101] In this embodiment of the invention, after each displacement, the difference between the displaced fingerprint feature map and the second fingerprint feature map can be determined. If the difference is less than a difference threshold, the displacement is stopped, and the displaced fingerprint feature map obtained in that displacement is taken as the last displaced fingerprint feature map. The offset parameter value used for the last displacement is determined as the relative offset parameter value between the first fingerprint image and the second fingerprint image.
[0102] In one possible scenario, the fingerprint image acquired by the fingerprint acquisition module may be an incomplete fingerprint image. In this case, the fingerprint image can be completed using pre-stored fingerprint image information, and then feature extraction can be performed on the completed first and second fingerprint images to determine the motion parameter values of the target finger.
[0103] S105, determine the motion parameter value of the target finger based on the relative offset parameter value.
[0104] In this embodiment of the invention, the motion parameter values may include one or more of the following parameters that can reflect the movement of the target finger: motion direction, motion distance, motion speed, etc.
[0105] S106, Send or process the motion parameter values of the target finger to control the controlled device.
[0106] In this embodiment of the invention, the terminal device can directly process the motion parameter values to obtain the corresponding control commands and send them to the controlled device to control the controlled device.
[0107] In this embodiment of the invention, the terminal device may also directly send the motion parameter values to the controlled device without processing them, so that the controlled device can process the control commands based on the motion parameter values and execute the corresponding control commands.
[0108] Therefore, in this embodiment of the invention, the motion parameter values of the target finger can be analyzed based on the first fingerprint image and the second fingerprint image of the target finger, and the controlled device can be controlled based on the motion parameter values.
[0109] Based on the technical solution proposed in this invention, finger movement parameters can be obtained based on fingerprint image processing. In specific applications, terminal devices can be integrated into smart terminal products, thereby enabling the use of terminal devices to collect fingerprint images when the finger slides. Furthermore, the specific movement parameters of the finger slide can be analyzed based on the fingerprint images, thereby realizing more intelligent interactive functions and control needs (e.g., sliding navigation functions similar to computer touchpads).
[0110] Reference Figure 2 The flowchart illustrates a fingerprint image processing method according to an embodiment of the present invention. Specifically, the fingerprint image processing method may include the following steps:
[0111] S201, acquire the first fingerprint image and the second fingerprint image of the target finger.
[0112] S202, feature extraction is performed on the first fingerprint image and the second fingerprint image respectively to obtain the first fingerprint feature map and the second fingerprint feature map.
[0113] Steps S201-S202 are similar to steps S101-S102 described above, and will not be repeated here.
[0114] S203, using at least one offset parameter value, the first fingerprint feature map is shifted at least once to obtain a fingerprint feature map after at least one shift.
[0115] Specifically, in this embodiment of the invention, step S203 includes the following sub-steps:
[0116] S2031, the first fingerprint feature map is shifted once using the initial offset parameter value to obtain the first shifted fingerprint feature map.
[0117] The initial offset parameter value is determined based on a preset value obtained, or the initial offset parameter value is determined based on at least one historically obtained relative offset parameter value.
[0118] In this embodiment of the invention, the historically obtained relative offset parameter value refers to the relative offset parameter value determined by the current terminal device after acquiring the first and second fingerprint images of the target finger in the past. In this embodiment of the invention, the terminal device can store the relative offset parameter values determined after each fingerprint image processing step, so as a reference for the initial offset parameter value when the fingerprint image processing process is executed again.
[0119] In this embodiment of the invention, the initial offset parameter value can be determined based on the historically obtained relative offset parameter value. For example, the average of multiple historically obtained relative offset parameter values can be used as the initial offset parameter value. Another example is the median of multiple historically obtained relative offset parameter values. Yet another example is the previously obtained relative offset parameter value.
[0120] In this embodiment of the invention, the initial offset parameter value can be represented as a vector.
[0121] In this embodiment of the invention, displacing the first fingerprint feature map according to the initial offset parameter value can be understood as calculating the coordinate positions of each feature point in the first fingerprint feature map based on the initial offset parameter value. Specifically, the coordinates of each feature point included in the first fingerprint feature map and the vector can be calculated to obtain the coordinates of each feature point after displacement. The first fingerprint image feature map is then displaced based on the coordinates of the displaced feature points to obtain the displaced first fingerprint feature map.
[0122] In this embodiment of the invention, the feature points can represent each point in the feature map that corresponds to the pixel points included in the original fingerprint image, or they can represent the center point of the original fingerprint image corresponding to the feature map, etc.
[0123] S2032, determine the degree of difference between the first fingerprint feature map and the second fingerprint feature map after displacement.
[0124] In this embodiment of the invention, the degree of difference can be obtained based on the degree of difference or similarity between the first fingerprint feature map and the second fingerprint feature map after displacement.
[0125] Specifically, the first and second fingerprint feature maps after displacement are XORed and then summed to obtain the difference.
[0126] Specifically, the values at corresponding positions in the shifted first and second fingerprint feature maps are compared. If the values at corresponding positions are different, the result is 1; otherwise, it is 0. An XOR operation is performed on all corresponding positions in the two feature maps, and then the results are summed. The larger this summation value, the greater the difference between the shifted first and second fingerprint feature maps.
[0127] S2033, if the difference is not less than the difference threshold, the initial offset parameter value is adjusted to obtain the adjusted offset parameter value. The first fingerprint feature map is shifted once using the adjusted offset parameter value to obtain the second shifted fingerprint feature map, until a shifted fingerprint feature map with a difference less than the difference threshold is obtained.
[0128] Specifically, in this embodiment of the invention, during the adjustment process, an initial offset parameter value can be used as a reference, and a step value can be increased or decreased in multiple directions (such as up, down, left, and right) to obtain multiple adjusted offset parameter values. Based on the multiple adjusted offset parameter values, displacement is performed to obtain multiple displacement fingerprint feature maps. When the difference between the multiple displacement fingerprint feature maps and the second fingerprint feature map is less than the difference threshold, the offset parameter value with the smallest difference is taken as the relative offset parameter value.
[0129] In this embodiment of the invention, the difference threshold can be a value set by technicians according to actual needs.
[0130] In this embodiment of the invention, if the difference is not less than the difference threshold, it indicates that the initial offset parameter value has a deviation. The fingerprint feature map obtained after adjusting the position of the first fingerprint feature map using the initial offset parameter cannot substantially overlap with the second fingerprint feature map. In this case, the initial offset parameter value needs to be updated, for example, by updating the vector.
[0131] Specifically, in the process of determining the difference degree in step S2032 above, the difference degree between the first fingerprint feature map and the second fingerprint feature map after displacement can also be determined, so that the initial offset parameter value can be adjusted according to the difference degree.
[0132] Specifically, we can first determine the matching feature points between the first and second fingerprint feature maps after displacement, then determine the degree of difference (which can be represented by a vector) based on the position coordinates between the feature points, and then adjust the initial offset parameter value based on the degree of difference.
[0133] After adjusting the initial offset parameter value, the first fingerprint feature map can be shifted again using the adjusted offset parameter value until the difference between the first and second fingerprint feature maps after shifting is less than the difference threshold. The last adjusted offset parameter value is then used as the relative offset parameter value.
[0134] In this embodiment of the invention, the relative offset parameter value can be a vector.
[0135] In this embodiment of the invention, the relative offset parameter value can be understood as the offset parameter value between matching feature points on the first fingerprint feature map and the second fingerprint feature map.
[0136] S204, if the difference between the fingerprint feature map and the second fingerprint feature map after the last displacement is less than the difference threshold, the offset parameter value used for the last displacement is determined as the relative offset parameter value between the first fingerprint image and the second fingerprint image.
[0137] S205, determine the motion parameter value of the target finger based on the relative offset parameter value.
[0138] In this embodiment of the invention, the motion parameter value of the target finger may include at least one of motion direction, motion distance, and motion speed. Step S205 specifically includes: determining the motion direction, motion distance, and / or motion speed of the target finger based on the relative offset parameter value.
[0139] Specifically, in this embodiment of the invention, when the first fingerprint image and the second fingerprint image are two adjacent frames obtained by acquiring fingerprint images according to the acquisition cycle, step S205 may include:
[0140] S205A, determine the movement speed of the target finger based on the relative offset parameter value and the acquisition period.
[0141] In this embodiment of the invention, it is assumed that the acquisition time of the second fingerprint image is later than that of the first fingerprint image. In this case, the relative offset parameter value may include the direction of motion of the second fingerprint image relative to the first fingerprint image.
[0142] When the relative offset parameter value is a vector, the direction of movement of the target finger can be determined based on the direction of the vector.
[0143] In this embodiment of the invention, the movement direction of the target finger can be sliding in any direction, such as sliding upwards, downwards, leftwards, rightwards, in a circle, or diagonally.
[0144] In this embodiment of the invention, when the relative offset parameter value is a vector, the movement distance of the target finger can be determined based on the length of the vector, and the movement speed can be obtained based on the movement distance and the acquisition period.
[0145] When the first fingerprint image and the second fingerprint image are respectively the starting image and the ending image of the target finger's movement, the method further includes the following steps:
[0146] S1, obtain the duration between the acquisition times of the motion start image and the motion end image.
[0147] In this embodiment of the invention, the acquisition time can be recorded while acquiring fingerprint images, thereby determining the duration between the acquisition times of the motion start image and the motion end image.
[0148] Step S205 may include:
[0149] S205B, determine the movement speed of the target finger based on the relative offset parameter value and the duration.
[0150] Specifically, the speed of movement can be obtained based on the distance and duration of movement in the relative offset parameter value.
[0151] In this embodiment of the invention, different motion parameter values of the target finger correspond to different cursor movement control commands, or different interface display control commands, or different video playback control commands, or different audio playback control commands.
[0152] Among them, the cursor movement control command means that the cursor moves with the sliding of the target finger. The direction of the cursor movement is the same as the direction of the target finger movement, and the movement speed and distance of the cursor are proportional to the movement speed and distance of the target finger movement.
[0153] Among them, interface display control commands refer to control commands for the display interface, such as page turning, scrolling, zooming, etc.
[0154] Video playback control commands and audio playback control commands refer to control commands for the video or audio playing on the display interface, such as fast forwarding and rewinding of playback progress, and increasing or decreasing playback volume.
[0155] S206, Send or process the motion parameter values of the target finger to control the controlled device.
[0156] In this embodiment of the invention, the terminal device that can execute the fingerprint image processing method can directly send the motion parameter value to the controlled device, which then processes the motion parameter value to obtain and execute the corresponding control command.
[0157] In this embodiment of the invention, the terminal device executing the fingerprint image processing method can also process the motion parameter values to obtain control commands to control the controlled device.
[0158] Optionally, in this embodiment of the invention, step S206 may include:
[0159] S2061, Obtain the current operating environment and the configuration relationship under the current operating environment. The configuration relationship under the current operating environment is used to characterize the correspondence between the motion parameter values of the finger and the control commands under the current operating environment. The same motion parameter value of the finger corresponds to the same or different control commands under different operating environments.
[0160] S2062, Based on the configuration relationship in the current operating environment and the motion parameter value of the target finger, generate a corresponding control command and send the generated control command to the controlled device.
[0161] In this embodiment of the invention, the current operating environment is determined by the current operating interface and / or the current operating mode.
[0162] In this embodiment of the invention, the control commands corresponding to the same motion parameter value may be the same or different under different operating environments. For example, the motion parameter value of sliding upwards may be page turning in a text display interface, scrolling in a web page display interface, or fast forwarding or volume amplification in a video display interface.
[0163] In this embodiment of the invention, the terminal device and the controlled device executing the fingerprint image processing method can be the same electronic device or different electronic devices.
[0164] When the terminal device executing the fingerprint image processing method and the controlled device are different electronic devices, the terminal device can send the generated control command to the controlled device.
[0165] In this embodiment of the invention, the configuration relationship is the correspondence between pre-configured motion parameter values and control commands. This configuration relationship can be stored locally on the terminal device, on the controlled device, or on a third-party server.
[0166] In this embodiment of the invention, the control instructions included in the configuration relationship can be determined based on any one or more of the following: the movement direction of the target finger, the movement distance of the target finger, and the movement speed of the target finger. For example, different movement directions of the target finger can each determine a control instruction: sliding the target finger to the left determines the control instruction to turn the current display page one page to the left; sliding the target finger to the right determines the control instruction to turn the current display page one page to the right. Another example: combining the movement direction and movement distance of the target finger can determine a control instruction; sliding the target finger upwards combined with the sliding distance can determine the control instruction to slide the current display page upwards, specifying the sliding distance. Yet another example: combining the movement direction and movement speed of the target finger can determine a control instruction: if the target finger's movement direction is to the left and the current sliding speed is not less than a preset threshold, the corresponding control instruction can be determined to turn the current display page one page to the left; if the target finger's movement direction is to the left and the current sliding speed is less than a preset threshold, the corresponding control instruction can be determined to drag the current page to the left. For example, the direction of movement of the target finger, the distance of movement of the target finger, and the speed of movement of the target finger can be combined to determine a control command. If the direction of movement of the target finger is to slide to the left and the current sliding speed is not less than a preset threshold, the corresponding control command can be determined to be to flip the current display page to the left. Combining the sliding distance of the target finger, the number of pages to flip can be determined. If the direction of movement of the target finger is to slide to the left and the current sliding speed is less than a preset threshold, the corresponding control command can be determined to be to drag the current page to the left. Combining the sliding distance, the drag distance can be determined.
[0167] In this embodiment of the invention, the terminal device can obtain the configuration relationship from the local device, the controlled device, or a third-party server, and process the motion parameter value of the target finger determined by fingerprint recognition into a corresponding control command based on the configuration relationship, and generate the corresponding control command to send to the controlled device.
[0168] Optionally, in this embodiment of the invention, step S206 may further include:
[0169] S2061', Obtain the current operating environment and the configuration relationship under the current operating environment. The configuration relationship under the current operating environment is used to characterize the correspondence between the motion parameter values of the finger and the control commands under the current operating environment. The same motion parameter value of the finger corresponds to the same or different control commands under different operating environments.
[0170] S2062': Based on the configuration relationship in the current operating environment and the motion parameter value of the target finger, generate corresponding control commands and execute the control commands.
[0171] In this embodiment of the invention, when the terminal device executing the fingerprint image processing method and the controlled device are the same electronic device, the terminal device can directly execute the control command.
[0172] Reference Figure 3 The flowchart illustrates a fingerprint image processing method according to an embodiment of the present invention. The fingerprint image processing method provided by the embodiment of the present invention may specifically include the following steps:
[0173] S301, acquire multiple fingerprint images of the target finger acquired at consecutive times.
[0174] S302, one of the two fingerprint images acquired at adjacent times is identified as the first fingerprint image, and the other fingerprint image is identified as the second fingerprint image.
[0175] In this embodiment of the invention, the fingerprint image of the target finger can be continuously acquired multiple times according to the acquisition cycle during the sliding process of the target finger, so as to obtain multiple fingerprint images with continuous acquisition time.
[0176] In this embodiment of the invention, one of the two adjacent fingerprint images in a plurality of fingerprint images can be determined as the first fingerprint image and the other fingerprint image can be determined as the second fingerprint image, according to the acquisition time.
[0177] S303, feature extraction is performed on the first fingerprint image and the second fingerprint image respectively to obtain the first fingerprint feature map and the second fingerprint feature map.
[0178] S304, using at least one offset parameter value, the first fingerprint feature map is shifted at least once to obtain at least one shifted fingerprint feature map, wherein each shift uses a different offset parameter value.
[0179] S305, if the difference between the fingerprint feature map and the second fingerprint feature map after the last displacement is less than the difference threshold, the offset parameter value used for the last displacement is determined as the relative offset parameter value between the first fingerprint image and the second fingerprint image.
[0180] Steps S303 to S305 are similar to the aforementioned steps S202 to S204, and will not be repeated here.
[0181] S306, determine the motion parameter value of the target finger based on the relative offset parameter values corresponding to two fingerprint images acquired at adjacent times.
[0182] In this embodiment of the invention, multiple relative offset parameter values can be determined based on two fingerprint images acquired at adjacent times, and then the motion parameter values of the target finger can be determined based on these multiple relative offset parameter values. For example, the average relative offset parameter value can be determined based on the multiple relative offset parameter values, thereby obtaining the motion parameter values of the target finger.
[0183] In this embodiment of the invention, the motion parameter values of the target finger determined based on multiple fingerprint images acquired at consecutive times can more accurately reflect the actual motion status of the target finger.
[0184] S307, Send or process the motion parameter values of the target finger to control the controlled device.
[0185] Step S307 is similar to the aforementioned step S206, and will not be described again here.
[0186] Based on the same inventive concept, embodiments of the present invention provide a fingerprint image processing device, with reference to... Figure 4 , Figure 4 This is a schematic diagram of a fingerprint image processing device provided in an embodiment of the present invention, the device comprising:
[0187] The first acquisition module 401 is used to acquire a first fingerprint image and a second fingerprint image of the target finger;
[0188] Extraction module 402 is used to extract features from the first fingerprint image and the second fingerprint image respectively to obtain a first fingerprint feature map and a second fingerprint feature map;
[0189] The first determining module 403 is used to perform at least one displacement on the first fingerprint feature map using at least one offset parameter value to obtain at least one displacement fingerprint feature map, wherein each displacement uses a different offset parameter value;
[0190] The second determining module 404 is used to determine the offset parameter value used for the last displacement as the relative offset parameter value between the first fingerprint image and the second fingerprint image when the difference between the fingerprint feature image and the second fingerprint image after the last displacement is less than the difference threshold.
[0191] The third determining module 405 is used to determine the motion parameter value of the target finger based on the relative offset parameter value;
[0192] The processing module 406 is used to send or process the motion parameter values of the target finger in order to control the controlled device.
[0193] Optionally, the processing module 406 is specifically used for:
[0194] The current operating environment and the configuration relationship under the current operating environment are obtained. The configuration relationship under the current operating environment is used to characterize the correspondence between the motion parameter values of the finger and the control commands under the current operating environment. The same motion parameter value of the finger corresponds to the same or different control commands under different operating environments.
[0195] Based on the configuration relationship in the current operating environment and the motion parameter value of the target finger, a corresponding control command is generated and sent to the controlled device.
[0196] Optionally, the processing module 406 is specifically used for:
[0197] The current operating environment and the configuration relationship under the current operating environment are obtained. The configuration relationship under the current operating environment is used to characterize the correspondence between the motion parameter values of the finger and the control commands under the current operating environment. The same motion parameter value of the finger corresponds to the same or different control commands under different operating environments.
[0198] Based on the configuration relationship in the current operating environment and the motion parameter values of the target finger, a corresponding control command is generated and executed.
[0199] Optionally, the first acquisition module 401 is specifically used for:
[0200] Acquire multiple fingerprint images of the target finger taken at consecutive times;
[0201] One of two fingerprint images acquired at adjacent times is identified as the first fingerprint image, and the other fingerprint image is identified as the second fingerprint image.
[0202] The third determining module 405 is specifically used for:
[0203] The motion parameter values of the target finger are determined based on the relative offset parameter values corresponding to two fingerprint images acquired at adjacent times.
[0204] Optionally, the first determining module 403 is specifically used for:
[0205] The first fingerprint feature map is shifted once using the initial offset parameter value to obtain the fingerprint feature map after the first shift.
[0206] Determine the degree of difference between the first displacement fingerprint feature map and the second fingerprint feature map;
[0207] If the difference is not less than the difference threshold, the initial offset parameter value is adjusted to obtain the adjusted offset parameter value. The first fingerprint feature map is then shifted once using the adjusted offset parameter value to obtain the second shifted fingerprint feature map. This process continues until a shifted fingerprint feature map is obtained with a difference between the first and second fingerprint feature maps that is less than the difference threshold.
[0208] Optionally, the initial offset parameter value is determined based on a preset value obtained, or the initial offset parameter value is determined based on at least one historically obtained relative offset parameter value.
[0209] Optionally, the third determining module 405 is specifically used for:
[0210] Based on the relative offset parameter value, the movement direction, movement distance, and / or movement speed of the target finger are determined.
[0211] Optionally, when the first fingerprint image and the second fingerprint image are two adjacent frames obtained by acquiring fingerprint images according to the acquisition cycle, the third determining module 405 is specifically used for:
[0212] The movement speed of the target finger is determined based on the relative offset parameter value and the acquisition period.
[0213] Optionally, if the first fingerprint image and the second fingerprint image are respectively the starting image of the movement of the target finger and the ending image of the movement of the target finger, the method further includes:
[0214] The third acquisition module is used to acquire the duration between the acquisition times of the motion start image and the motion end image;
[0215] The third determining module 405 is specifically used for:
[0216] The movement speed of the target finger is determined based on the relative offset parameter value and the duration.
[0217] Optionally, different motion parameter values of the target finger correspond to different cursor movement control commands, or different interface display control commands, or different video playback control commands, or different audio playback control commands.
[0218] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.
[0219] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.
[0220] Based on the same inventive concept, embodiments of the present invention provide a terminal device, the terminal device comprising:
[0221] The fingerprint acquisition module is used to acquire the first and second fingerprint images of the target finger.
[0222] Communication components are used to communicate with the controlled device.
[0223] In this embodiment of the invention, the communication component can be a wireless communication component, a near-field communication component, or a Bluetooth communication component. Preferably, it can be a Bluetooth communication component to reduce the overall power consumption of the terminal device.
[0224] A processor for performing the fingerprint image processing method described in any of the first aspects above.
[0225] In an optional embodiment of the present invention, the terminal device includes a controlled device, or the terminal device is a different device from the controlled device.
[0226] Specifically, in this embodiment of the invention, the terminal device may include a controlled device, such as a mobile phone as the terminal device and a mobile phone screen as the controlled device, in which case the mobile phone processor can control the display of the mobile phone screen.
[0227] In this embodiment of the invention, the terminal device and the controlled device can be two devices that are physically separate. For example, the terminal device can be a smart ring, and the controlled device can be a computer screen, with the processor in the smart ring controlling the computer screen. Another example is that the terminal device can be a handheld device, and the controlled device can be an XR device or a mobile phone, in which case the processor in the handheld device can control the XR device or the mobile phone.
[0228] In an optional embodiment of the present invention, the terminal device is a component integrated on a mobile terminal, and the mobile terminal and the controlled device are different devices.
[0229] In one optional embodiment of the present invention, the terminal device is a wearable device.
[0230] Specifically, such as Figure 5 The diagram illustrates a structural schematic of a wearable device according to an embodiment of the present invention. In this embodiment, the wearable device may include the following components:
[0231] A capacitive fingerprint chip is used to collect fingerprint images and transmit them to an MCU.
[0232] The microcontroller unit (MCU) is used to execute the fingerprint image processing method described in any of the above embodiments to obtain motion parameter values or control commands.
[0233] Bluetooth Low Energy is used to transmit motion parameter values or control commands obtained by the MCU to the controlled device.
[0234] A power supply is used to provide power to other components.
[0235] In this embodiment of the invention, the wearable device may be a smartwatch, a smart ring, a smart bracelet, etc.
[0236] For ease of understanding, the following is combined with Figure 6 The specific implementation methods corresponding to the fingerprint image processing method provided in this invention will be explained. In this invention, the fingerprint image processing method can be applied to wearable devices, such as... Figure 6 As shown, the fingerprint image processing method provided in this embodiment of the invention may specifically include:
[0237] S61, acquire the Nth frame fingerprint image and the acquisition time Tn.
[0238] In this embodiment of the invention, fingerprint images can be acquired using a capacitive fingerprint chip.
[0239] In this embodiment of the invention, the MCU in the wearable device can acquire a fingerprint image from the capacitive fingerprint chip and store the fingerprint image and the acquisition time.
[0240] S62, perform local binarization processing on the Nth frame fingerprint image to obtain N frame feature maps.
[0241] In this embodiment of the invention, the MCU in the wearable device can process and analyze fingerprint images.
[0242] S63, acquire the fingerprint image of the N+1th frame and the acquisition time Tn+1.
[0243] S64, perform local binarization processing on the N+1 frame fingerprint image to obtain the N+1 frame feature map.
[0244] S65, set the offset parameter.
[0245] In this embodiment of the invention, the offset parameter can be the initial offset parameter or the offset parameter after the most recent adjustment.
[0246] In this embodiment of the invention, the offset parameters may include: horizontal offset X and vertical offset Y.
[0247] S66, Calculate the offset feature map N'.
[0248] In this embodiment of the invention, the N frames of feature maps can be shifted based on the offset parameter to obtain the offset feature map N'.
[0249] Specifically, the feature maps of N frames can be shifted based on the horizontal offset X and the vertical offset Y.
[0250] S67, calculate the matching value between the offset feature map N' and the feature map of frame N+1.
[0251] S68, determine whether the calculated matching value is less than the threshold. If it is less than the threshold, proceed to step S69. If it is not less than the threshold, update the offset parameter and proceed to step S65.
[0252] S69, calculate the movement distance using the offset parameter.
[0253] S70, set frame N+1 to frame N to enter a new loop, and proceed to step S63.
[0254] In practical applications, each time a target finger slides, the capacitive fingerprint chip can acquire multiple frames of fingerprint images generated during the sliding process. In this embodiment of the invention, the offset parameter between each two adjacent fingerprint frames can be calculated to obtain the movement distance. Thus, the movement distance between the fingerprint image corresponding to the starting point of the slide and the fingerprint image corresponding to the ending point of the slide can be determined each time the target finger slides. Similarly, the sliding direction and sliding speed of the target finger can also be determined based on the multiple frames of fingerprint images generated during the sliding process.
[0255] In one optional embodiment of the present invention, the terminal device is a remote control device adapted to the controlled device.
[0256] In this embodiment of the invention, the terminal device can also be a remote control device. The remote control device can collect the fingerprint image generated by the target finger during the sliding process through the fingerprint collection component, and obtain the motion parameter value of the target finger based on the fingerprint image analysis, thereby controlling the controlled device.
[0257] In this embodiment of the invention, the controlled device can be other mobile terminals, smart displays, smart home appliances, XR devices, etc.
[0258] Based on the same inventive concept, embodiments of the present invention provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps in the fingerprint image processing method described in any of the above embodiments.
[0259] Based on the same inventive concept, embodiments of the present invention provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the fingerprint image processing method described in any of the above embodiments.
[0260] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, apparatus, or computer program products. Therefore, embodiments of the present invention can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of the present invention can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0261] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable fingerprint image processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable fingerprint image processing terminal device, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0262] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable fingerprint image processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0263] These computer program instructions can also be loaded onto a computer or other programmable fingerprint image processing terminal device, causing a series of operational steps to be performed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal device for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0264] Although preferred embodiments of the present invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present invention.
[0265] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.
[0266] The fingerprint image processing method, terminal device, electronic device, and storage medium provided by the present invention have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A fingerprint image processing method, characterized in that, The method includes: Acquire the first and second fingerprint images of the target finger; Feature extraction is performed on the first fingerprint image and the second fingerprint image respectively to obtain a first fingerprint feature map and a second fingerprint feature map; Using at least one offset parameter value, the first fingerprint feature map is shifted at least once to obtain a fingerprint feature map after at least one shift, wherein a different offset parameter value is used for each shift; If the difference between the fingerprint feature map and the second fingerprint feature map after the last displacement is less than the difference threshold, the offset parameter value used for the last displacement will be determined as the relative offset parameter value between the first fingerprint image and the second fingerprint image. Based on the relative offset parameter value, determine the motion parameter value of the target finger; Sending or processing the motion parameter values of the target finger to control the controlled device; The step of using at least one offset parameter value to perform at least one displacement on the first fingerprint feature map to obtain at least one displacement fingerprint feature map includes: The first fingerprint feature map is shifted once using the initial offset parameter value to obtain the fingerprint feature map after the first shift. Determine the degree of difference between the first displacement fingerprint feature map and the second fingerprint feature map; If the difference is not less than the difference threshold, the initial offset parameter value is adjusted to obtain the adjusted offset parameter value. The first fingerprint feature map is then shifted once using the adjusted offset parameter value to obtain the second shifted fingerprint feature map. This process continues until a shifted fingerprint feature map is obtained with a difference between the first and second fingerprint feature maps that is less than the difference threshold.
2. The fingerprint image processing method according to claim 1, characterized in that, Send the motion parameter values of the target finger, including: The current operating environment and the configuration relationship under the current operating environment are obtained. The configuration relationship under the current operating environment is used to characterize the correspondence between the motion parameter values of the finger and the control commands under the current operating environment. The same motion parameter value of the finger corresponds to the same or different control commands under different operating environments. Based on the configuration relationship in the current operating environment and the motion parameter value of the target finger, a corresponding control command is generated and sent to the controlled device.
3. The fingerprint image processing method according to claim 1, characterized in that, Processing the motion parameter values of the target finger includes: The current operating environment and the configuration relationship under the current operating environment are obtained. The configuration relationship under the current operating environment is used to characterize the correspondence between the motion parameter values of the finger and the control commands under the current operating environment. The same motion parameter value of the finger corresponds to the same or different control commands under different operating environments. Based on the configuration relationship in the current operating environment and the motion parameter values of the target finger, a corresponding control command is generated and executed.
4. The fingerprint image processing method according to claim 1, characterized in that, Acquire the first and second fingerprint images of the target finger, including: Acquire multiple fingerprint images of the target finger taken at consecutive times; One of two fingerprint images acquired at adjacent times is identified as the first fingerprint image, and the other fingerprint image is identified as the second fingerprint image. Determining the motion parameter values of the target finger based on the relative offset parameter value includes: The motion parameter values of the target finger are determined based on the relative offset parameter values corresponding to two fingerprint images acquired at adjacent times.
5. The fingerprint image processing method according to claim 1, characterized in that, The initial offset parameter value is determined based on a preset value obtained, or the initial offset parameter value is determined based on at least one historically obtained relative offset parameter value.
6. The fingerprint image processing method according to any one of claims 1-4, characterized in that, Determining the motion parameter values of the target finger based on the relative offset parameter value includes: Based on the relative offset parameter value, the movement direction, movement distance, and / or movement speed of the target finger are determined.
7. The fingerprint image processing method according to claim 6, characterized in that, When the first fingerprint image and the second fingerprint image are two adjacent frames obtained by acquiring fingerprint images according to the acquisition cycle, the motion parameter value of the target finger is determined based on the relative offset parameter value, including: The movement speed of the target finger is determined based on the relative offset parameter value and the acquisition period.
8. The fingerprint image processing method according to claim 6, characterized in that, In the case where the first fingerprint image and the second fingerprint image are respectively the starting image of the movement of the target finger and the ending image of the movement of the target finger, the method further includes: Obtain the duration between the acquisition times of the motion start image and the motion end image; Determining the motion parameter values of the target finger based on the relative offset parameter value includes: The movement speed of the target finger is determined based on the relative offset parameter value and the duration.
9. The fingerprint image processing method according to any one of claims 1-4, characterized in that, The different motion parameter values of the target finger correspond to different cursor movement control commands, or different interface display control commands, or different video playback control commands, or different audio playback control commands.
10. A terminal device, characterized in that, The terminal device includes: A fingerprint acquisition module is used to acquire the first and second fingerprint images of the target finger. Communication components are used to communicate with the controlled device; A processor for performing the fingerprint image processing method described in any one of 1-9.
11. The terminal device according to claim 10, characterized in that, The terminal device may include a controlled device, or the terminal device may be a device different from the controlled device.
12. The terminal device according to claim 10, characterized in that, The terminal device is a wearable device.
13. The terminal device according to claim 10, characterized in that, The terminal device is a remote control device adapted to the controlled device.
14. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the fingerprint image processing method according to any one of claims 1-9.
15. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the steps of the fingerprint image processing method according to any one of claims 1-9.