Fingerprint identification algorithm based on arc surface fingerprint collector and strong light flashlight
Patent Information
- Application Number
- CN202211513241.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-29
- Publication Date
- 2026-09-08
- Estimated Expiration
- 2042-11-29
AI Technical Summary
但是大部分手电筒为了便于持握都设计为圆柱面,在圆柱面上设置平面的指纹采集器用户体验很差,破坏了手电筒的整体形状,许多厂商不得不妥协将手电筒改为非圆柱状
[0017] The fingerprint recognition algorithm based on a curved surface fingerprint scanner provided by this invention determines whether the finger has moved by analyzing the output information of the fingerprint scanner. If the finger has moved, the acquisition frequency is set according to the speed of the finger movement, matching the acquisition frequency with the finger movement speed to reduce the generation of invalid data. Furthermore, this invention generates complete fingerprint information using first and second fingerprint information. This is because the curved surface can only acquire a portion of the fingerprint at a time, and the acquired portion is continuous along the length of the curved surface; therefore, the first fingerprint information needs to be combined with multiple second fingerprint information to obtain complete fingerprint information. After obtaining the complete fingerprint information, the acquired third fingerprint information is compared with the complete fingerprint information, and the comparison result determines whether to turn on a high-intensity flashlight. This invention solves the problem of how to perform fingerprint recognition with a curved surface fingerprint scanner, expands the form factor of fingerprint scanners, and improves the application range of fingerprint recognition.
Smart Images

