A method for collecting data information
By drawing patterns without biometric features on the display interface and combining infrared ranging lights, efficient and safe collection of human biological features of authorized users for biometric identification is achieved, solving the efficiency and safety of biometric acquisition, and improving the recognition accuracy.
Patent Information
- Application Number
- CN202111604829.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-24
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2041-12-24
AI Technical Summary
In the prior art, how to efficiently collect human biometric features of authorized users for biometric identification, especially on the premise of ensuring the security of user information, to achieve effective biometric collection.
By drawing patterns on the display interface, the pattern does not contain user biometric features. According to the position and size relationship of the biometric area, the pattern is drawn in the drawing frame. After collecting images that comply with preset rules, the acquisition is stopped. Combined with the use of infrared ranging and near-infrared lights, it is determined whether there are objects and the image is collected.
It realizes efficiently collecting human biometric features of authorized users for biometric identification on the premise of ensuring the confidentiality of user biometric features, guiding users to adjust their limb positions to optimize the collection effect and improve identification accuracy.
Smart Images

Figure CN114332964B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of information collection, and more specifically, to a method for collecting data information. Background Art
[0002] With the rapid development of biometric technology, biometric technology, as a way of personal identity authentication, has been widely used in the security field.
[0003] Biometrics technology involves collecting a user's biological characteristics and matching them with biometrics stored in the system to determine the user's identity. The human body contains many distinguishing features, such as palm prints, palm veins, fingerprints, retinal features, and facial features. With the development of biometrics, it has become possible to authenticate individuals by collecting these biometrics in recent years. These biometrics offer high reliability, confidentiality, and anti-counterfeiting properties, making biometrics a key focus in the security field. However, the key to using human biometrics for authentication and matching is to collect these biometrics. Therefore, how to collect biometrics that can be used for biometrics has become a key concern in the security field.
[0004] In summary, there is an urgent need for a data information collection method to help collect human biometric features of authorized users that can be used for biometric identification. Summary of the Invention
[0005] In view of this, the present application provides a data information collection method for helping to collect human biometric features of authorized users that can be used for biometric identification.
[0006] In order to achieve the above objectives, the following solutions are proposed:
[0007] A data information collection method, comprising:
[0008] When an authorized user uploads user biometrics, an image containing the user's biometrics is collected;
[0009] Acquire a region in the image containing the user's biometric features;
[0010] Drawing a pattern within a displayed drawing frame area based on a position of the area in the image and a size of the area relative to the image, wherein the pattern does not include a user's biometric feature, and a positional relationship and a size ratio between the pattern and the drawing frame are determined based on a positional relationship and a size ratio between the area and the image;
[0011] When an image that meets the preset rules is collected, the image collection stops.
[0012] Optionally, drawing a pattern in the displayed drawing frame area according to the position of the area in the image and the size of the area and the image includes:
[0013] Determining a target rectangular area surrounding the area according to the coordinate information of the area;
[0014] determining a position of the pattern to be drawn in the drawing frame according to a positional relationship between a center point of the target rectangular area and a center point of the image, and a size of the drawing frame;
[0015] Calculating a size ratio of the target rectangular area to the image based on the sizes of the target rectangular area and the image;
[0016] Determining the size of the pattern to be drawn according to the size ratio and the size of the drawing frame;
[0017] According to the position of the pattern to be drawn in the drawing frame and the size of the pattern to be drawn, the pattern is drawn in the displayed drawing frame area.
[0018] Optionally, determining a target rectangular area surrounding the area according to the coordinate information of the area includes:
[0019] determining the ROI coordinates of the region;
[0020] The largest horizontal coordinate among the ROI coordinates is used as the horizontal coordinate of the first point and the second point;
[0021] The smallest vertical coordinate among the ROI coordinates is used as the vertical coordinate of the first point and the fourth point;
[0022] The largest vertical coordinate among the ROI coordinates is used as the vertical coordinate of the second point and the third point;
[0023] The smallest horizontal coordinate among the ROI coordinates is used as the horizontal coordinate of the third point and the fourth point;
[0024] The target rectangular area is determined by using the first point, the second point, the third point and the fourth point as four vertices of the target rectangular area.
[0025] Optionally, calculating the size ratio of the target rectangular area to the image according to the sizes of the target rectangular area and the image includes:
[0026] Calculating a width ratio between a width of the target rectangular area and a width of the image;
[0027] Calculating the ratio between the length of the target rectangular area and the width of the image;
[0028] Compare the width ratio value with the length ratio value and use the smaller absolute value as the size ratio.
[0029] Optionally, before collecting the image containing the user's biometric features, the method further includes:
[0030] Use infrared ranging light to determine whether there is an object;
[0031] If it exists, turn off the infrared ranging light and turn on the near infrared light.
[0032] Optionally, the collecting of images containing user biometrics includes:
[0033] Use sensors to capture images;
[0034] Determining whether the image contains a user's biometric features;
[0035] If included, the image is taken as the image containing the user's biometric features.
[0036] Optionally, after determining whether the image contains the user's biometric features, the method further includes:
[0037] If the judgment result shows that the image does not contain the user's biometric features, play an animation indicating that the image is being captured and record the time when the judgment result is obtained, and the animation does not contain the user's biometric features;
[0038] Return to the step of acquiring an image using the sensor;
[0039] The difference between the most recently recorded time and the first recorded time is calculated. If the calculation result shows that the difference exceeds a preset threshold, the image acquisition is stopped, the near-infrared light is turned off, and the infrared ranging light is turned on.
[0040] Optionally, the user biometric feature includes any one of the following: palm prints, palm veins, and fingerprints.
[0041] Optionally, the shape of the drawing frame and the shape of the pattern are any one of the following: a circle and a regular polygon.
[0042] Optionally, the pattern has a preset shape and is filled with text, color or preset picture.
[0043] It can be seen from the above technical solutions that the embodiment of the present application provides a data information collection method. When an authorized user uploads user biometrics, an image containing the user biometrics is collected. As long as it is detected that the authorized user is uploading user biometrics, the image containing the user biometrics can be collected in real time; then, the area containing the user biometrics in the image can be obtained; then, a pattern can be drawn in the displayed drawing frame area based on the position of the area in the image and the size of the area and the image. The pattern does not contain the user biometrics, and the positional relationship and size ratio relationship between the pattern and the drawing frame are determined based on the positional relationship and size ratio relationship between the area and the image; when an image that meets the preset rules is collected, it can be considered that human biometrics that can be used for biometric identification are collected, and at this time, image collection can be stopped. It can be seen that the present application can help collect human biometrics of authorized users that can be used for biometric identification.
[0044] In addition, in the drawing frame displayed in this application, the pattern drawn does not include the user's biometric features and does not display the collected image, which can keep the biometric features confidential, ensuring the security of authorized user information and the confidentiality of authorized user biometric features.
[0045] In addition, the present application can draw a pattern within the displayed drawing frame, and the size and position of the pattern change as the position and size of the area containing the user's biometric features in the captured image change, and the position and size of the area in the image change as the position of the human body biometric features changes from the acquisition component. Therefore, the user can be guided to move their limbs so that the pattern is located in the center of the drawing frame, and the user can intuitively determine the direction in which the limbs need to move based on the position and size of the pattern, so that identification and registration can be performed at the optimal position. In this way, the human body biometric features of authorized users that can be used for biometric identification can be better collected. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without any creative work.
[0047] Figure 1 This is a flow chart of a data information collection method disclosed in this application;
[0048] Figure 2 This is a schematic diagram of a data information collection process for this application example;
[0049] Figure 3A schematic diagram of a drawing pattern for an example of this application;
[0050] Figure 4 This is another schematic diagram of a drawing pattern according to an example of this application. DETAILED DESCRIPTION
[0051] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0052] This application can be applied to terminals that include display interfaces and collection components, such as mobile phones, computers and other devices. With the authorization of the user, the data information collection method provided by this application can be used to collect the human biometrics of the authorized user. For example, at a judicial agency, the data information collection method of this application is used to collect the human biometrics of the authorized user for user registration; for another example, with the authorization of the user, the attendance and access control system uses the data information collection method of this application to collect the human biometrics of the authorized user for authorized user identity identification and attendance registration. Next, combined with Figure 1 The data information collection method of this application is introduced in detail, including the following steps:
[0053] Step S110: When the authorized user uploads the user's biometric features, an image containing the user's biometric features is collected.
[0054] Specifically, with user authorization, images can be collected in real time through a camera, and the collected images can change as the user's biometric features move.
[0055] Step S120: Acquire a region in the image that includes the user's biometric features.
[0056] Specifically, after the image is acquired, the area in the image containing the user's biometric features may be acquired.
[0057] When an image is collected in real time, the area in the image containing the user's biometric features can be obtained in real time.
[0058] Step S130: Draw a pattern in the displayed drawing frame area according to the position of the area in the image and the sizes of the area and the image.
[0059] Specifically, on the display interface of the terminal, there is a drawing frame in which a pattern can be drawn.
[0060] In order for the drawn pattern to reflect the position and size of the area containing the user's biometric features in the image, the positional relationship between the pattern and the drawing frame is determined based on the positional relationship between the area and the image, and the size ratio between the pattern and the drawing frame is determined based on the size ratio between the area and the image.
[0061] If a camera is used to capture images, it can be understood that the position and size of the area containing the user's biometric features in the image are related to the distance between the camera and the user's limbs, and the position and size of the pattern are determined based on the position and size of the area, so the position and size of the pattern in the drawing frame are also related to the distance between the camera and the user's limbs.
[0062] Based on this, the farther the distance between the camera and the user's limb is, the smaller the pattern drawn can be, to remind the user that their limb is placed farther away. If the user's limb is facing the camera, the pattern can be located in the center of the drawing frame.
[0063] In order to ensure the confidentiality of the user's biometrics, the drawn pattern does not include the user's biometrics.
[0064] Step S140: When an image that meets the preset rules is collected, stop collecting images.
[0065] Specifically, when the user's biometric information in the image is clearly discernible and can be used for biometric identification, it can be considered to comply with the rules. At this time, image collection can be stopped.
[0066] The preset rule may be that the size of the pattern is greater than 1 / 2 of the size of the drawing frame and less than 2 / 3 of the size of the drawing frame. For example, if both the pattern and the drawing frame are circular, the radius of the pattern is greater than 1 / 2 of the radius of the drawing frame and less than 2 / 3 of the radius of the drawing frame.
[0067] It can be seen from the above technical solutions that the embodiment of the present application provides a data information collection method, which collects images containing user biometrics when an authorized user uploads user biometrics, that is, as long as it is detected that the authorized user is uploading user biometrics, images containing user biometrics can be collected in real time; then, a pattern can be drawn in the displayed drawing frame area according to the position of the area in the image and the size of the area and the image, the pattern does not contain the authorized user biometrics, and the positional relationship and size ratio relationship between the pattern and the drawing frame are determined according to the positional relationship and size ratio relationship between the area and the image; when an image that meets the preset rules is collected, it can be considered that human biometrics that can be used for biometric identification are collected, and at this time, image collection can be stopped. It can be seen that the present application can help collect human biometrics that can be used for biometric identification.
[0068] In addition, in the drawing frame displayed in this application, the pattern drawn does not include the user's biometric features and does not display the collected image, which can keep the biometric features confidential, ensuring the security of authorized user information and the confidentiality of authorized user biometric features.
[0069] In addition, the present application can draw a pattern within the displayed drawing frame, and the size and position of the pattern change as the position and size of the area containing the user's biometric features in the captured image change, and the position and size of the area in the image change as the position of the human body biometric features changes from the acquisition component. Therefore, the authorized user can be guided to move the limbs so that the pattern is located in the center of the drawing frame, and the authorized user can intuitively determine the direction in which the limbs need to move based on the position and size of the pattern, so that identification and registration can be performed at the optimal position. In this way, the human body biometric features of the authorized user that can be used for biometric identification can be better collected.
[0070] Furthermore, in some embodiments of the present application, the user biometrics include any one of the following: palm prints, palm veins, fingerprints, and retina.
[0071] Specifically, the present application can be used to collect images containing palm prints, palm veins or fingerprints of authorized users so as to use the images for biometric identification.
[0072] Furthermore, in some embodiments of the present application, the shape of the drawing frame and the shape of the pattern are respectively any one of the following: a circle and a regular polygon.
[0073] Specifically, if Figure 3 He Ru Figure 4 As shown, the shapes of the drawing frame and the drawn pattern are both circular.
[0074] It should be noted that in the present application, the drawing frame and the pattern may be of the same shape or of different shapes. For example, the drawing frame may be a rectangle and the pattern may be a square.
[0075] Furthermore, in some embodiments of the present application, the pattern has a preset shape and is filled with text, color or preset pictures.
[0076] Specifically, you can pre-set the shape of a pattern, for example, a circle. You can also pre-set the fill color within the pattern, for example, a single color or multiple colors. In the displayed drawing frame, you can draw a pattern with a specific shape, i.e., a circle. You can then fill the inside of the circle with a color, thus creating a circular pattern with the inside filled.
[0077] It can be seen from the above technical solution that, compared with the previous embodiment, this embodiment provides an optional implementation method for drawing a pattern. By presetting the shape and filling method of the pattern, the pattern can be made more ornamental and can better guide the authorized user to adjust the position of the human biometric features in space, so as to better collect images that can be used for biometric recognition.
[0078] In some embodiments of the present application, step S130, the process of drawing a pattern in the displayed drawing frame area according to the position of the area in the image and the size of the area and the image, is described in detail. The specific steps are as follows:
[0079] S10. Determine a target rectangular area surrounding the area according to the coordinate information of the area.
[0080] Specifically, the collected image can be input into the algorithm to obtain the coordinate information of the area containing the user's biometric features, and based on this, a target rectangular area surrounding the area is determined.
[0081] S11 . Determine a position of a pattern to be drawn in the drawing frame according to a positional relationship between a center point of the target rectangular area and a center point of the image, and a size of the drawing frame.
[0082] Specifically, an algorithm can be used to calculate the center point of the target rectangular area and the center point of the image, and then calculate the positional relationship between the two center points. The positional relationship may include the distance between the center points and the orientation relationship between the two center points.
[0083] Next, the size of a preset drawing frame may be obtained, and based on the size and the positional relationship between the two center points, the position of the pattern to be drawn in the drawing frame may be determined.
[0084] S12: Calculate a size ratio between the target rectangular area and the image according to the sizes of the target rectangular area and the image.
[0085] Specifically, the size ratio of the target rectangular area to the image may be calculated by taking a ratio between the sizes of the target rectangular area and the image.
[0086] S13. Determine the size of the pattern to be drawn according to the size ratio and the size of the drawing frame.
[0087] Specifically, the size ratio may be multiplied by the size of the drawing frame to calculate the size of the pattern to be drawn.
[0088] S14: Draw a pattern in the displayed drawing frame area according to the position of the pattern to be drawn in the drawing frame and the size of the pattern to be drawn.
[0089] Specifically, a pattern corresponding to the position and size of the target rectangular area may be drawn in the drawing frame.
[0090] It is understandable that when a partial area of the pattern exceeds the determined area of the drawing frame, the area of the pattern exceeding the drawing frame may not be displayed.
[0091] As can be seen from the above technical solution, compared to the previous embodiment, this embodiment provides an optional implementation method for drawing a pattern within the displayed drawing frame area based on the position of the area in the image and the size of the area relative to the image. Specifically, a target rectangular area can be determined, and then the center point and size of the target rectangular area can be determined. Based on this, a pattern corresponding to the target rectangular area can be drawn in the displayed drawing frame. It can be seen that this embodiment can better draw a pattern corresponding to the area in the displayed drawing frame, and can better guide the authorized user to adjust the position of the human biometric features in space to better capture images that can be used for biometric recognition.
[0092] Next, combine Figure 2-Figure 4 , this application is introduced in detail through an example in a specific scenario.
[0093] The following description is made by taking the collected user biometric feature as the palm print of the authorized user as an example.
[0094] like Figure 2 As shown in FIG. 1 , the figure includes a target rectangular area 1 , an area 2 including a palm print, a palm print 3 and an image 4 .
[0095] First, the camera can collect the palm prints presented by the authorized user, so as to Figure 2 As shown, an image 4 including a palm print 3 is collected.
[0096] Then, the algorithm determines the region 2 containing the palm print and the coordinates of the four vertices in the region 2 containing the palm print. Based on this, the target rectangular region 1 surrounding the region 2 is determined according to the coordinates of the four vertices.
[0097] Next, you can Figure 3 and Figure 4 A pattern corresponding to the target rectangular area 1 is drawn in the drawing frame 1 shown.
[0098] First, the position of the pattern to be drawn can be determined. The shape of the pattern to be drawn can be pre-set as a circle. Based on this, the algorithm can calculate the center point of the target rectangular area 1 and the center point of the image 4, and then calculate the positional relationship between the two center points. The size of the drawing frame 1 can be pre-set in the algorithm. Based on this, the algorithm can directly determine the position of the center point of the pattern to be drawn.
[0099] Then, the size of the pattern to be drawn can be calculated, and thus the radius of the pattern to be drawn can be calculated. Based on this, the target rectangular area 1 and Figure 2 The target rectangular area is calculated as the ratio of Figure 2 The size ratio can be multiplied by the size of the drawing frame 1 to calculate the radius of the pattern to be drawn.
[0100] Finally, circle 2 is drawn with the determined center point of the pattern to be drawn as the center of the circle and the calculated radius.
[0101] The above-mentioned pattern center point determination process and radius calculation process are all operated in the background. Figure 2 It will not be displayed on the display interface. Authorized users can only see the final result on the display interface. Figure 3 and Figure 4 shown.
[0102] in, Figure 3 and Figure 4 It includes a drawing frame 1, a pattern 2, a camera 3, a display interface 4, and a user's palm.
[0103] pass Figure 3 and Figure 4 It can be seen that there may be a cross line in the drawing frame 1 to remind the authorized user of the center point of the drawing frame 1.
[0104] like Figure 3 and Figure 4 As shown, when the authorized user needs to perform biometric identification through the palm print, the pattern 2 corresponding to the palm print can be observed on the display interface 4.
[0105] Examples include Figure 3 When the user's palm is located at the lower left of the camera 3, the pattern 2 is also located at the lower left of the drawing frame 1 accordingly.
[0106] Based on this, by observing the position between pattern 2 and the center point of drawing frame 1, as well as the size of the entire pattern 2, the authorized user understands that the position of the user's palm may be too off at this time, and the collected palm print may not be good enough. The user's palm needs to be moved so that the center point of pattern 2 basically coincides with the center point of drawing frame 1. In addition, by observing the size of pattern 2, the authorized user understands that the position of the user's palm may not be close enough, and it needs to be closer to camera 3 to make pattern 2 larger.
[0107] Therefore, the authorized user adjusts the position of the palm so that the palm faces the camera 3 and the distance between the palm and the camera 3 is closer, such as Figure 4 Based on this, we can see Figure 4 The pattern 2 is located substantially at the center of the drawing frame 1, and Figure 4 Pattern 2 in the Figure 3 Pattern 2 is larger.
[0108] As can be seen from the examples in the above specific scenarios, after drawing a pattern in the displayed drawing frame, the authorized user can intuitively determine the position and angle of the human body's biometric features in space based on the position and size of the pattern. This can guide the authorized user to move their limbs so that the pattern is centered in the drawing frame. The authorized user can also intuitively determine the direction of movement based on the position and size of the pattern, thereby enabling identification and registration at the optimal position. This allows for better acquisition of images that can be used for biometric recognition.
[0109] In some embodiments of the present application, step S10, the process of determining a target rectangular area surrounding the area based on the coordinate information of the area, is described in detail. The specific steps are as follows:
[0110] S210: Determine the ROI coordinates of the region.
[0111] Specifically, the ROI coordinates of the region can be determined by an algorithm. For example, Figure 3 The ROI coordinates of the region may be the coordinates of the four vertices of region 2 containing the palm print.
[0112] S211 . Using the largest horizontal coordinate among the ROI coordinates as the horizontal coordinates of the first point and the second point.
[0113] Specifically, the horizontal coordinates of the first point and the second point can be determined according to the largest horizontal coordinate in the ROI coordinates. Figure 3 , the smallest horizontal coordinate in the entire area 2 containing the palm print can be used as the horizontal coordinate of the first point 4 and the second point 5.
[0114] S212 . Using the smallest vertical coordinate among the ROI coordinates as the vertical coordinates of the first point and the fourth point.
[0115] Specifically, the vertical coordinates of the first and fourth points can be determined based on the smallest vertical coordinate in the ROI coordinates. Figure 3 , the smallest vertical coordinate in the entire area 2 containing the palm print can be used as the vertical coordinate of the first point 4 and the fourth point 7.
[0116] S213 . Use the largest vertical coordinate among the ROI coordinates as the vertical coordinates of the second point and the third point.
[0117] Specifically, the ordinates of the second and third points can be determined based on the largest ordinate in the ROI coordinates. Figure 3 , the maximum vertical coordinate in the entire area 2 containing the palm print can be used as the vertical coordinate of the third point 6 and the second point 5.
[0118] S214 . Using the smallest horizontal coordinate among the ROI coordinates as the horizontal coordinates of the third point and the fourth point.
[0119] Specifically, the horizontal coordinates of the third and fourth points can be determined based on the smallest horizontal coordinate in the ROI coordinates. Figure 3 , the largest horizontal coordinate in the entire area 2 containing the palm print can be used as the horizontal coordinate of the third point 6 and the fourth point 7.
[0120] S215 : Determine the target rectangular area by using the first point, the second point, the third point, and the fourth point as four vertices of the target rectangular area.
[0121] Specifically, after the four vertices of the target rectangular area are determined, the four vertices are connected end to end to obtain the target rectangular area. Through the above steps S210-S214, the coordinates of the four vertices have been determined, and the four coordinates can determine the target rectangular area. For example, Figure 3 , taking the first point 4, the second point 5, the third point 6 and the fourth point 7 as the four vertices of the target rectangular area 1, the target rectangular area 1 can be determined.
[0122] As can be seen from the above technical solution, compared to the previous embodiment, this embodiment provides an alternative implementation for determining the target rectangular area. This embodiment can better determine the target rectangular area corresponding to the pattern, and can better guide the authorized user to the optimal position for identification and registration. This allows for better acquisition of images that can be used for biometric recognition.
[0123] In some embodiments of the present application, considering that the size of the target rectangular area can include multiple sizes, and the target rectangular area has length and width, and the image is generally rectangular and also has length and width. Based on this, the length ratio and width ratio of the target rectangular area to the image can be calculated respectively, and then one of the ratios can be selected as the size ratio. This process will be described in detail below, that is, the process of calculating the size ratio of the target rectangular area to the image based on the sizes of the target rectangular area and the image in step S12 will be described in detail. The specific steps are as follows:
[0124] S310: Calculate a width ratio between the width of the target rectangular area and the width of the image.
[0125] Specifically, the width of the target rectangular area may be ratioed to the width of the image to obtain the width ratio.
[0126] S311 : Calculate the ratio between the length of the target rectangular area and the width of the image.
[0127] Specifically, the length of the target rectangular area may be ratioed to the length of the image to obtain the length ratio.
[0128] S312. Compare the value of the width ratio with the value of the length ratio, and take the value with the smaller absolute value as the size ratio.
[0129] Specifically, the width ratio and the length ratio may be compared, and the smaller value may be selected as the size ratio.
[0130] As can be seen from the above technical solution, this embodiment provides an alternative implementation for determining the size ratio. Specifically, the length and width of the target rectangular area and the image are proportional to each other, and the smaller value is selected as the size ratio. This embodiment can better determine the size ratio. This allows for better confirmation of the pattern's size.
[0131] In some embodiments of this application, it is considered that in actual use, the collection of user biometrics may be long-term and irregular, and may need to be collected at any time. However, if the collection is carried out continuously for a long time and the pattern is drawn, the workload may be large. In this case, it is necessary to determine when to collect images and when not to collect images. Based on this, this application adds a judgment method for determining when to collect images.
[0132] Therefore, in step S110, when the authorized user uploads the user's biometric features, before collecting the image containing the user's biometric features, the following steps can be performed:
[0133] S20: Use infrared ranging light to determine whether there is an object.
[0134] Specifically, the infrared ranging light can measure the distance between it and an object. When the infrared ranging light shows a corresponding number, it can be considered that the object exists. When the infrared ranging light does not show a corresponding number, it can be considered that the object does not exist.
[0135] S21. If it exists, turn off the infrared ranging light and turn on the near infrared light.
[0136] If there is a reading, there is an object. At this time, you can turn on the infrared ranging light to avoid affecting the collected image. You can also turn on the near-infrared light to collect images.
[0137] As can be seen from the above technical solutions, this embodiment provides an optional implementation method for determining when to capture an image. It can be seen that this embodiment can start image capture under appropriate circumstances.
[0138] In some embodiments of the present application, step S110, when the authorized user uploads the user's biometric features, the process of collecting an image containing the user's biometric features is described in detail. The specific steps are as follows:
[0139] S30: Use a sensor to collect images.
[0140] Specifically, a sensor capable of capturing images may be used to capture images.
[0141] S31. Determine whether the image contains the user's biometric features. If so, proceed to step S32. If not, proceed to step S33.
[0142] Specifically, since it is necessary to collect images containing the user's biometric features, it is necessary to determine whether the collected images contain the user's biometric features.
[0143] S32: The image is used as an image containing the user's biometric features.
[0144] Specifically, when the judgment result indicates that the user's biometric features exist in the image, it can be considered that the image containing the user's biometric features is collected.
[0145] S33: Play an animation indicating that an image is being collected, and record the time when the judgment result is obtained. The animation does not include the user's biometric features.
[0146] Specifically, an animation indicating that an image is being captured may be played, thereby informing the authorized user that the image is being captured without revealing the authorized user's biometric information.
[0147] The animation may be a radar scanning animation, indicating that images are being collected.
[0148] At the same time, record the time at this time for subsequent judgment.
[0149] S34: Return to the step of using the sensor to collect images in real time.
[0150] Specifically, the present application can collect images in real time, and when no image containing the user's biometric features is collected in step S30, collection can continue.
[0151] S35. Calculate the difference between the most recently recorded time and the first recorded time. If the calculation result shows that the difference exceeds a preset threshold, stop collecting images, turn off the near-infrared light, and turn on the infrared ranging light.
[0152] Specifically, when the absolute value of the accumulated time exceeds a preset threshold, it may be that the infrared ranging light has only recognized an ordinary object, and it can be considered that collection is not necessary at this time.
[0153] Based on this, the near-infrared light can be turned off, and the infrared ranging light can be turned on to enter a state where no object is detected, waiting for subsequent image acquisition.
[0154] As can be seen from the above technical solution, this embodiment provides an alternative implementation for capturing images containing the authorized user's biometric features. Corresponding processing methods are provided for determining whether images containing the user's biometric features are captured. This allows image capture to be started and ended based on the needs of the capture scenario.
[0155] The data information collection device provided in an embodiment of the present application is described below. The data information collection device described below and the data information collection method described above can be referenced to each other.
[0156] The data information collection device may include:
[0157] A collection unit, configured to collect an image containing the user's biometric features when the authorized user uploads the user's biometric features;
[0158] an acquisition unit, configured to acquire a region in the image containing the user's biometric features;
[0159] a drawing unit, configured to draw a pattern within a displayed drawing frame area based on a position of the area in the image and a size of the area relative to the image, wherein the pattern does not include a user's biometric feature, and a positional relationship and a size ratio between the pattern and the drawing frame are determined based on a positional relationship and a size ratio between the area and the image;
[0160] The stopping unit is used to stop collecting images after collecting images that meet the preset rules.
[0161] The specific implementation process of each of the above units can refer to the above data information collection method.
[0162] Finally, it should be noted that, in this article, the authorized user is the user who authorizes this application to collect his or her biometric information. In this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also other elements that are not explicitly listed, or also includes elements that are inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including a..." do not exclude the presence of other identical elements in the process, method, article or device that includes the elements.
[0163] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0164] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. The various embodiments of the present application may be combined with each other. Therefore, the present application is not limited to the embodiments shown herein, but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A data information collection method, characterized in that: include: When an authorized user uploads user biometrics, an image containing the user's biometrics is collected; Acquire a region in the image containing the user's biometric features; Determining a target rectangular area surrounding the area according to the coordinate information of the area; determining a position of the pattern to be drawn in the drawing frame according to a distance and orientation relationship between a center point of the target rectangular area and a center point of the image, and a size of the drawing frame; Calculating a size ratio of the target rectangular area to the image based on the sizes of the target rectangular area and the image; Determining the size of the pattern to be drawn according to the size ratio and the size of the drawing frame; Drawing a pattern in the displayed drawing frame area according to the position of the pattern to be drawn in the drawing frame and the size of the pattern to be drawn, wherein the pattern does not include the user's biometric features; When an image that meets the preset rules is collected, the image collection stops.
2. The method according to claim 1, characterized in that Determining a target rectangular area surrounding the area according to the coordinate information of the area includes: determining the ROI coordinates of the region; The largest horizontal coordinate among the ROI coordinates is used as the horizontal coordinate of the first point and the second point; The smallest vertical coordinate among the ROI coordinates is used as the vertical coordinate of the first point and the fourth point; The largest vertical coordinate among the ROI coordinates is used as the vertical coordinate of the second point and the third point; The smallest horizontal coordinate among the ROI coordinates is used as the horizontal coordinate of the third point and the fourth point; The target rectangular area is determined by using the first point, the second point, the third point and the fourth point as four vertices of the target rectangular area.
3. The method according to claim 1, characterized in that Calculating a size ratio of the target rectangular area to the image according to the sizes of the target rectangular area and the image includes: Calculating a width ratio between a width of the target rectangular area and a width of the image; Calculating the ratio between the length of the target rectangular area and the width of the image; Compare the width ratio value with the length ratio value and use the smaller absolute value as the size ratio.
4. The method according to claim 1, wherein Before collecting the image containing the user's biometric features, the method further includes: Use infrared ranging light to determine whether there is an object; If it exists, turn off the infrared ranging light and turn on the near infrared light.
5. The method according to claim 4, characterized in that The collection of images containing user biometrics includes: Use sensors to capture images; Determining whether the image contains a user's biometric features; If included, the image is taken as the image containing the user's biometric features.
6. The method according to claim 5, characterized in that After determining whether the image contains the user's biometric features, the method further includes: If the judgment result shows that the image does not contain the user's biometric features, play an animation indicating that the image is being captured and record the time when the judgment result is obtained, and the animation does not contain the user's biometric features; Return to the step of acquiring an image using the sensor; The difference between the most recently recorded time and the first recorded time is calculated. If the calculation result shows that the difference exceeds a preset threshold, the image acquisition is stopped, the near-infrared light is turned off, and the infrared ranging light is turned on.
7. The method according to any one of claims 1 to 6, characterized in that The user biometric feature includes any one of the following: palm prints, palm veins and fingerprints.
8. The method according to any one of claims 1 to 6, characterized in that The shape of the drawing frame and the shape of the pattern are respectively any one of the following: a circle and a regular polygon.
9. The method according to any one of claims 1 to 6, characterized in that The pattern has a preset shape and is filled with text, color or preset picture.
Citation Information
Patent Citations
Visualized biometric information acquisition device and acquisition method
CN106056080A
Non-contact palmprint obtaining device and method
CN109960964A