A guiding method and system for target object image acquisition
Through the combination of image recognition algorithm and voice/text guidance, the defects of hardware guidance devices in venous image acquisition are solved, and a convenient, economical and efficient image acquisition process is realized.
Patent Information
- Application Number
- CN202010590748.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-24
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2040-06-24
AI Technical Summary
In the prior art, the use of hardware guidance devices for venous image acquisition has problems such as inconvenient carrying, high manufacturing cost, easy damage, deviation in shooting angles and missed shooting.
By acquiring the area of interest of the object image to be detected, using a preset image recognition algorithm to compare it with the guide map of the image library calibration, generate comparison results, and generate position movement guidance information based on the comparison results, displaying this information through voice and/or text, guiding the user to complete image acquisition.
It reduces the installation cost and manual operation of the hardware guidance device, provides convenient, fast and intelligent image acquisition guidance, and avoids shooting angle deviation and missed shooting problems.
Smart Images

Figure CN112597785B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of biometric identification technology, and in particular to a guiding method and system for collecting target object images. Background Art
[0002] Biometrics is a technology that recognizes people based on their inherent physiological or behavioral characteristics. The technologies that have been used include fingerprint recognition, iris recognition, palm geometry recognition, retina recognition, face recognition, signature recognition, voice recognition, etc. The corresponding biological characteristics of biometrics include hand shape, fingerprint, iris, face shape, retina, pulse, auricle, etc., and the behavioral characteristics include signature, voice, keystroke strength, etc. Biometrics can be widely used in government, military, banking, social welfare security, e-commerce, and security defense.
[0003] Vein recognition is a type of biometric recognition. When performing vein recognition, the vein image of the palm must be collected first. When using palm vein recognition, in order to better capture the vein image of the palm, the palm is required to be a certain distance above the image sensor, such as 50mm to 70mm, so that the veins of the entire palm can be captured completely, and the upper, lower, left and right vein images will not be missed. In order to guide the user to correctly place the palm and meet the shooting requirements, various bracket devices are designed. However, due to the large shape of the bracket, there are disadvantages such as inconvenience in carrying, high manufacturing cost, difficulty in installation during use, frequent replacement has an impact on the environment, easy damage, and deviation in shooting angle. Summary of the invention
[0004] Therefore, the present invention provides a guidance method and system for target object image acquisition, which overcomes the defects of the prior art of using hardware guidance devices for shooting, such as inconvenience in carrying, high manufacturing cost, easy damage, deviation in shooting angle and erroneous shooting.
[0005] In order to achieve the above object, the present invention provides the following technical solutions:
[0006] In a first aspect, an embodiment of the present invention provides a method for guiding target object image acquisition, comprising:
[0007] Acquire a region of interest of an image of a target object to be detected;
[0008] According to the preset image recognition algorithm, the region of interest of the image of the target object to be detected is compared with the guide map calibrated by the image library to generate a comparison result;
[0009] Position movement guidance information is generated based on the comparison result, and the position movement guidance information is displayed through voice and / or text to guide the user to complete the image acquisition of the target object to be detected.
[0010] In one embodiment, the contour of the guide image calibrated by the image library is obtained according to the contour of the region of interest of the image of the target object to be detected.
[0011] In one embodiment, the step of comparing the region of interest of the image of the target object to be detected with the guide map calibrated by the image library according to a preset image recognition algorithm to generate a comparison result includes:
[0012] According to a preset image recognition algorithm, the position and image size information of the region of interest of the image of the target object to be detected and the guide map calibrated by the image library are respectively obtained;
[0013] According to the position and image size information of the region of interest of the target object image to be detected and the guide map calibrated by the image library, the relative position relationship and size relationship between the two are obtained;
[0014] Based on the relative position relationship and size relationship between the two, the position movement guidance information of the target object is generated.
[0015] In one embodiment, the position movement guidance information includes: moving upward, downward, leftward, or rightward based on the current position, and moving closer or farther based on the image acquisition device.
[0016] In one embodiment, the target object to be detected is a palm.
[0017] In a second aspect, an embodiment of the present invention provides a guidance system for collecting target object images, including:
[0018] A target object acquisition module is used to acquire a region of interest of an image of a target object to be detected;
[0019] A comparison result generation module is used to compare the region of interest of the image of the target object to be detected with the guide map calibrated by the image library according to a preset image recognition algorithm to generate a comparison result;
[0020] The guidance module is used to generate position movement guidance information according to the comparison result, and display the position movement guidance information through voice and / or text to guide the user to complete the image acquisition of the target object to be detected.
[0021] In a third aspect, an embodiment of the present invention provides a terminal, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor executes the guiding method for target object image acquisition described in the first aspect of the embodiment of the present invention.
[0022] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the guiding method for target object image acquisition described in the first aspect of the embodiment of the present invention.
[0023] The technical solution of the present invention has the following advantages:
[0024] The guiding method and system for target object image acquisition provided by the present invention obtains the region of interest of the target object image to be detected; compares the region of interest of the target object image to be detected with the guiding map calibrated by the image library according to the preset image recognition algorithm to generate a comparison result; generates position movement guidance information based on the comparison result, and displays the position movement guidance information through voice and / or text to guide the user to complete the image acquisition of the target object to be detected. The labor and cost of installing hardware guiding devices such as brackets are reduced, and the user is conveniently, quickly and intelligently guided to collect the target object to be detected. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0026] Figure 1 A flowchart of a specific example of a method for guiding target object image acquisition provided by an embodiment of the present invention;
[0027] Figure 2 A schematic diagram of a specific example of a guide map for palm image library calibration provided by an embodiment of the present invention;
[0028] Figure 3 A schematic diagram of a specific example of guiding information for palm position moving upward, downward, leftward, and rightward provided in an embodiment of the present invention;
[0029] Figure 4 A schematic diagram of a specific example of palm position moving far guidance information provided by an embodiment of the present invention;
[0030] Figure 5 A schematic diagram of a specific example of the palm position moving closer guidance information provided by an embodiment of the present invention;
[0031] Figure 6 A diagram showing the module composition of a guidance system for target object image acquisition provided by an embodiment of the present invention;
[0032] Figure 7 A composition diagram of a specific example of a terminal provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0033] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0034] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0035] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, it can also be the internal connection of two components, it can be a wireless connection, or it can be a wired connection. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0036] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0037] Example 1
[0038] An embodiment of the present invention provides a method for guiding target object image acquisition, such as Figure 1 As shown, the following steps are included:
[0039] Step S1: Acquire a region of interest of an image of a target object to be detected.
[0040] In an embodiment of the present invention, the target object to be detected is a palm. In machine vision and image processing, the area to be processed is outlined in the form of a box, circle, ellipse, irregular polygon, etc. from the processed image, which is called a region of interest (ROI). In this embodiment, the region of interest is in the shape of a palm, and the image of the target object to be detected is collected by an image sensor, a camera, etc. This is only an example, and is not limited to this. In actual applications, the corresponding collection device is selected according to actual needs, and various operators and functions are used in real time on existing image processing software such as Halcon, OpenCV, and Matlab to obtain the region of interest ROI, making the collection more convenient and quick, and providing convenient and real-time guidance information for users.
[0041] Step S2: According to a preset image recognition algorithm, the region of interest of the image of the target object to be detected is compared with the guide map calibrated in the image library to generate a comparison result.
[0042] In an embodiment of the present invention, the contour of the guide image calibrated by the image library is obtained according to the contour of the region of interest of the image of the target object to be detected. Figure 2 As shown, the palm in the dotted frame is the guiding map calibrated by the palm image library, wherein the target object image to be detected is the palm, that is, the guiding map calibrated by the image library is also the palm.
[0043] In an embodiment of the present invention, according to a preset image recognition algorithm, the region of interest of the target object image to be detected is compared with the guide map calibrated by the image library, and the step of generating the comparison result specifically includes: obtaining the position and image size information of the region of interest of the target object image to be detected and the guide map calibrated by the image library respectively according to the preset image recognition algorithm; obtaining the relative position relationship and size relationship between the region of interest of the target object image to be detected and the guide map calibrated by the image library according to their respective position and image size information; based on the relative position relationship and size relationship between the two, generating the position movement guidance information of the target object. Among them, the region of interest of the collected palm image is compared with the guide map calibrated by the palm image library on the computer, and the size and position relationship of the two images are compared. Through the comparison results of the two images, the guidance information of the collected palm image is generated, and the computer software is used to replace the hardware equipment in the prior art to guide the user to place the palm in an appropriate position, thereby reducing the installation and production costs of the hardware, facilitating carrying and installation, and guiding the user to correctly place the palm.
[0044] It should be noted that the image recognition algorithm in the embodiment of the present invention is an existing relatively mature image recognition algorithm, which can be used to recognize the size and position information of the image, and is not limited here.
[0045] Step S3: generating position movement guidance information based on the comparison result, and displaying the position movement guidance information through voice and / or text to guide the user to complete image acquisition of the target object to be detected.
[0046] In the embodiment of the present invention, the position movement guidance information includes: moving up, down, left, right based on the current position, and moving closer or farther based on the image acquisition device. Figure 3 As shown in the figure, the palm in the dotted frame is the guide map calibrated by the palm image library, and the palm filled with black is the region of interest of the collected palm image. The position and size relationship between the two are compared, and the palm moves based on the current position. The direction of the arrow is the direction of movement of the palm; Figure 4 As shown, when the region of interest of the captured palm image is significantly larger than the guide map calibrated by the palm image library, the user is guided to move away based on the image capture device, such as Figure 5 As shown, when the region of interest of the captured palm image is significantly smaller than the guidance map calibrated by the palm image library, the user is guided to move closer based on the image capture device until the palm is exactly located at the position of the guidance map.
[0047] In an embodiment of the present invention, correct position movement guidance information is generated according to the comparison result, and the position movement guidance information is displayed through voice playback and / or text to guide the user to complete the image acquisition of the target object to be detected.
[0048] The guiding method for collecting the target object image provided in the embodiment of the present invention obtains the region of interest of the image of the target object to be detected; compares the region of interest of the image of the target object to be detected with the guiding map calibrated by the image library according to the preset image recognition algorithm to generate a comparison result; generates position movement guidance information based on the comparison result, and displays the position movement guidance information through voice and / or text to guide the user to complete the image collection of the target object to be detected. The labor and cost of installing hardware guiding devices such as brackets are reduced, and the user is conveniently, quickly and intelligently guided to collect the target object to be detected.
[0049] Example 2
[0050] The embodiment of the present invention provides a guidance system for collecting target object images, such as Figure 6 As shown, including:
[0051] The target object acquisition module 1 is used to acquire the region of interest of the image of the target object to be detected; this module executes the method described in step S1 of embodiment 1, which will not be described in detail here.
[0052] The comparison result generation module 2 is used to compare the region of interest of the image of the target object to be detected with the guide map calibrated in the image library according to a preset image recognition algorithm to generate a comparison result; this module executes the method described in step S2 of embodiment 1, which will not be repeated here.
[0053] Guidance module 3 is used to generate position movement guidance information according to the comparison results, and display the position movement guidance information through voice and / or text to guide the user to complete the image acquisition of the target object to be detected; this module executes the method described in step S3 of embodiment 1, which will not be repeated here.
[0054] The embodiment of the present invention provides a guidance system for collecting target object images, which obtains the region of interest of the image of the target object to be detected; compares the region of interest of the image of the target object to be detected with the guidance map calibrated in the image library according to a preset image recognition algorithm to generate a comparison result; generates position movement guidance information based on the comparison result, and displays the position movement guidance information through voice and / or text to guide the user to complete the image collection of the target object to be detected. The labor and cost of installing hardware guidance devices such as brackets are reduced, and users are conveniently, quickly, and intelligently guided to collect the target object to be detected.
[0055] Example 3
[0056] An embodiment of the present invention provides a terminal, such as Figure 7As shown, it includes: at least one processor 401, such as a CPU (Central Processing Unit), at least one communication interface 403, a memory 404, and at least one communication bus 402. Among them, the communication bus 402 is used to realize the connection and communication between these components. Among them, the communication interface 403 may include a display screen (Display), a keyboard (Keyboard), and the optional communication interface 403 may also include a standard wired interface and a wireless interface. The memory 404 may be a high-speed RAM memory (Random Access Memory, random access memory), or it may be a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 404 may also be at least one storage device located away from the aforementioned processor 401. Among them, the processor 401 can execute the guiding method for the target object image acquisition in Example 1. A set of program codes are stored in the memory 404, and the processor 401 calls the program code stored in the memory 404 to execute the guiding method for the target object image acquisition in Example 1. The communication bus 402 may be a peripheral component interconnect (PCI) bus or a universal serial bus (USB). The communication bus 402 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one line is used to represent it, but it does not mean that there is only one bus or one type of bus. Among them, the memory 404 may include a volatile memory (English: volatile memory), such as a random access memory (English: random-access memory, abbreviated: RAM); the memory 404 may also include a non-volatile memory (English: non-volatile memory), such as a flash memory (English: flash memory), a hard disk drive (English: hard disk drive, abbreviated: HDD) or a solid-state drive (English: solid-state drive, abbreviated: SSD); the memory 404 may also include a combination of the above types of memory. Among them, the processor 401 may be a central processing unit (English: central processing unit, abbreviated: CPU), a graphics processing processor (English: graphics processing processor, abbreviated: GPU) or a combination of a CPU and a GPU.
[0057] Among them, the memory 404 may include a volatile memory (English: volatile memory), such as a random access memory (English: random-access memory, abbreviated: RAM); the memory may also include a non-volatile memory (English: non-volatile memory), such as a flash memory (English: flash memory), a hard disk drive (English: hard disk drive, abbreviated: HDD) or a solid-state drive (English: solid-state drive, abbreviated: SSD); the memory 404 may also include a combination of the above types of memory.
[0058] The processor 401 may be a central processing unit (CPU), a graphics processing processor (GPU), or a combination of a CPU and a GPU.
[0059] The processor 401 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0060] Optionally, the memory 404 is also used to store program instructions. The processor 401 can call the program instructions to implement the guiding method for collecting the target object image in the embodiment 1 of the present application.
[0061] The embodiment of the present invention further provides a computer-readable storage medium, on which computer-executable instructions are stored, and the computer-executable instructions can execute the guiding method for target object image acquisition in embodiment 1. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk (HDD) or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above-mentioned types of memory.
[0062] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from these are still within the scope of protection of the invention.
Claims
1. A method for guiding target object image acquisition, characterized in that: include: Acquire a region of interest of an image of a target object to be detected, wherein the target object to be detected is a palm, and the region of interest of the image of the target object to be detected is acquired using operators and functions on image processing software; According to the preset image recognition algorithm, the region of interest of the target object image to be detected is compared with the guide map calibrated by the image library to generate a comparison result, including: According to a preset image recognition algorithm, respectively obtain the position and image size information of the region of interest of the image of the target object to be detected and the guide map calibrated by the image library, wherein the contour of the guide map calibrated by the image library is obtained according to the contour of the region of interest of the image of the target object to be detected; According to the position and image size information of the region of interest of the target object image to be detected and the guide map calibrated by the image library, the relative position relationship and size relationship between the two are obtained; Based on the relative position relationship and size relationship between the two, the position movement guidance information of the target object is generated, wherein the region of interest of the collected target object image is compared with the guidance map calibrated by the image library on a computer, the size and position relationship of the two images are compared, and the guidance information of the collected target object image is generated through the comparison result of the two images; Position movement guidance information is generated based on the comparison result, and the position movement guidance information is displayed through voice and / or text to guide the user to complete the image acquisition of the target object to be detected.
2. The method for guiding target object image acquisition according to claim 1, characterized in that: The position movement guidance information includes: moving upward, downward, leftward, rightward based on the current position, and moving nearer or farther based on the image acquisition device.
3. A guidance system for target object image acquisition, based on the method of claim 1, characterized in that: include: A target object acquisition module is used to acquire a region of interest of an image of a target object to be detected; The comparison result generation module is used to compare the region of interest of the image of the target object to be detected with the guide map calibrated by the image library according to the preset image recognition algorithm to generate the comparison result, including: According to a preset image recognition algorithm, the position and image size information of the region of interest of the image of the target object to be detected and the guide map calibrated by the image library are respectively obtained; According to the position and image size information of the region of interest of the target object image to be detected and the guide map calibrated by the image library, the relative position relationship and size relationship between the two are obtained; Based on the relative position relationship and size relationship between the two, the position movement guidance information of the target object is generated; The guidance module is used to generate position movement guidance information according to the comparison result, and display the position movement guidance information through voice and / or text to guide the user to complete the image acquisition of the target object to be detected.
4. A terminal, characterized in that: include: At least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor executes the guiding method for target object image acquisition as described in any one of claims 1-2.
5. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the guiding method for target object image acquisition according to any one of claims 1-2.
Citation Information
Patent Citations
Method, device and system for assisting palmprint recognition
CN107133557A