Figure CN115761821B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of fingerprint recognition technology, and in particular to a fingerprint recognition algorithm based on a curved surface fingerprint collector and a high-intensity flashlight. Background Technology
[0002] A flashlight is a very common lighting tool, and in some situations, a high-powered flashlight is needed. Compared to a regular flashlight, a high-powered flashlight has a much brighter beam and can provide brighter illumination.
[0003] High-powered flashlights are only suitable for special occasions, primarily due to their high risk; direct light shining into the eyes can easily damage vision. Therefore, the use of high-powered flashlights needs to be strictly regulated.
[0004] Existing technology provides high-powered flashlights controlled by fingerprints, enabling personalized use. However, conventional fingerprint scanners are flat for easy fingerprint acquisition. Most flashlights are cylindrical for comfortable grip, and placing a flat fingerprint scanner on a cylindrical surface results in a poor user experience and disrupts the flashlight's overall shape. Many manufacturers have been forced to compromise by changing the flashlight's shape to a non-cylindrical design. Therefore, how to utilize a non-planar fingerprint scanner for fingerprint recognition is a problem that needs to be solved. Summary of the Invention
[0005] Therefore, it is necessary to provide a fingerprint recognition algorithm and a high-intensity flashlight based on a curved surface fingerprint collector to address the above problems.
[0006] This invention is implemented as follows: a fingerprint recognition algorithm based on a curved surface fingerprint collector, the fingerprint recognition algorithm based on the curved surface fingerprint collector includes:
[0007] Upon receiving a trigger signal, the system acquires the first fingerprint information collected by the fingerprint scanner.
[0008] Monitor the output information of the fingerprint collector and determine whether the finger has moved based on the output information;
[0009] If it is determined to be finger movement, then determine the speed of finger movement;
[0010] The sampling frequency is determined based on the speed of finger movement;
[0011] Collect several second fingerprint information according to the determined collection frequency;
[0012] Generate complete fingerprint information based on the first fingerprint information and the second fingerprint information;
[0013] Upon receiving the third fingerprint information input by the user, the third fingerprint information is compared with the complete fingerprint information, and corresponding operations are performed based on the comparison result.
[0014] In one embodiment, the present invention provides a high-powered flashlight, the high-powered flashlight comprising:
[0015] The flashlight body, wherein a curved fingerprint scanner is provided on the flashlight body; and
[0016] A control module is used to execute a fingerprint recognition algorithm based on an arc-shaped fingerprint collector as described in this invention to control the operation of a high-intensity flashlight.
[0017] The fingerprint recognition algorithm based on a curved surface fingerprint scanner provided by this invention determines whether the finger has moved by analyzing the output information of the fingerprint scanner. If the finger has moved, the acquisition frequency is set according to the speed of the finger movement, matching the acquisition frequency with the finger movement speed to reduce the generation of invalid data. Furthermore, this invention generates complete fingerprint information using first and second fingerprint information. This is because the curved surface can only acquire a portion of the fingerprint at a time, and the acquired portion is continuous along the length of the curved surface; therefore, the first fingerprint information needs to be combined with multiple second fingerprint information to obtain complete fingerprint information. After obtaining the complete fingerprint information, the acquired third fingerprint information is compared with the complete fingerprint information, and the comparison result determines whether to turn on a high-intensity flashlight. This invention solves the problem of how to perform fingerprint recognition with a curved surface fingerprint scanner, expands the form factor of fingerprint scanners, and improves the application range of fingerprint recognition. Attached Figure Description
[0018] Figure 1 A flowchart of a fingerprint recognition algorithm based on a curved surface fingerprint collector, provided as an embodiment;
[0019] Figure 2 A structural block diagram of a high-powered flashlight provided in one embodiment;
[0020] Figure 3 This is a block diagram of the internal structure of the control module in one embodiment. Detailed Implementation
[0021] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0022] It is understood that the terms "first," "second," etc., used in this invention may be used to describe various elements herein, but unless specifically stated otherwise, these elements are not limited by these terms. These terms are used only to distinguish one element from another. For example, without departing from the scope of this invention, a first script may be referred to as a second script, and similarly, a second script may be referred to as a first script.
[0023] like Figure 1 As shown, in one embodiment, a fingerprint recognition algorithm based on a curved surface fingerprint collector is proposed, which may specifically include the following steps:
[0024] Step S100: Upon receiving a trigger signal, acquire the first fingerprint information collected by the fingerprint collector;
[0025] Step S200: Monitor the output information of the fingerprint collector and determine whether the finger has moved based on the output information;
[0026] Step S300: If it is determined that the movement is a finger, then determine the speed of the finger movement;
[0027] Step S400: Determine the sampling frequency based on the finger movement speed;
[0028] Step S500: Collect several second fingerprint information according to the determined collection frequency;
[0029] Step S600: Generate complete fingerprint information based on the first fingerprint information and the second fingerprint information;
[0030] Step S700: Receive the third fingerprint information input by the user, compare the third fingerprint information with the complete fingerprint information, and perform corresponding operations based on the comparison result.
[0031] In this embodiment, it can be understood that steps S100-S600 are the fingerprint enrollment process, during which complete fingerprint information is generated; while step S700 is the recognition process when the fingerprint is used after enrollment. Therefore, the above steps do not necessarily occur all at once.
[0032] In this embodiment, the fingerprint collector's collecting surface is set as a cylindrical surface, with the angle in the circumferential direction of the cylindrical surface being approximately between 10 and 30 degrees. The length is designed as needed, typically between (1.5-5) cm. The fingerprint collector can collect existing capacitive, pressure-sensitive, etc. This invention does not involve any improvement to the principle of the fingerprint collector, but merely provides a corresponding fingerprint recognition algorithm for fingerprint collectors with a curved collecting surface.
[0033] In this embodiment, the triggering information can be the detection signal of the fingerprint scanner. Unlike existing technologies, this invention does not involve placing the finger multiple times on the fingerprint scanner; instead, it places the finger once and moves the finger to achieve complete fingerprint information acquisition. It can be understood that in this embodiment, there are multiple second fingerprint pieces, while only one first or third fingerprint piece is acquired per algorithm step.
[0034] The fingerprint recognition algorithm based on a curved surface fingerprint scanner provided by this invention determines whether the finger has moved by analyzing the output information of the fingerprint scanner. If the finger has moved, the acquisition frequency is set according to the speed of the finger movement, matching the acquisition frequency with the finger movement speed to reduce the generation of invalid data. Furthermore, this invention generates complete fingerprint information using first and second fingerprint information. This is because the curved surface can only acquire a portion of the fingerprint at a time, and the acquired portion is continuous along the length of the curved surface; therefore, the first fingerprint information needs to be combined with multiple second fingerprint information to obtain complete fingerprint information. After obtaining the complete fingerprint information, the acquired third fingerprint information is compared with the complete fingerprint information, and the comparison result determines whether to turn on a high-intensity flashlight. This invention solves the problem of how to perform fingerprint recognition with a curved surface fingerprint scanner, expands the form factor of fingerprint scanners, and improves the application range of fingerprint recognition.
[0035] In a preferred embodiment of the present invention, the monitoring of the output information of the fingerprint collector, and the determination of whether the finger has moved based on the output information, includes:
[0036] Monitor the output information of the fingerprint scanner and determine whether the output of the detection point is the same for two consecutive output information;
[0037] If they are not the same, determine the detection points in the two output information where the output value is not 0, and obtain the fingerprint texture sequence from the detection points where the output value is not 0;
[0038] Determine whether there are at least two corresponding texture features in the fingerprint texture sequences of the two output information. If there are at least two corresponding texture features, then determine that the finger has moved.
[0039] In this embodiment, after acquiring the first fingerprint information, the output information of the fingerprint collector is monitored but not saved until the input information of the fingerprint collector is different from the first fingerprint information; the two output information here are the two fingerprint information acquired according to the acquisition frequency.
[0040] In this embodiment, the output information of the fingerprint collector is represented by the output value of the detection points. The detection points are arranged in an array on the detection surface. An output value of 0 indicates that no fingerprint has been detected, and an output value of 1 indicates that fingerprint information has been detected. Therefore, the output information can be represented by an array, where the number of rows and columns of the array are the number of rows and columns of the detection points on the detection surface, respectively, and the value of each element is the output value of the detection point.
[0041] In this embodiment, if the two output messages are the same, it means that the finger has not moved; if they are different, it means that the finger may have moved.
[0042] In a preferred embodiment of the present invention, obtaining the fingerprint texture sequence from detection points with non-zero output values includes:
[0043] Along a selected direction, select a detection point whose output value is not 0. Starting from the selected detection point, determine the adjacent detection points with non-zero output values from the top, bottom, left, right and diagonal directions to obtain a texture feature. Determine the order and coordinates of all detection points that make up the texture feature to obtain the point set sequence of the texture feature.
[0044] Repeat the previous step to determine the point set sequence of all texture features, and obtain the fingerprint texture sequence from the point set sequence of all texture features.
[0045] In this embodiment, the selected direction can be from right to left, from left to right, from top to bottom, or from bottom to top, etc. Specifying the selected direction specifies the order of comparison and retrieval, and different directions have no substantial impact on the present invention.
[0046] In this embodiment, the first point encountered along the selected direction is taken as the starting point. Detection points with non-zero output values adjacent to the starting point are identified to obtain a texture feature. It can be understood that "adjacent" here means that each detection point constituting the texture feature is adjacent to at least one other detection point vertically, horizontally, or diagonally. Subsequently, along the selected direction, other points with non-zero output values are selected as starting points to find all texture features. Based on the order in which the texture features are found and the coordinates of the points in each texture feature, a sequence of texture feature point sets is obtained.
[0047] In a preferred embodiment of the present invention, determining whether there are at least two corresponding texture features in the fingerprint texture sequences of the two output information includes:
[0048] In the previous output information, based on the sorting of texture features in the fingerprint texture sequence from small to large, texture feature i is compared with the texture features on both sides of the corresponding order i in the fingerprint texture sequence of the next output information.
[0049] Determine whether there exists a texture feature j in the texture features on both sides of the corresponding order i that is wholly or partially the same as the point set of the current texture feature i;
[0050] If a texture feature j satisfies the condition, determine whether there is a texture feature j+1 or j-1 in the next output information that is completely or partially the same as the adjacent texture features i+1 or i-1 of the current texture feature. If there is a texture feature j+1 or j-1 that satisfies the condition, then there are at least two corresponding texture features in the fingerprint texture sequence of the two output information.
[0051] In this embodiment, when the finger moves, the position of the same texture feature will inevitably be different in different output information. Therefore, by comparing texture feature i with the texture features on both sides of the corresponding order i in the fingerprint texture sequence of the next output information, the texture feature corresponding to texture feature i can be found more quickly.
[0052] In this embodiment, it is determined whether there exists a texture feature j on both sides of the corresponding sequence i that is wholly or partially identical to the point set of the current texture feature i. Here, "wholly identical" means that the relative positions (not the coordinates) of the detection points constituting the two texture features are the same and the data is identical. "Partially identical" means that when the number of detection points of the two texture features is different, and the relative positions of the detection points of the texture feature with fewer detection points are completely reproduced in the texture feature with more detection point data, that is, from the perspective of the relative positions of the detection points, the texture feature with fewer detection point data is a subset of the texture feature with more detection point data. In this embodiment, i and j are both positive integers.
[0053] In a preferred embodiment of the present invention, determining the movement speed of the finger includes:
[0054] Select a set of corresponding texture features from the two output information;
[0055] Select a set of corresponding detection points from the selected set of corresponding texture features, and calculate the straight-line distance between the selected set of corresponding detection points in the two output information;
[0056] The finger movement speed is obtained by calculating the ratio of the straight-line distance to the time difference between the generation of the two detection information.
[0057] In this embodiment, the finger movement speed can be obtained through the above steps. For a set of completely identical texture features, the corresponding detection points here refer to a set of detection points in the same order; for a set of non-completely identical texture features, the corresponding detection points here are a set of detection points with the same relative position, that is, the relative position of the detection point in the texture feature is opposite.
[0058] In a preferred embodiment of the present invention, determining the sampling frequency based on the finger movement speed includes:
[0059] Calculate the ratio of the distance between two adjacent detection points of the fingerprint scanner to the finger movement speed;
[0060] Set the sampling frequency to n times the obtained ratio, where n is a positive integer.
[0061] In this embodiment, n is preferably 5-10. The sampling frequency can be set by the finger movement speed, which can reduce the generation of useless data and reduce the amount of calculation.
[0062] In a preferred embodiment of the present invention, generating complete fingerprint information based on the first fingerprint information and the second fingerprint information includes:
[0063] The first fingerprint texture sequence is obtained by identifying the fingerprint texture sequence in the first fingerprint information;
[0064] The second fingerprint texture sequence is obtained by identifying the fingerprint texture sequence in the second fingerprint information;
[0065] Based on the order in which the second fingerprint information was collected, the second fingerprint texture sequence was combined with the first fingerprint texture sequence to obtain complete fingerprint information.
[0066] In this embodiment, the specific process of identifying texture features can be referred to the content of the foregoing embodiments, and will not be repeated here in this embodiment of the present invention.
[0067] In a preferred embodiment of the present invention, the step of combining the second fingerprint texture sequence with the first fingerprint texture sequence to obtain complete fingerprint information according to the order of second fingerprint information acquisition includes:
[0068] Identify the parts in the first fingerprint texture sequence that overlap with the first fingerprint texture sequence, merge the overlapping parts, and insert the non-overlapping parts into the front or back of the first fingerprint texture sequence according to the direction of finger movement to obtain a combined texture sequence.
[0069] Based on the collection order of the second fingerprint information, identify the parts in the second fingerprint texture sequence that overlap with the combined texture sequence, merge the overlapping parts, and insert the non-overlapping parts into the front or back of the combined texture sequence according to the direction of finger movement.
[0070] Repeat the previous step to combine all the second fingerprint texture sequences to obtain the complete fingerprint information.
[0071] In this embodiment, since fingerprint information is generated by finger movement, there is always overlap between two consecutive fingerprint sequences in one direction. For example, if the finger moves from left to right, the left side of the fingerprint texture sequence of the previous sequence overlaps with the right side of the fingerprint texture sequence of the next sequence. The non-overlapping left side of the next sequence is then inserted into the left side of the previous sequence to obtain a combined texture sequence. This process is repeated, always inserting the non-overlapping part of the next sequence into the left side of the combined texture sequence to obtain complete fingerprint information.
[0072] In a preferred embodiment of the present invention, comparing the third fingerprint information with the complete fingerprint information includes:
[0073] Based on the third fingerprint information, the detection points with non-zero output values are determined, and the third fingerprint texture sequence is obtained from the detection points with non-zero output values.
[0074] Determine whether the third fingerprint texture sequence appears in the complete fingerprint information in order. If so, the fingerprint verification is successful; otherwise, the fingerprint verification fails.
[0075] In this embodiment, the method for determining the second fingerprint texture sequence can refer to the aforementioned embodiment, and will not be repeated here. Similarly, the specific steps for determining whether the third fingerprint texture sequence appears in the complete fingerprint information in order are the same as the steps for determining whether there are at least two corresponding texture features in the fingerprint texture sequences of the two output information before and after. The only difference is that the before and after are for all texture features, while the latter is for finding two texture features.
[0076] like Figure 2 As shown, this embodiment of the invention also provides a high-powered flashlight, the high-powered flashlight comprising:
[0077] The flashlight body, wherein a curved fingerprint scanner is provided on the flashlight body; and
[0078] The control module is used to execute the fingerprint recognition algorithm based on the arc-shaped fingerprint collector as described in the embodiments of the present invention to control the operation of the high-intensity flashlight.
[0079] In this embodiment, the flashlight includes a housing, a battery, an LED light, and buttons, etc. The flashlight body provided by the present invention also includes a fingerprint collector with an arc-shaped surface, which is disposed on the flashlight housing and electrically connected to the control module.
[0080] In this embodiment, the control module executes the fingerprint recognition algorithm based on the curved surface fingerprint collector provided in this invention. It determines whether the finger has moved based on the output information of the fingerprint collector. If the finger has moved, the acquisition frequency is set according to the speed of the finger movement, matching the acquisition frequency with the finger movement speed to reduce the generation of invalid data. Furthermore, this invention generates complete fingerprint information using first and second fingerprint information. This is because the curved surface can only acquire a portion of the fingerprint at a time, and the acquired portion is continuous along the length of the curved surface. Therefore, it is necessary to combine the first fingerprint information with multiple second fingerprint information to obtain complete fingerprint information. After obtaining the complete fingerprint information, the acquired third fingerprint information is compared with the complete fingerprint information, and the comparison result determines whether to turn on the high-intensity flashlight. This invention solves the problem of how to perform fingerprint recognition with a curved surface fingerprint collector, expands the form of the fingerprint collector, and improves the application range of fingerprint recognition.
[0081] Figure 3 An internal structural diagram of the control module in one embodiment is shown. Figure 3 As shown, the control module includes a processor, memory, interface, input device, and display screen connected via a system bus. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and may also store a computer program. When executed by the processor, this computer program enables the processor to implement the fingerprint recognition algorithm based on the curved surface fingerprint collector provided in this embodiment of the invention. The internal memory may also store a computer program, which, when executed by the processor, enables the processor to execute the fingerprint recognition algorithm based on the curved surface fingerprint collector provided in this embodiment of the invention. The display screen of the control module can be a liquid crystal display screen or an e-ink display screen. The input device of the control module can be a touch layer covering the display screen, or buttons, a trackball, or a touchpad provided on the casing of the control module, or an external keyboard, touchpad, or mouse, etc.
[0082] Those skilled in the art will understand that Figure 3 The structure shown is merely a block diagram of a portion of the structure related to the present invention and does not constitute a limitation on the control module to which the present invention is applied. The specific control module may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0083] In one embodiment, a control module is provided, the control module including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to perform the following steps:
[0084] Upon receiving a trigger signal, the system acquires the first fingerprint information collected by the fingerprint scanner.
[0085] Monitor the output information of the fingerprint collector and determine whether the finger has moved based on the output information;
[0086] If it is determined to be finger movement, then determine the speed of finger movement;
[0087] The sampling frequency is determined based on the speed of finger movement;
[0088] Collect several second fingerprint information according to the determined collection frequency;
[0089] Generate complete fingerprint information based on the first fingerprint information and the second fingerprint information;
[0090] Upon receiving the third fingerprint information input by the user, the third fingerprint information is compared with the complete fingerprint information, and corresponding operations are performed based on the comparison result.
[0091] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, causes the processor to perform the following steps:
[0092] Upon receiving a trigger signal, the system acquires the first fingerprint information collected by the fingerprint scanner.
[0093] Monitor the output information of the fingerprint collector and determine whether the finger has moved based on the output information;
[0094] If it is determined to be finger movement, then determine the speed of finger movement;
[0095] The sampling frequency is determined based on the speed of finger movement;
[0096] Collect several second fingerprint information according to the determined collection frequency;
[0097] Generate complete fingerprint information based on the first fingerprint information and the second fingerprint information;
[0098] Upon receiving the third fingerprint information input by the user, the third fingerprint information is compared with the complete fingerprint information, and corresponding operations are performed based on the comparison result.
[0099] It should be understood that although the steps in the flowcharts of the various embodiments of the present invention are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the various embodiments may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least a portion of the sub-steps or stages of other steps.
[0100] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided by this invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0101] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0102] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention. Therefore, the scope of protection of this patent should be determined by the appended claims.
Claims
1. A fingerprint recognition algorithm based on an arc-shaped fingerprint collector, characterized in that, The fingerprint recognition algorithm based on the arc-shaped fingerprint collector includes: Upon receiving a trigger signal, the system acquires the first fingerprint information collected by the fingerprint scanner. Monitor the output information of the fingerprint collector and determine whether the finger has moved based on the output information; If it is determined to be finger movement, then determine the speed of finger movement; The sampling frequency is determined based on the speed of finger movement; Collect several second fingerprint information according to the determined collection frequency; Generate complete fingerprint information based on the first fingerprint information and the second fingerprint information; Upon receiving the third fingerprint information input by the user, the third fingerprint information is compared with the complete fingerprint information, and corresponding operations are performed based on the comparison result; The fingerprint scanner outputs information, and the system determines whether a finger has moved based on this output information, including: Monitor the output information of the fingerprint scanner and determine whether the output of the detection point is the same for two consecutive output information; If they are not the same, determine the detection points in the two output information where the output value is not 0, and obtain the fingerprint texture sequence from the detection points where the output value is not 0; Determine whether there are at least two corresponding texture features in the fingerprint texture sequences of the two output information. If there are at least two corresponding texture features, then determine that the finger has moved. The process of obtaining the fingerprint texture sequence from detection points with non-zero output values includes: Along a selected direction, select a detection point whose output value is not 0. Starting from the selected detection point, determine the adjacent detection points with non-zero output values from the top, bottom, left, right and diagonal directions to obtain a texture feature. Determine the order and coordinates of all detection points that make up the texture feature to obtain the point set sequence of the texture feature. Repeat the previous step to determine the point set sequence of all texture features, and obtain the fingerprint texture sequence from the point set sequence of all texture features; The determination of whether there are at least two corresponding texture features in the fingerprint texture sequence of the two output information includes: In the previous output information, based on the sorting of texture features in the fingerprint texture sequence from small to large, texture feature i is compared with the texture features on both sides of the corresponding order i in the fingerprint texture sequence of the next output information. Determine whether there exists a texture feature j in the texture features on both sides of the corresponding order i that is wholly or partially the same as the point set of the current texture feature i; If a texture feature j satisfies the condition, determine whether there is a texture feature j+1 or j-1 in the next output information that is completely or partially the same as the adjacent texture features i+1 or i-1 of the current texture feature. If there is a texture feature j+1 or j-1 that satisfies the condition, then there are at least two corresponding texture features in the fingerprint texture sequence of the two output information.
2. The fingerprint recognition algorithm based on an arc-shaped fingerprint collector according to claim 1, characterized in that, Determining the speed of finger movement includes: Select a set of corresponding texture features from the two output information; Select a set of corresponding detection points from the selected set of corresponding texture features, and calculate the straight-line distance between the selected set of corresponding detection points in the two output information; The finger movement speed is obtained by calculating the ratio of the straight-line distance to the time difference between the generation of the two detection information.
3. The fingerprint recognition algorithm based on an arc-shaped fingerprint collector according to claim 1, characterized in that, The process of determining the sampling frequency based on the finger movement speed includes: Calculate the ratio of the distance between two adjacent detection points of the fingerprint scanner to the finger movement speed; Set the sampling frequency to n times the obtained ratio, where n is a positive integer.
4. The fingerprint recognition algorithm based on an arc-shaped fingerprint collector according to claim 1, characterized in that, The step of generating complete fingerprint information based on the first fingerprint information and the second fingerprint information includes: The first fingerprint texture sequence is obtained by identifying the fingerprint texture sequence in the first fingerprint information; The second fingerprint texture sequence is obtained by identifying the fingerprint texture sequence in the second fingerprint information; Based on the order in which the second fingerprint information was collected, the second fingerprint texture sequence was combined with the first fingerprint texture sequence to obtain complete fingerprint information.
5. The fingerprint recognition algorithm based on an arc-shaped fingerprint collector according to claim 4, characterized in that, The step of combining the second fingerprint texture sequence with the first fingerprint texture sequence to obtain complete fingerprint information according to the order of second fingerprint information acquisition includes: Identify the parts in the first fingerprint texture sequence that overlap with the first fingerprint texture sequence, merge the overlapping parts, and insert the non-overlapping parts into the front or back of the first fingerprint texture sequence according to the direction of finger movement to obtain a combined texture sequence. Based on the collection order of the second fingerprint information, identify the parts in the second fingerprint texture sequence that overlap with the combined texture sequence, merge the overlapping parts, and insert the non-overlapping parts into the front or back of the combined texture sequence according to the direction of finger movement. Repeat the previous step to combine all the second fingerprint texture sequences to obtain the complete fingerprint information.
6. The fingerprint recognition algorithm based on an arc-shaped fingerprint collector according to claim 1, characterized in that, The step of comparing the third fingerprint information with the complete fingerprint information includes: Based on the third fingerprint information, the detection points with non-zero output values are determined, and the third fingerprint texture sequence is obtained from the detection points with non-zero output values. Determine whether the third fingerprint texture sequence appears in the complete fingerprint information in order. If so, the fingerprint verification is successful; otherwise, the fingerprint verification fails.
7. A high-powered flashlight, characterized in that, The high-powered flashlight includes: A flashlight body, wherein an arc-shaped fingerprint collector is provided on the flashlight body; and a control module, wherein the control module is used to execute the fingerprint recognition algorithm based on the arc-shaped fingerprint collector as described in any one of claims 1-6 to control the operation of the high-intensity flashlight.
Citation Information
Patent Citations
Explosion-proof flashlight with fingerprint recognition function
CN104421646A
Fingerprint acquisition method and device, electronic device and readable storage medium
CN113705545A