Palm placement area prompt method and device, storage medium and electronic device
By displaying the target parallax picture on the naked eye 3D display screen and adjusting the parallax distance according to the target recognition distance, the problem of poor flexibility in the palm placement area prompts is solved, and the contactless palm recognition and recognition efficiency is improved.
Patent Information
- Application Number
- CN202210827789.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-14
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2042-07-14
AI Technical Summary
In the existing palm recognition technology, the clarification process of the palm placement area is poor, resulting in low recognition efficiency and large equipment occupying a large area, making it impossible to achieve the expected goal of contactless recognition.
By obtaining the target recognition distance of the target camera, the target parallax distance of the target parallax picture to be displayed in the naked-eye 3D display screen is determined, and the picture is displayed on the screen, so that the 3D imaging of the human body is located between the screen and the human body, for Prompt the palm placement area.
It improves the flexibility of prompting the palm placement area, realizes contactless recognition, reduces the equipment's footprint, and improves recognition efficiency and accuracy.
Smart Images

Figure CN117437701B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a method and device for prompting a palm placement area, a storage medium and an electronic device. Background Art
[0002] With the rapid development of science and technology, people's requirements for visual senses are getting higher and higher. Various biometric technologies have also aroused the public's interest in contactless identity authentication methods, such as face recognition, palm recognition, etc. Among them, for palm recognition, the palm recognition device can achieve the best recognition efficiency and recognition accuracy at a certain distance through the palm swiping camera. In related technologies, in order to effectively control the distance between the palm swiping camera and the palm, the following two methods are usually used:
[0003] Method 1: Use infrared distance measurement for the person to be identified, and then prompt the person to be identified through voice and video images, actively moving the distance between the palm and the palm scanning camera;
[0004] Method 2: A fixed bracket is set between the palm-scanning camera and the human body to be identified, and the fixed bracket is used to guide the user to place his hand on the target position of the fixed bracket to ensure the distance between the palm-scanning camera and the palm.
[0005] For the above-mentioned method 1, the person to be identified needs to repeatedly move the position of the palm through voice or video image prompts, resulting in the problem of low palm recognition efficiency; for the above-mentioned method 2, since the palm to be identified needs to be placed on a fixed bracket, the expected goal of contactless recognition cannot be achieved, and the fixed bracket may cause the palm recognition device to occupy a larger area, reducing the applicability of the device.
[0006] Obviously, both of the above methods cannot simultaneously meet the requirement of achieving the expected palm recognition rate by prompting the palm placement area when there is no contact between the human body to be identified and the palm recognition device, resulting in a technical problem of poor flexibility in the palm placement area prompt process.
[0007] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0008] The embodiments of the present invention provide a palm placement area prompting method and device, a storage medium and an electronic device, so as to at least solve the technical problem of poor flexibility in the palm placement area prompting process.
[0009] According to one aspect of an embodiment of the present invention, a method for prompting a palm placement area is provided, comprising: obtaining a target recognition distance corresponding to a target camera; determining a target parallax distance corresponding to a target parallax picture to be displayed in a naked-eye 3D display screen according to the target recognition distance; displaying the target parallax picture in the naked-eye 3D display screen according to the target parallax distance, so that a 3D imaging of the target parallax picture seen by a human body is located between the naked-eye 3D display screen and the human body, and the distance from the naked-eye 3D display screen is the target recognition distance, wherein the 3D imaging of the target parallax picture is used to prompt a target area for placing the palm.
[0010] Optionally, the above-mentioned determining the target parallax distance corresponding to the target parallax image to be displayed in the naked-eye 3D display screen according to the target recognition distance includes: obtaining the horizontal distance between the naked-eye 3D display screen and the human body, the interocular distance between the human body's eyes, the placement height of the naked-eye 3D display screen and the human body's height; determining the target parallax distance according to the target recognition distance, the horizontal distance, the interocular distance, the placement height and the human body's height.
[0011] Optionally, the target parallax distance is determined based on the target recognition distance, the horizontal distance, the interocular distance, the placement height and the human body height, including: determining the distance between the naked-eye 3D display screen and the human body's eyes based on the horizontal distance, the placement height and the human body height; determining the target parallax distance based on the target recognition distance, the interocular distance, the distance between the naked-eye 3D display screen and the human body's eyes.
[0012] Optionally, determining the target parallax distance based on the target recognition distance, the interocular distance, and the distance between the naked-eye 3D display screen and the human body's eyes includes: multiplying the target recognition distance by the interocular distance to obtain a first value; summing the target recognition distance and the distance between the naked-eye 3D display screen and the human body's eyes to obtain a second value; and determining the target parallax distance to be equal to the ratio of the first value to the second value.
[0013] Optionally, the above-mentioned obtaining the horizontal distance between the naked-eye 3D display screen and the human body, the interocular distance between the two eyes of the human body, the placement height of the naked-eye 3D display screen and the human body height includes: obtaining the horizontal distance between the naked-eye 3D display screen and the human body through a horizontal distance measuring device; obtaining the human body height of the human body through a height measuring device; obtaining a preset placement height of the naked-eye 3D display screen; obtaining a preset interocular distance between the two eyes of the human body, or, obtaining the interocular distance between the two eyes of the human body through an interocular distance measuring device; and determining the first distance between the display screen of the naked-eye 3D display device and the key point of the human eye according to a preset logical operation.
[0014] Optionally, the method further includes: when displaying the target parallax picture on the naked-eye 3D display screen, detecting whether the horizontal distance between the naked-eye 3D display screen and the human body changes; when detecting that the horizontal distance has changed, acquiring the changed horizontal distance; determining the changed parallax distance according to the target recognition distance, the changed horizontal distance, the interocular distance, the placement height and the height of the human body; and displaying the target parallax picture on the naked-eye 3D display screen according to the changed parallax distance, so that the 3D imaging of the target parallax picture seen by the human body is located between the naked-eye 3D display screen and the human body, and the distance from the naked-eye 3D display screen is the target recognition distance.
[0015] Optionally, the method further includes: when displaying the target parallax picture on the naked-eye 3D display screen, detecting whether a new human body appears; when detecting the appearance of a new human body, acquiring the horizontal distance between the naked-eye 3D display screen and the new human body, the binocular distance between the eyes of the new human body, and the body height of the new human body; determining the changed parallax distance according to the target recognition distance, the horizontal distance between the naked-eye 3D display screen and the new human body, the binocular distance between the eyes of the new human body, the placement height, and the body height of the new human body; and displaying the target parallax picture on the naked-eye 3D display screen according to the changed parallax distance, so that the 3D imaging of the target parallax picture seen by the new human body is located between the naked-eye 3D display screen and the new human body, and the distance from the naked-eye 3D display screen is the target recognition distance.
[0016] Optionally, the above method also includes: when displaying the target parallax picture on the naked-eye 3D display screen, detecting whether the horizontal distance between the naked-eye 3D display screen and the human body changes; when it is detected that the horizontal distance changes from the current distance value to the target distance value, and the difference between the current distance value and the target distance value is within the allowable movement range of the naked-eye 3D display screen, controlling the naked-eye 3D display screen to move so that the horizontal distance between the naked-eye 3D display screen and the human body after movement is the current distance value.
[0017] Optionally, according to the target parallax distance, displaying a target parallax picture on a naked-eye 3D display screen includes: according to the target parallax distance, controlling the distance between imaging positions of each pixel point in the displayed target parallax picture in both eyes of a human body to be the target parallax distance.
[0018] According to another aspect of an embodiment of the present invention, a device for prompting a palm placement area is also provided, including: a first acquisition unit, used to acquire a target recognition distance corresponding to a target camera; a first processing unit, used to determine a target parallax distance corresponding to a target parallax picture to be displayed in a naked-eye 3D display screen according to the target recognition distance; a second processing unit, used to display the target parallax picture in the naked-eye 3D display screen according to the target parallax distance, so that a 3D image of the target parallax picture seen by a human body is located between the naked-eye 3D display screen and the human body, and the distance from the naked-eye 3D display screen is the target recognition distance, wherein the 3D image of the target parallax picture is used to prompt a target area for placing the palm.
[0019] Optionally, the above-mentioned first processing unit includes: a first acquisition module, used to obtain the horizontal distance between the naked-eye 3D display screen and the human body, the interocular distance between the human body's eyes, the placement height of the naked-eye 3D display screen and the human body's height; a first processing module, used to determine the target parallax distance based on the target recognition distance, the horizontal distance, the interocular distance, the placement height and the human body's height.
[0020] Optionally, the above-mentioned first processing module includes: a first processing sub-module, used to determine the distance between the naked-eye 3D display screen and the human body's eyes according to the horizontal distance, the placement height and the human body's height; a second processing sub-module, used to determine the target parallax distance according to the target recognition distance, the interocular distance, and the distance between the naked-eye 3D display screen and the human body's eyes.
[0021] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned palm placement area prompt method when running.
[0022] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program / instruction, which implements the steps of the above method when executed by a processor.
[0023] According to another aspect of an embodiment of the present invention, there is provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the palm placement area prompt method through the computer program.
[0024] In an embodiment of the present invention, the target parallax distance corresponding to the target parallax picture to be displayed in the naked-eye 3D display screen is determined by the target recognition distance corresponding to the target camera, and the target parallax picture is displayed in the naked-eye 3D display screen according to the target parallax distance, so that the 3D imaging of the target parallax picture seen by the human body is located between the naked-eye 3D display screen and the human body, and further the human body is caused to place the palm according to the target area prompted by the target parallax picture, thereby realizing the prompting of the palm placement area. In other words, the parallax distance corresponding to the target parallax picture to be displayed in the naked-eye 3D display screen is adjusted by the preset target recognition distance, and the parallax distance when the 3D imaging of the target parallax picture seen by the human body is located between the naked-eye 3D display screen and the human body is determined as the target parallax distance, and finally the palm to be identified is placed according to the target area prompted by the 3D imaging of the target parallax picture, so that the human body places the palm to be identified according to the prompting of the palm placement area, which solves the technical problem of poor flexibility in the prompting process of the palm placement area in the related art, and realizes the technical effect of improving the flexibility of the prompting method of the palm placement area. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0026] Figure 1 is a schematic diagram of an application scenario of an optional palm placement area prompting method according to an embodiment of the present invention;
[0027] Figure 2 is a flow chart of an optional palm placement area prompting method according to an embodiment of the present invention;
[0028] Figure 3 is a schematic diagram of an optional palm placement area prompt method according to an embodiment of the present invention (I);
[0029] Figure 4 is a schematic diagram of an optional palm placement area prompt method according to an embodiment of the present invention (II);
[0030] Figure 5 is a schematic diagram of an optional palm placement area prompt method according to an embodiment of the present invention (III);
[0031] Figure 6 is a schematic diagram (IV) of an optional method for prompting a palm placement area according to an embodiment of the present invention;
[0032] Figure 7 is a schematic diagram of an optional parallax stereoscopic imaging principle according to an embodiment of the present invention;
[0033] Figure 8 is an overall flow chart of an optional palm placement area prompting method according to an embodiment of the present invention;
[0034] Fig. 9 is a schematic structural diagram of an optional palm placement area prompt device according to an embodiment of the present invention;
[0035] Fig.10 It is a schematic diagram of the structure of an optional electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0036] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. 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 should fall within the scope of protection of the present invention.
[0037] First, the terms used or related in the embodiments of the present invention are described as follows. It can be understood that the following description is an explanation of the terms but not the only explanation:
[0038] Naked-eye 3D: Also known as spatial multifunctional naked-eye 3D technology, it is a general term for technologies that achieve stereoscopic visual effects without the help of external tools such as polarized glasses. It is usually achieved by using parallax barrier and cylindrical lens technology, by displaying different content in different areas of the LCD panel and then outputting it to the left and right eyes respectively.
[0039] Palm recognition: refers to the process and technology of automatic identity recognition by computers by analyzing the lines on the human palm. Palm recognition, face recognition, voice recognition, iris recognition, etc. are all biometric technologies.
[0040] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0041] According to one aspect of an embodiment of the present invention, a method for prompting a palm placement area is provided. As an optional implementation, the method for prompting a palm placement area can be applied to, but is not limited to, Figure 1 The application scenario shown in Figure 1 In the application scenario shown, the naked-eye 3D display device 102 may, but is not limited to, communicate with the server 106 via the network 104, and the server 106 may, but is not limited to, perform operations on the database 108, such as write data operations or read data operations. The above-mentioned naked-eye 3D display device 102 may, but is not limited to, include a terminal device with a display screen and a camera, a processor and a memory. The above-mentioned display screen may, but is not limited to, be used to display the target visual disparity picture presented by the left eye and the right eye of the human body to the same 3D picture. The above-mentioned processor may, but is not limited to, be used to respond to the above-mentioned human-computer interaction operation, perform corresponding operations, or generate corresponding instructions, and send the generated instructions to the server 106. The above-mentioned memory is used to store relevant processing data, such as the human body picture captured by the target camera, the human body height measured by the measuring device in the naked-eye 3D display device, and the distance between the human body and the display screen.
[0042] As an optional method, the following steps in the palm placement area prompt method can be executed on the terminal device 102: Step S102, obtaining the target recognition distance corresponding to the target camera; Step S104, determining the target parallax distance corresponding to the target parallax picture to be displayed in the naked-eye 3D display screen according to the target recognition distance; Step S206, displaying the target parallax picture in the naked-eye 3D display screen according to the target parallax distance, so that the 3D imaging of the target parallax picture seen by the human body is located between the naked-eye 3D display screen and the human body, and the distance from the naked-eye 3D display screen is the target recognition distance, wherein the 3D imaging of the target parallax picture is used to prompt the target area for placing the palm.
[0043] As an optional example, this embodiment does not limit the execution entity of the above steps S102 to S106. For example, the above steps S102 to S106 can all be executed on the naked-eye 3D display device 102 or the server 106, or can be partially executed on the naked-eye 3D display 102 and partially executed on a computing server that communicates with the server 106.
[0044] Through the above method, the parallax distance corresponding to the target parallax picture to be displayed in the naked-eye 3D display screen is adjusted through the preset target recognition distance, and the parallax distance when the 3D imaging of the target parallax picture seen by the human body is located between the naked-eye 3D display screen and the human body is determined as the target parallax distance, and finally the palm to be identified is placed in the target area prompted by the 3D imaging of the target parallax picture, so that the human body places the palm to be identified according to the prompt of the palm placement area, which solves the technical problem of poor flexibility in the prompt process of the palm placement area in the related technology and achieves the technical effect of improving the flexibility of the prompt method of the palm placement area.
[0045] According to one aspect of an embodiment of the present invention, a method for prompting a palm placement area is provided. Figure 2 1 is a flowchart of a method for prompting a palm placement area according to an embodiment of the present invention, and the process includes the following steps:
[0046] Step S202, obtaining the target recognition distance corresponding to the target camera;
[0047] like Figure 3 As shown, the naked-eye 3D display device includes but is not limited to a naked-eye 3D display screen 302 (for example, a parallax barrier display screen, a cylindrical lens, etc.), a height + distance measuring device 304 and a bracket 305, etc., wherein the target camera 303 can be but is not limited to detecting whether there is a human body 300 to be identified and the palm of the human body 300 in a specified area, the naked-eye 3D display screen 302 can be but is not limited to displaying a target parallax picture that is projected from different directions through the eyes of the human body 300 and presented, and the height + distance measuring device 304 can be but is not limited to measuring the elevation of the human body and the horizontal distance between the naked-eye 3D display screen and the human body 300, etc.
[0048] Exemplarily, the target camera 303 and the naked eye 3D display device are located in the same plane, for example, Figure 3 As shown in , the target camera 303 is located above the naked-eye 3D display screen and is on the same plane as the naked-eye 3D display screen.
[0049] It should be noted that, in this embodiment, the target recognition distance D can be but is not limited to the effective recognition distance of the target camera. The effective recognition distance can be a fixed value or a value within a preset range. For example, the best recognition accuracy and recognition efficiency are achieved when the distance between the palm to be recognized and the target camera 302 is 7 cm; when the distance between the palm to be recognized and the target camera 302 is 6 to 8 cm, only the best recognition accuracy can be achieved, etc. This embodiment does not limit this.
[0050] Step S204, determining the target parallax distance corresponding to the target parallax picture to be displayed on the naked-eye 3D display screen according to the target recognition distance;
[0051] Step S206, displaying the target parallax picture on the naked-eye 3D display screen according to the target parallax distance, so that the 3D imaging of the target parallax picture seen by the human body is located between the naked-eye 3D display screen and the human body, and the distance from the naked-eye 3D display screen is the target recognition distance, wherein the 3D imaging of the target parallax picture is used to prompt the target area for placing the palm.
[0052] As an alternative example, Figure 3 As shown, assuming that the target recognition distance corresponding to the target camera 303 is D, the eyes of the human body 300 project the points in the same 3D palm image onto the naked eye 3D display screen 302 from different directions, and then use the multiple pixel points projected on the naked eye 3D display screen to present the target parallax image, wherein, for any point in the same 3D palm image, the point in the image is projected to two pixel points on the naked eye 3D display screen 302 respectively through the parallax of the left eye and the right eye of the human body 300, and the distance between the two pixel points is the parallax distance. The parallax imaging principle will be further described below in conjunction with specific examples.
[0053] It is easy to understand that in order to ensure that the palm recognition of different human bodies at different distances can be performed when the target recognition distance D is a fixed value, when the height of the human body changes or the horizontal distance between the human body and the naked-eye 3D display device changes, the palm recognition accuracy will inevitably be affected. Therefore, it is necessary to adjust the parallax distance corresponding to the target parallax picture displayed on the naked-eye 3D display screen so that the 3D imaging of the target parallax picture seen by the human body is located between the naked-eye 3D display screen and the human body 300, and determine the adjusted parallax distance as the target parallax distance.
[0054] For example, through the parallax between the left eye and the right eye of the human body, each point on the same 3D palm image is projected to two different parallax positions on the naked-eye 3D display screen 302. Assuming that the distance between the parallax positions is S, the left and right eyes of the human body 300 respectively receive the images at different positions, and then the brain superimposes and fuses the two image information to form an image with up-down, left-right, front-back, far-near stereoscopic effects, such as a palm.
[0055] The distance between the stereoscopic palm after brain processing and the target camera 303 is equal to the target recognition distance D, so that the distance for palm recognition satisfies the optimal recognition distance D. Further, when the human body 300 places the palm in the target area 305 according to the prompt of the stereoscopic palm, the palm of the human body 300 can be successfully recognized.
[0056] It should be noted that, as the horizontal distance H between the human body 300 and the naked-eye 3D display screen and the distance between the human eye and the naked-eye 3D display screen may change, the distance between the stereoscopic palm processed by the brain and the target camera 303 is not equal to the target recognition distance D, so that the distance for palm recognition cannot reach the optimal recognition distance D, resulting in the target camera 303 being unable to accurately recognize the palm of the human body 300. In this case, it is necessary to adjust the parallax distance corresponding to the parallax picture in the naked-eye 3D display screen so that the distance between the stereoscopic palm and the target camera 303 is equal to the target recognition distance D. The following will be described in detail in conjunction with a specific example of how to adjust the parallax distance.
[0057] Obviously, it is easy to understand that the three-dimensional palm located between the naked-eye 3D display screen 303 and the human body 300 is a virtual palm felt by the brain of the human body 300, and the area where the virtual palm is located can be but is not limited to a plane parallel to the naked-eye 3D display screen.
[0058] As an optional example, the above-mentioned palm placement area prompt method can be but is not limited to being used to perform a recognition operation on a palm located in the target area when a target camera captures a palm located in the target area.
[0059] Specifically, under the guidance of the virtual palm in the above step S206 , the human body 300 places the palm on the target area 305 , and when the target camera 303 captures the palm located on the target area 305 , the palm of the human body 300 is recognized.
[0060] Through the above-mentioned embodiments provided by the present application, the parallax distance corresponding to the target parallax picture to be displayed in the naked-eye 3D display screen is adjusted according to the preset target recognition distance, and the parallax distance when the 3D imaging of the target parallax picture seen by the human body is located between the naked-eye 3D display screen and the human body is determined as the target parallax distance. Finally, the palm to be identified is placed in the target area prompted by the 3D imaging of the target parallax picture, so that the human body places the palm to be identified according to the prompt of the palm placement area, which solves the technical problem of poor flexibility in the prompt process of the palm placement area in the related technology and achieves the technical effect of improving the flexibility of the prompt method of the palm placement area.
[0061] As an optional example, determining the target parallax distance corresponding to the target parallax picture to be displayed on the naked-eye 3D display screen according to the target recognition distance includes:
[0062] Obtaining the horizontal distance between the naked-eye 3D display screen and the human body, the interocular distance between the human eyes, the placement height of the naked-eye 3D display screen, and the human body height;
[0063] Determine the target parallax distance based on the target recognition distance, horizontal distance, interocular distance, placement height and human height.
[0064] like Figure 3 As shown, assuming that the horizontal distance between the naked-eye 3D display screen and the human body is H, the interocular distance between the human eyes is x, the placement height of the naked-eye 3D display screen is h1, and the human body height of the human body 300 is h2, the target parallax distance S is determined by the above parameters H, x, h1, and h2.
[0065] As an optional example, the above parameters H, x, h1, and h2 are obtained in a manner including but not limited to the following process:
[0066] The horizontal distance between the naked eye 3D display screen and the human body is obtained through a horizontal distance measuring device;
[0067] Obtaining the human height of the person through a height measuring device;
[0068] Obtaining the preset placement height of the naked-eye 3D display screen;
[0069] A preset interocular distance between the eyes of a human body is obtained, or the interocular distance between the eyes of a human body is obtained by using an interocular distance measuring device.
[0070] pass Figure 3 The horizontal distance measuring device in the height measuring + distance measuring device 304 shown in the figure measures the horizontal distance between the naked-eye 3D display screen and the human body 300 to obtain the parameter H; the height measuring device in the height measuring + distance measuring device 304 measures the height of the human body 300 to obtain the parameter h2.
[0071] In the naked-eye 3D display device, the naked-eye 3D display screen is supported at a reasonable height, such as h1, by a bracket. In this embodiment, h1 can be but is not limited to a pre-set fixed value, and can also be set to a distance value that can be adjusted within a preset range according to the actual application scenario.
[0072] Obviously, it is easy to understand that the interocular distance of most people is relatively small. Therefore, in order to improve the calculation efficiency of the target parallax distance, the interocular distance x can be set to a constant. However, if the accuracy of the target parallax distance is to be improved, the interocular distance x of the human body 300 can also be measured by the interocular distance measuring device in the height measurement + distance measurement device 304. That is, in this embodiment, the method for obtaining the interocular distance of the human body is not limited.
[0073] By adopting the above method, the horizontal distance between the naked-eye 3D display screen and the human body and the height of the human body can be directly obtained through the measuring device in the naked-eye 3D display device, and then the target parallax distance can be calculated in combination with the preset placement height of the naked-eye 3D display screen and the interocular distance, thereby improving the calculation efficiency of the target parallax distance and the efficiency of palm recognition.
[0074] As an optional example, by obtaining the above parameters H, x, h1, h2, and the distance H between the naked-eye 3D display screen and the eyes of the human body, the target parallax distance can be determined by, but is not limited to, the following process:
[0075] Multiplying the target recognition distance by the interocular distance to obtain a first value;
[0076] The target recognition distance and the distance between the naked-eye 3D display screen and the eyes of the human body are summed to obtain a second value;
[0077] The target parallax distance is determined to be equal to a ratio of the first value to the second value.
[0078] Specifically, the target parallax distance S is calculated by the following formula (1).
[0079]
[0080] Among them, the product of the target recognition distance D and the binocular distance x is taken as the first value, and the target recognition distance D is the distance between the target camera 303 and the target area 305 where the virtual palm is located; the target recognition distance D and the distance L between the naked-eye 3D screen 302 and the binocular distance of the human body 300 are summed to obtain the second value; finally, the ratio between the first value and the second value is determined as the target parallax distance S.
[0081] It should be noted that, when the above parameters H, x, h1, and h2 are obtained by the height measurement and distance measurement device 304 in the naked-eye 3D display device, the distance L between the naked-eye 3D screen 302 and the eyes of the human body 300 can also be determined by the following formula (2):
[0082]
[0083] Exemplarily, when determining the distance L between the naked-eye 3D screen 302 and the eyes of the human body 300, the distance between the naked-eye 3D display screen and the eyes of the human body can be determined according to the horizontal distance, the placement height and the height of the human body; the target parallax distance can be determined according to the target recognition distance, the binocular distance, and the distance between the naked-eye 3D display screen and the eyes of the human body. The specific calculation process can refer to the description of the above formula (1), which will not be repeated here. As an optional example, when the distance L between the naked-eye 3D screen 302 and the eyes of the human body 300 is calculated by the above formula (2), the calculation formula (2) of L is combined with formula (1), then formula (1) can be converted into the following formula (3):
[0084]
[0085] Wherein, D is the target recognition distance, x is the interocular distance, H is the distance between the naked-eye 3D display screen and the eyes of the human body 300 , h1 is the placement height of the naked-eye 3D display screen, and h2 is the human body height of the human body 300 .
[0086] Through the above method, the horizontal distance between the naked-eye 3D display screen and the human body and the height of the human body are directly obtained through the measuring device in the naked-eye 3D display device, and then the target parallax distance is calculated in combination with the preset placement height of the naked-eye 3D display screen and the interocular distance, thereby improving the calculation efficiency of the target parallax distance.
[0087] As an optional example, when the horizontal distance between the human body 300 and the naked-eye 3D display screen 302 changes, the implementation method of making the 3D imaging of the target parallax picture seen by the human body 300 located in the target area 305 includes:
[0088] When displaying the target parallax picture on the naked-eye 3D display screen, detecting whether the horizontal distance between the naked-eye 3D display screen and the human body changes;
[0089] When a change in the horizontal distance is detected, the changed horizontal distance is obtained;
[0090] Determine the parallax distance after the change according to the target recognition distance, the horizontal distance after the change, the interocular distance, the placement height and the height of the human body;
[0091] According to the changed parallax distance, the target parallax picture is displayed on the naked-eye 3D display screen, so that the 3D imaging of the target parallax picture seen by the human body is located between the naked-eye 3D display screen and the human body, and the distance from the naked-eye 3D display screen is the target recognition distance.
[0092] Specifically, Figure 4As shown, when the target parallax image is displayed on the naked-eye 3D display screen, assuming that the horizontal distance between the human body 300 and the naked-eye 3D display screen is detected to be changed from H to H1, the changed parallax distance is calculated as S1 by the above formula (3) according to the target recognition distance D, the binocular distance x of the human body 300, the placement height h1 of the naked-eye 3D display screen and the human body height h2.
[0093] According to the changed parallax distance S1, the target parallax picture is displayed on the naked-eye 3D display screen so that the human body 300 can see the virtual palm in the target area 305, wherein the distance between the virtual palm seen by the human body 300 and the target camera 302 is still the target recognition distance D.
[0094] It should be noted that according to the changed parallax distance S1, the target parallax image is displayed on the naked-eye 3D display screen, and then the left and right eyes of the human body 300 receive the images at different positions on the naked-eye 3D display screen respectively, and the brain superimposes and fuses the two image information to form a virtual palm image with a three-dimensional effect.
[0095] Obviously, it is easy to understand that in order to ensure that the distance between the virtual palm in the target area 305 and the naked-eye 3D display screen 301 is always maintained at the optimal recognition distance (target recognition distance D), the position of the target parallax image displayed in the naked-eye 3D display screen is different according to the target parallax distance S and the changed parallax distance S, so that the virtual palm felt by the human body 300 moving backwards is still displayed in the target area 305.
[0096] In addition, according to the above formula (2), when the horizontal distance between the human body 300 and the naked-eye 3D display screen changes from H to H1, the distance L between the naked-eye 3D screen 302 and the eyes of the human body 300 will also adaptively change to L1.
[0097] Through the above-mentioned embodiments provided by the present application, it can be seen that in the process of palm recognition, if the same person moves forward and backward, causing the horizontal distance between the human body and the naked-eye 3D display screen to change, it is necessary to redetermine the parallax distance based on the horizontal distance after the movement, and display the target parallax image according to the changed parallax distance, so that the distance between the virtual palm perceived by the human body and the target camera is always the target recognition distance, thereby improving the applicability of the naked-eye display device and improving the user experience.
[0098] In order to more clearly understand the palm placement area prompt method, the following describes how to determine the changed parallax distance when the human body to be recognized changes during the palm recognition process, and how to make the new human body see that the 3D image of the target parallax image is located between the naked eye 3D display screen and the new human body. The specific implementation process includes:
[0099] When displaying the human body 300 target parallax picture on the naked eye 3D display screen of the human body 300, detecting whether a new human body appears;
[0100] When a new human body is detected, the horizontal distance between the naked-eye 3D display screen of the human body 300 and the new human body 300, the interocular distance between the eyes of the new human body 300, and the height of the new human body 300 are obtained;
[0101] Determine the changed parallax distance according to the target recognition distance of the human body 300, the horizontal distance between the naked-eye 3D display screen of the human body 300 and the new human body of the human body 300, the interocular distance between the eyes of the new human body of the human body 300, the placement height of the human body 300, and the height of the new human body of the human body 300;
[0102] According to the changed parallax distance of human body 300, the parallax picture of human body 300 target is displayed in the naked-eye 3D display screen of human body 300, so that the 3D imaging of the parallax picture of human body 300 target seen by the new human body 300 is located between the naked-eye 3D display screen of human body 300 and the new human body 300, and the distance from the naked-eye 3D display screen of human body 300 is the target recognition distance of human body 300.
[0103] like Figure 5 As shown, it is assumed that when the target camera 302 detects that the human body in front of the naked-eye 3D display screen 301 changes from human body 300 to human body 301, Figure 3 The horizontal distance measuring device in the height measuring + distance measuring device 304 shown in the figure measures the horizontal distance between the naked-eye 3D display screen and the human body 301 to obtain the horizontal distance H2; the height measuring device in the height measuring + distance measuring device 304 measures the height of the human body 301 to obtain the human body height h3; the binocular distance measuring device in the height measuring + distance measuring device 304 measures the binocular distance x1 of the human body 301.
[0104] According to the target recognition distance D, the horizontal distance H2 between the naked eye 3D display screen and the human body 301, the binocular distance x1 of the human body 301, the placement height h1 and the height h3 of the human body 301, and using the above formula (3), the changed parallax distance S2 is determined.
[0105] Furthermore, according to the changed parallax distance S2, the target parallax picture is displayed on the naked-eye 3D display screen, and then a virtual palm image that can be felt by the human body 301 is formed in the target area 305 using the images at different positions on the naked-eye 3D display screen received by the left and right eyes of the human body 301 respectively.
[0106] It should be noted that, in addition to using the binocular distance measurement device to measure the binocular distance x1 of the human body 301, the binocular distance x of the human body 300 can also be directly obtained as the binocular distance of the human body 301. This is because in actual use, the binocular distances of most people are relatively small. Therefore, in order to improve the calculation efficiency of the target parallax distance, the binocular distance x of the last human body 300 participating in palm recognition can be set as a constant.
[0107] Through the above embodiments provided by the present application, it can be seen that in the process of palm recognition, when the human body to be recognized changes, it is necessary to redetermine the parallax distance according to the changed parameters (human body elevation, horizontal distance, interocular distance, etc.), and display the target parallax image according to the changed parallax distance, so that the distance between the virtual palm perceived by the human body and the target camera is always the target recognition distance, thereby improving the application scope of the naked-eye 3D display device and improving the user experience.
[0108] As an optional implementation, the palm placement area prompt method further includes:
[0109] When the parallax picture of the human body 300 is displayed on the naked-eye 3D display screen of the human body 300, detecting whether the horizontal distance of the human body 300 between the naked-eye 3D display screen of the human body 300 and the human body 300 changes;
[0110] When it is detected that the horizontal distance of the human body 300 changes from the current distance value to the target distance value, and the difference between the current distance value of the human body 300 and the target distance value of the human body 300 is within the allowable movement range of the naked-eye 3D display screen of the human body 300, the naked-eye 3D display screen of the human body 300 is controlled to move so that the horizontal distance of the human body 300 between the naked-eye 3D display screen and the human body 300 after movement is the current distance value of the human body 300.
[0111] like Figure 6 As shown, when the target parallax picture is displayed in the naked-eye 3D display screen, assuming that the position of the naked-eye 3D display screen is P1, the current distance value between the naked-eye 3D display screen 302 and the human body 300 is H (the horizontal distance between P1 and P2). When the human body 300 moves from P2 to P4 in a direction away from the naked-eye 3D display screen, the target distance value between the naked-eye 3D display screen 302 and the human body 300 is detected to be H3 (the distance between P1 and P4).
[0112] Assuming that the difference between the current distance value H and the target distance value H3 is within the allowable movement range of the naked eye 3D display screen, by adjusting Figure 3 The bracket 305 shown moves the naked-eye 3D display screen from position P1 to position P3, so that the horizontal distance between the moved position P3 and the moved position P4 of the human body 300 is the current distance value H.
[0113] Obviously, the horizontal distance between the naked-eye 3D display screen and the human body to be identified remains unchanged, and the 3D imaging of the target parallax picture seen by the human body 300 moving to position P4 is located between the naked-eye 3D display screen and the human body to be identified, and the distance from the naked-eye 3D display screen is the target identification distance D.
[0114] It should be noted that in this embodiment, it is implemented under the premise that the bracket 305 in the naked-eye 3D display device is movably connected to the height + distance measuring device 303, and the range of movement allowed by the bracket 305 is determined according to the distance value allowed to be adjusted in the horizontal direction by the height + distance measuring device 303. For example, when the distance value allowed to be adjusted in the horizontal direction by the height + distance measuring device 303 is 5 cm, the range of movement allowed by the bracket 305 is 0 to 5 cm.
[0115] It is easy to understand that the above-mentioned range of 0 to 5 cm of allowed movement is only an example and is not intended to be limiting. In actual application, other ranges of allowed movement may be set as required, such as 0 to 6 cm, 0 to 8 cm, etc.
[0116] Through the above method, during the palm recognition process, when the horizontal distance of the same human body to be recognized relative to the naked-eye 3D display screen changes, the naked-eye 3D display screen is controlled to move so that the horizontal distance between the naked-eye 3D display screen and the human body to be recognized remains unchanged, thereby ensuring that the 3D imaging of the target parallax picture seen by the human body is always located between the naked-eye 3D display screen and the human body to be recognized, and the distance from the naked-eye 3D display screen is the target recognition distance, thereby improving the efficiency and accuracy of palm recognition.
[0117] In the above embodiments, all involve displaying a target parallax picture on a naked-eye 3D display screen according to the target parallax distance, which is described in detail below in conjunction with specific embodiments, specifically including:
[0118] According to the target parallax distance, the distance between the imaging positions of each pixel point in the displayed target parallax picture in both eyes of the human body is controlled to be the target parallax distance.
[0119] In this embodiment, it is assumed that according to the target parallax distance S, a target parallax picture is displayed in the naked-eye 3D display screen 302, and each target parallax picture is composed of multiple pixel points in the horizontal direction and multiple pixel points in the vertical direction. For each pixel point, the imaging position in the left eye and the right eye of the human body 300 is different through the parallax barrier display screen or the cylindrical lens.
[0120] For example, assuming that for a pixel point in the target parallax image, the imaging positions in the left eye and right eye of the human body 300 are B1 and B2 respectively, and the brain superimposes and fuses the information at the two positions, so that the human body 300 sees the 3D image of the pixel point as B, and the distance between B1 and B2 is S.
[0121] Similarly, assuming that for another pixel point in the target parallax image, the imaging positions in the left eye and right eye of the human body 300 are B'1 and B'2 respectively, the brain superimposes and fuses the information at the two positions, so that the human body 300 sees the 3D image of the pixel point as B', and the distance between B1 and B2 is also S.
[0122] It can be seen that through the above process, using the parallax barrier display or cylindrical lens, multiple pixel points in the target parallax picture are imaged as images with a target parallax distance S in the left eye and the right eye of the human body 300, respectively, thereby generating a sense of distance and three-dimensionality (for example, a virtual palm in the target area). This process is also called naked-eye 3D display technology.
[0123] By applying the above-mentioned naked-eye 3D display technology to the palm recognition process, the palm can be automatically recognized by placing the palm in the target area at the target parallax distance S from the naked-eye 3D display screen, realizing contactless palm recognition and improving the reliability of palm recognition. In addition, there is no need to design a fixed bracket that is kept at the target recognition distance with the target camera, making the naked-eye 3D display device simpler and more convenient to deploy.
[0124] In order to understand the above palm placement area prompt method more clearly, the following Figure 8 The overall flow chart shown is further described, specifically, including:
[0125] S802, the person to be identified prepares for palm recognition;
[0126] For example, at a reasonable horizontal distance from the naked-eye 3D display device, a foot-shaped standing indication is drawn so that the person to be identified (such as human body 300) stands at a horizontal distance H from the naked-eye 3D display screen according to the indication.
[0127] S804, measuring the horizontal distance between the naked-eye 3D display screen and the human body, the height of the human body, etc. by using the naked-eye 3D display device;
[0128] For example, by Figure 3 The horizontal distance measuring device in the height measuring + distance measuring device 304 shown in the figure measures the horizontal distance between the naked-eye 3D display screen and the human body 300 to obtain the parameter H; the height measuring device in the height measuring + distance measuring device 304 measures the height of the human body 300 to obtain the parameter h2.
[0129] S806, calculating the actual parallax position of the target parallax image on the naked-eye 3D display screen according to the real-time data;
[0130] like Figure 3 to Figure 5 As shown, after the human body 300 moves or the human body to be identified changes, the target parallax distance that changes in real time is determined based on the acquired real-time data (the horizontal distance between the human body and the naked-eye 3D display screen, the human body's height, the interocular distance, etc.), and based on the target parallax distance, the target parallax picture is displayed on the naked-eye 3D display screen, so that the 3D imaging of the target parallax picture seen by the human body is located between the naked-eye 3D display screen and the human body, and the distance from the naked-eye 3D display screen is the target identification distance D.
[0131] S808, floating display of specific palm brushing instructions;
[0132] For example, through the above-mentioned naked-eye 3D display technology, the 3D virtual palm corresponding to the target parallax picture is suspended and displayed on the Figure 4 In the target area 305 shown, under the guidance of the virtual palm, the human body 300 places the palm in the target area 305, as shown in step S810.
[0133] S812, performing a recognition operation on the palm located on the target area, and if the recognition is successful, giving a recognition success prompt, as in step S814.
[0134] Through the above-mentioned embodiments provided by the present application, the parallax distance corresponding to the target parallax picture to be displayed in the naked-eye 3D display screen is adjusted according to the preset target recognition distance, and the parallax distance when the 3D imaging of the target parallax picture seen by the human body is located between the naked-eye 3D display screen and the human body is determined as the target parallax distance. Finally, the palm to be identified is placed in the target area prompted by the 3D imaging of the target parallax picture, so that the human body places the palm to be identified according to the prompt of the palm placement area, which solves the technical problem of poor flexibility in the prompt process of the palm placement area in the related technology and achieves the technical effect of improving the flexibility of the prompt method of the palm placement area.
[0135] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0136] According to another aspect of the embodiment of the present invention, there is also provided Fig. 9 A palm placement area prompting device is shown, the device comprising:
[0137] A first acquisition unit 902 is used to acquire a target recognition distance corresponding to a target camera;
[0138] The first processing unit 904 is used to determine the target parallax distance corresponding to the target parallax picture to be displayed on the naked eye 3D display screen according to the target recognition distance of the human body 300;
[0139] The second processing unit 906 is used to display the human body 300 target parallax picture in the human body 300 naked-eye 3D display screen according to the human body 300 target parallax distance, so that the 3D imaging of the human body 300 target parallax picture seen by the human body is located between the human body 300 naked-eye 3D display screen and the human body 300 human body, and the distance from the human body 300 naked-eye 3D display screen is the human body 300 target recognition distance, wherein the 3D imaging of the human body 300 target parallax picture is used to prompt the target area for placing the palm.
[0140] Optionally, the first processing unit 904 includes:
[0141] The first acquisition module is used to acquire the horizontal distance between the naked-eye 3D display screen of the human body 300 and the human body 300, the interocular distance between the eyes of the human body 300, the placement height of the naked-eye 3D display screen of the human body 300 and the human body height of the human body 300;
[0142] The first processing module is used to determine the parallax distance of the human body 300 according to the target recognition distance of the human body 300, the horizontal distance of the human body 300, the interocular distance of the human body 300, the placement height of the human body 300 and the height of the human body 300.
[0143] Optionally, the first processing module includes:
[0144] The first processing submodule is used to determine the distance between the naked-eye 3D display screen of the human body 300 and the eyes of the human body 300 according to the horizontal distance of the human body 300, the placement height of the human body 300 and the height of the human body 300;
[0145] The second processing submodule is used to determine the target parallax distance of the human body 300 according to the target recognition distance of the human body 300, the interocular distance of the human body 300, and the distance between the naked-eye 3D display screen of the human body 300 and the interocular distance of the human body 300.
[0146] Optionally, the first processing module further includes:
[0147] A third processing submodule is used to multiply the target recognition distance of the human body 300 by the binocular distance of the human body 300 to obtain a first value;
[0148] The fourth processing submodule is used to sum the target recognition distance of the human body 300 and the distance between the naked-eye 3D display screen of the human body 300 and the eyes of the human body 300 to obtain a second value;
[0149] The fourth processing submodule is used to determine the target parallax distance of the human body 300 to be equal to the ratio of the first value of the human body 300 to the second value of the human body 300.
[0150] Optionally, the first acquisition module includes:
[0151] The first acquisition submodule is used to acquire the horizontal distance between the naked-eye 3D display screen of the human body 300 and the human body 300 through a horizontal distance measuring device;
[0152] The second acquisition submodule is used to acquire the height of the human body 300 through a height measurement device;
[0153] The third acquisition submodule is used to obtain the placement height of the preset naked-eye 3D display screen of the human body 300;
[0154] The fourth acquisition submodule is used to acquire a preset interocular distance between the eyes of the human body 300, or to acquire the interocular distance between the eyes of the human body 300 through an interocular distance measuring device.
[0155] Optionally, the above device further includes:
[0156] The first detection unit is used to detect whether the horizontal distance of the human body 300 between the naked-eye 3D display screen of the human body 300 and the human body 300 changes when the parallax picture of the human body 300 target is displayed on the naked-eye 3D display screen of the human body 300;
[0157] A second acquisition unit is used to acquire the changed horizontal distance when detecting that the horizontal distance of the human body 300 changes;
[0158] The third processing unit is used to determine the changed parallax distance according to the target recognition distance of the human body 300, the changed horizontal distance of the human body 300, the interocular distance of the human body 300, the placement height of the human body 300 and the height of the human body 300;
[0159] The fourth processing unit is used to display the target parallax picture of the human body 300 in the naked-eye 3D display screen of the human body 300 according to the changed parallax distance of the human body 300, so that the 3D imaging of the target parallax picture of the human body 300 seen by the human body 300 is located between the naked-eye 3D display screen of the human body 300 and the human body 300, and the distance from the naked-eye 3D display screen of the human body 300 is the target recognition distance of the human body 300.
[0160] Optionally, the above device further includes:
[0161] A second detection unit is used to detect whether a new human body appears when the human body 300 target parallax picture is displayed on the naked eye 3D display screen of the human body 300;
[0162] A third acquisition unit is used to acquire, when a new human body is detected, a horizontal distance between the naked-eye 3D display screen of the human body 300 and the new human body 300, an interocular distance between the eyes of the new human body 300, and a human height of the new human body 300;
[0163] a fifth processing unit, for determining a changed parallax distance according to the target recognition distance of the human body 300, the horizontal distance between the naked-eye 3D display screen of the human body 300 and the new human body of the human body 300, the interocular distance between the eyes of the new human body of the human body 300, the placement height of the human body 300, and the height of the new human body of the human body 300;
[0164] The sixth processing unit is used to display the target parallax picture of the human body 300 in the naked-eye 3D display screen of the human body 300 according to the changed parallax distance of the human body 300, so that the 3D imaging of the target parallax picture of the human body 300 seen by the new human body 300 is located between the naked-eye 3D display screen of the human body 300 and the new human body 300, and the distance from the naked-eye 3D display screen of the human body 300 is the target recognition distance of the human body 300.
[0165] Optionally, the above device further includes:
[0166] The seventh processing unit is used to detect whether the horizontal distance of the human body 300 between the naked-eye 3D display screen of the human body 300 and the human body 300 changes when the parallax picture of the human body 300 target is displayed on the naked-eye 3D display screen of the human body 300;
[0167] The eighth processing unit is used to control the movement of the naked-eye 3D display screen of the human body 300 when it is detected that the horizontal distance of the human body 300 changes from the current distance value to the target distance value, and the difference between the current distance value of the human body 300 and the target distance value of the human body 300 is within the allowable movement range of the naked-eye 3D display screen of the human body 300, so that the horizontal distance of the human body 300 between the naked-eye 3D display screen of the human body 300 and the human body 300 after movement is the current distance value of the human body 300.
[0168] Optionally, the above device further includes:
[0169] The control unit is used to control the distance between the imaging positions of each pixel point in the displayed human body 300 target disparity picture in both eyes of the human body 300 to be the human body 300 target disparity distance according to the human body 300 target disparity distance.
[0170] By applying the above-mentioned device to palm recognition, the parallax distance corresponding to the target parallax picture to be displayed in the naked-eye 3D display screen is adjusted according to the preset target recognition distance, and the parallax distance when the 3D imaging of the target parallax picture seen by the human body is located between the naked-eye 3D display screen and the human body is determined as the target parallax distance, and finally the palm to be recognized is placed in the target area prompted by the 3D imaging of the target parallax picture, so that the human body places the palm to be recognized according to the prompt of the palm placement area, which solves the technical problem of poor flexibility in the prompt process of the palm placement area in the related technology and achieves the technical effect of improving the flexibility of the prompt method of the palm placement area.
[0171] It should be noted that the embodiments of the device for prompting the palm placement area here can refer to the embodiments of the method for prompting the palm placement area mentioned above, which will not be described in detail here.
[0172] According to another aspect of the embodiment of the present application, an electronic device for implementing the palm placement area prompting method is also provided. The electronic device may be Fig.10 The terminal device shown in FIG. 1 is a terminal device. This embodiment is described by taking the electronic device as a background device as an example. Fig.10 As shown, the electronic device includes a memory 1002 and a processor 1004. The memory 1002 stores a computer program, and the processor 1004 is configured to execute the steps in any of the above method embodiments through the computer program.
[0173] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.
[0174] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0175] S1, obtain the target recognition distance corresponding to the target camera;
[0176] S2, determining the target parallax distance corresponding to the target parallax picture to be displayed on the naked eye 3D display screen according to the target recognition distance of the human body 300;
[0177] S3, according to the parallax distance of the human body 300 target, display the parallax picture of the human body 300 target in the naked-eye 3D display screen of the human body 300, so that the 3D imaging of the parallax picture of the human body 300 target seen by the human body is located between the naked-eye 3D display screen of the human body 300 and the human body 300, and the distance from the naked-eye 3D display screen of the human body 300 is the target recognition distance of the human body 300, wherein the 3D imaging of the parallax picture of the human body 300 target is used to prompt the target area for placing the palm.
[0178] Alternatively, a person skilled in the art may understand that: Fig.10 The structure shown is for illustration only, and the electronic device may also be a target terminal such as a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, and a mobile Internet device (MID), a PAD, etc. Fig.10 The electronic device and the electronic equipment described above are not limited in structure. Fig.10 More or fewer components (such as network interfaces, etc.) as shown in, or with Fig.10 Different configurations shown.
[0179] Among them, the memory 1002 can be used to store software programs and modules, such as the program instructions / modules corresponding to the palm placement area prompt method and device in the embodiment of the present application. The processor 1004 executes various functional applications and data processing by running the software programs and modules stored in the memory 1002, that is, to implement the above-mentioned palm placement area prompt method. The memory 1002 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1002 may further include a memory remotely arranged relative to the processor 1004, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned networks include but are not limited to the Internet, corporate intranets, local area networks, mobile communication networks and combinations thereof. Among them, the memory 1002 can specifically but is not limited to storing target recognition distance, target visual parallax distance, human body elevation, etc. As an example, Fig.10As shown, the memory 1002 may include, but is not limited to, the first acquisition unit 902, the first processing unit 904, and the second processing unit 906 in the palm placement area prompting device. In addition, it may also include, but is not limited to, other module units in the palm placement area prompting device, which will not be repeated in this example.
[0180] Optionally, the transmission device 1006 is used to receive or send data via a network. Specific examples of the above-mentioned network may include a wired network and a wireless network. In one example, the transmission device 1006 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 1006 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0181] In addition, the electronic device further includes: a display 1008 for displaying a target parallax picture; and a connection bus 1010 for connecting various module components in the electronic device.
[0182] In other embodiments, the target terminal or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the multiple nodes in the form of network communication. Among them, the nodes may form a peer-to-peer (P2P) network, and any form of computing device, such as a server, terminal or other electronic device, may become a node in the blockchain system by joining the peer-to-peer network.
[0183] According to one aspect of the present application, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the palm placement area prompt method provided in various optional implementations of the above-mentioned server verification processing and other aspects, wherein the computer program is configured to execute the steps of any of the above-mentioned method embodiments when running.
[0184] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:
[0185] S1, obtain the target recognition distance corresponding to the target camera;
[0186] S2, determining the target parallax distance corresponding to the target parallax picture to be displayed on the naked eye 3D display screen according to the target recognition distance of the human body 300;
[0187] S3, according to the parallax distance of the human body 300 target, display the parallax picture of the human body 300 target in the naked-eye 3D display screen of the human body 300, so that the 3D imaging of the parallax picture of the human body 300 target seen by the human body is located between the naked-eye 3D display screen of the human body 300 and the human body 300, and the distance from the naked-eye 3D display screen of the human body 300 is the target recognition distance of the human body 300, wherein the 3D imaging of the parallax picture of the human body 300 target is used to prompt the target area for placing the palm.
[0188] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing the hardware related to the target terminal through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0189] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0190] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which can be personal computers, servers or network devices, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention.
[0191] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0192] In the several embodiments provided in the present application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0193] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0194] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0195] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for prompting a palm placement area, characterized in that: include: Get the target recognition distance corresponding to the target camera; Determining a target parallax distance corresponding to a target parallax picture to be displayed on a naked-eye 3D display screen according to the target recognition distance; According to the target parallax distance, the target parallax picture is displayed on the naked-eye 3D display screen, so that a 3D image of the target parallax picture seen by a human body is located between the naked-eye 3D display screen and the human body, and the distance from the naked-eye 3D display screen is the target recognition distance, wherein the 3D image of the target parallax picture is used to indicate a target area for placing a palm; The method also includes: when the horizontal distance between the naked-eye 3D display screen and the human body changes, obtaining an adjusted parallax distance by adjusting the target parallax distance corresponding to the parallax picture in the naked-eye 3D display screen; and displaying the target parallax picture in the naked-eye 3D display screen according to the adjusted parallax distance so that the distance between the 3D imaging of the target parallax picture and the naked-eye 3D display screen is the target recognition distance.
2. The method according to claim 1, characterized in that The step of determining the target parallax distance corresponding to the target parallax picture to be displayed on the naked-eye 3D display screen according to the target recognition distance includes: Acquire the horizontal distance between the naked-eye 3D display screen and the human body, the interocular distance between the eyes of the human body, the placement height of the naked-eye 3D display screen, and the human body height; The target parallax distance is determined according to the target recognition distance, the horizontal distance, the interocular distance, the placement height and the human body height.
3. The method according to claim 2, characterized in that The determining the target parallax distance according to the target recognition distance, the horizontal distance, the interocular distance, the placement height and the human body height includes: Determine the distance between the naked-eye 3D display screen and both eyes of the human body according to the horizontal distance, the placement height and the height of the human body; The target parallax distance is determined according to the target recognition distance, the interocular distance, and the distance between the naked-eye 3D display screen and the human body's eyes.
4. The method according to claim 3, characterized in that The determining the target parallax distance according to the target recognition distance, the binocular distance, and the distance between the naked-eye 3D display screen and the eyes of the human body comprises: Multiplying the target recognition distance by the interocular distance to obtain a first value; Summing the target recognition distance and the distance between the naked-eye 3D display screen and the eyes of the human body to obtain a second value; The target parallax distance is determined to be equal to a ratio of the first value to the second value.
5. The method according to claim 2, characterized in that: The obtaining of the horizontal distance between the naked-eye 3D display screen and the human body, the interocular distance between the two eyes of the human body, the placement height of the naked-eye 3D display screen and the human body height includes: Obtaining the horizontal distance between the naked-eye 3D display screen and the human body by means of a horizontal distance measuring device; Obtaining the height of the person through a height measuring device; Obtaining a preset placement height of the naked-eye 3D display screen; A preset interocular distance between the two eyes of the human body is obtained, or the interocular distance between the two eyes of the human body is obtained by using an interocular distance measuring device.
6. The method according to claim 2, characterized in that The method further comprises: When the target parallax picture is displayed on the naked-eye 3D display screen, detecting whether the horizontal distance between the naked-eye 3D display screen and the human body changes; When a change in the horizontal distance is detected, obtaining the changed horizontal distance; Determining a changed parallax distance according to the target recognition distance, the changed horizontal distance, the interocular distance, the placement height, and the human body height; According to the changed parallax distance, the target parallax picture is displayed on the naked-eye 3D display screen so that the 3D imaging of the target parallax picture seen by the human body is located between the naked-eye 3D display screen and the human body, and the distance from the naked-eye 3D display screen is the target recognition distance.
7. The method according to claim 2, characterized in that The method further comprises: When the target parallax picture is displayed on the naked-eye 3D display screen, detecting whether a new human body appears; When a new human body is detected, the horizontal distance between the naked-eye 3D display screen and the new human body, the interocular distance between the eyes of the new human body, and the height of the new human body are obtained; Determine the changed parallax distance according to the target recognition distance, the horizontal distance between the naked eye 3D display screen and the new human body, the interocular distance between the eyes of the new human body, the placement height, and the body height of the new human body; According to the changed parallax distance, the target parallax picture is displayed on the naked-eye 3D display screen so that the 3D imaging of the target parallax picture seen by the new human body is located between the naked-eye 3D display screen and the new human body, and the distance from the naked-eye 3D display screen is the target recognition distance.
8. The method according to claim 2, characterized in that: The method further comprises: When the target parallax picture is displayed on the naked-eye 3D display screen, detecting whether the horizontal distance between the naked-eye 3D display screen and the human body changes; When it is detected that the horizontal distance changes from the current distance value to the target distance value, and the difference between the current distance value and the target distance value is within the allowable movement range of the naked-eye 3D display screen, the naked-eye 3D display screen is controlled to move so that the horizontal distance between the naked-eye 3D display screen and the human body after movement is the current distance value.
9. The method according to any one of claims 1 to 8, characterized in that Displaying the target parallax picture on the naked-eye 3D display screen according to the target parallax distance includes: According to the target parallax distance, the distance between the imaging positions of each pixel point in the target parallax picture to be displayed in the human body is controlled to be the target parallax distance.
10. A palm placement area prompt device, characterized in that: include: A first acquisition unit, used to acquire a target recognition distance corresponding to a target camera; A first processing unit is used to determine a target parallax distance corresponding to a target parallax picture to be displayed on a naked-eye 3D display screen according to the target recognition distance; a second processing unit, configured to display the target parallax picture on the naked-eye 3D display screen according to the target parallax distance, so that a 3D image of the target parallax picture seen by a human body is located between the naked-eye 3D display screen and the human body, and the distance from the naked-eye 3D display screen is the target recognition distance, wherein the 3D image of the target parallax picture is used to indicate a target area for placing a palm; The device is also used to obtain an adjusted parallax distance by adjusting the target parallax distance corresponding to the parallax picture in the naked-eye 3D display screen when the horizontal distance between the naked-eye 3D display screen and the human body changes; and display the target parallax picture in the naked-eye 3D display screen according to the adjusted parallax distance so that the distance between the 3D imaging of the target parallax picture and the naked-eye 3D display screen is the target recognition distance.
11. The device according to claim 10, characterized in that The first processing unit comprises: A first acquisition module is used to acquire a horizontal distance between the naked-eye 3D display screen and the human body, an interocular distance between the eyes of the human body, a placement height of the naked-eye 3D display screen, and a human body height of the human body; The first processing module is used to determine the target parallax distance according to the target recognition distance, the horizontal distance, the interocular distance, the placement height and the human body height.
12. The device according to claim 11, characterized in that The first processing module comprises: A first processing submodule is used to determine the distance between the naked-eye 3D display screen and the eyes of the human body according to the horizontal distance, the placement height and the height of the human body; The second processing submodule is used to determine the target parallax distance according to the target recognition distance, the interocular distance, and the distance between the naked-eye 3D display screen and the human body's eyes.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program is executed by a processor to perform the method according to any one of claims 1 to 9.
14. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.
15. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 9 through the computer program.
Citation Information
Patent Citations
Method, device and system for assisting palmprint recognition
CN107133557A
Naked eye 3D display method and system applied to vehicle-mounted surround-view camera shooting
CN111447431A