A method and device for realizing multi-element desktop projection interaction
Through the Kinect2.0 depth camera and specific signal processing methods, the problem that existing technology cannot achieve pixel-level fine projection interaction is solved, and more accurate and rich desktop projection interactive signal processing is achieved, which is suitable for interactive products in a variety of places.
Patent Information
- Application Number
- CN202210377631.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-12
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-04-12
AI Technical Summary
Existing desktop projection interactive systems are unable to achieve pixel-level fine projection interaction. In particular, they cannot accurately track and identify the movement of objects on the desktop. Especially when the objects are not moving or special tableware is not used, the signal processing effect is poor.
Using the Kinect2.0 depth camera, it is installed directly above or diagonally above the desktop. By aligning the depth map image signal and the projection screen, it uses six-point stretching calculation and interval plus rolling sampling method to achieve pixel-level fine interaction and recognition of different objects. track.
It greatly improves the signal richness of desktop projection interaction, achieves pixel-level fine object tracking and recognition, is suitable for various places, and enhances the interactive experience and product novelty.
Smart Images

Figure CN114760450B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of projection interaction, and in particular relates to a method and device for realizing multi-element desktop projection interaction. Background Art
[0002] The desktop interactive projection system is an interactive system for advertising and entertainment that integrates the world's most advanced technology. The interactive audio-visual system provides an unusual and exciting advertising and entertainment system that complements each other. It is suitable for all public indoor places, especially leisure, shopping, entertainment and education places. The operating principle of the interactive projection system is to first capture and shoot the target image through the capture device, and then analyze it through the image analysis system to generate the movement of the captured object. The movement data is combined with the real-time image interactive system to produce a close interactive effect between the participants and the screen.
[0003] The signal sources of current desktop projection interactions are mainly the following three categories: 1) Based on infrared cameras to detect changes in the picture: Based on infrared cameras without special tableware, they can only detect changes in the picture and the position of moving objects as interactive signal input, and when the object does not move, the tracking signal will disappear. Only when special tableware is used can the special tableware be identified and tracked. However, they cannot achieve pixel-level fine projection interaction, such as any contour position of a hand inserted into the picture to cause a butterfly in the projection picture to avoid and fly away;
[0004] 2) Detecting depth image changes based on the depth camera: It is impossible to track the continuous motion position signal of an object; it is impossible to achieve pixel-level fine projection interaction, and the depth camera must be installed vertically above the desktop;
[0005] 3) Based on image deep learning; it can recognize specific pictures or objects, but it is not suitable for desktop projection interaction. On the one hand, the overall light environment of projection interaction is dim, which is not conducive to AI model matching and recognition. On the other hand, during the projection interaction, the light on the objects or pictures often changes greatly. These factors make this type of method currently unsuitable for signal processing of desktop projection interaction. Summary of the invention
[0006] In order to solve the above technical problems, the present invention provides a method and device for realizing multi-element desktop projection interaction, based on the kinect2.0 depth camera, the depth camera is installed just above the desktop, can cover the desktop, and can be installed in a straight-on or side-on position; the present invention increases the number of interactive elements, greatly improving the signal richness of the existing desktop projection interaction;
[0007] In order to achieve the above technical objectives, the present invention is implemented through the following technical solutions: a multi-element desktop projection interaction implementation device, comprising: a desktop, a projector, a computer, and a depth camera;
[0008] The depth camera is located directly above or diagonally above the desktop; the projector is located above the desktop, so that the image projected on the desktop is not deformed.
[0009] Another object of the present invention is to provide a method for implementing multi-element desktop projection interaction, comprising the following steps:
[0010] S1: Align the depth map image signal and the desktop projection image;
[0011] S2: Any pixel position in the projected image can accurately find its corresponding depth map position to achieve pixel-level fine interaction;
[0012] S3: Tracking and recognition of different objects on the desktop;
[0013] Preferably, the specific method for aligning the depth map image signal and the desktop projection screen in S1 includes:
[0014] S1.1: Determine the effective area of the projection screen and align the projection screen with the desktop;
[0015] S1.2: Align the depth map data and the horizontal line position of the projected image to determine the horizontal positions of the two middle points of the six-point stretch;
[0016] S1.3: Six-point stretch calculation to align the depth map data and the projected image. Specifically, based on the depth map horizontal line position determined in S1.2, the depth map image is divided into the upper half and the lower half, and two points on the shared horizontal line are used. Four-point stretch correction is performed in each area. In conjunction with the positioning point object placed on the desktop, the depth map position of each positioning point and the actual placement position on the desktop are stretched and aligned.
[0017] S1.4: Store the depth data when the desktop is empty, and compare it with the real-time depth data to determine whether there is a depth change at any position of the projection desktop, that is, whether there is an object placed there;
[0018] Preferably, the specific method of S2 is: accurately calculate the corresponding position of the screen pixel point in the depth image pixel point through six-point stretching reverse calculation: divide the projection picture into the upper half and the lower half by the horizontal midline of the desktop, share two points on the horizontal line, perform four-point stretching calculation on the two areas respectively, and verify the correctness of the reverse calculation result with the calculation method of S1.3;
[0019] Preferably, the four-point stretching calculation is specifically as follows: mapping from the screen position to the depth map position, first calculating the vertical axis position on the depth map according to the upper and lower partitions, and then calculating the horizontal axis position of the depth map according to the upper and lower partitions of the depth map to which the vertical axis position of the depth map belongs;
[0020] Preferably, the specific method of tracking and identifying different objects in S3 is:
[0021] S3.1: Optimizing the performance of real-time signal detection: The total number of pixels of the Kinect2.0 depth camera is 512x424, a total of 217088 pixels. In real-time interaction, the depth data changes of each pixel are compared in real time for each frame, which consumes a lot of performance. In view of this, the present invention adopts the method of interval plus rolling sampling position;
[0022] S3.2: Recognition and stable tracking of different circular objects;
[0023] Preferably, the interval plus rolling sampling position method is: that is, one pixel is read at intervals of 5 pixel positions for processing, and the position of data extraction is rolled frame by frame, and the previous frame reads 1, 6, 11, 16..., the next frame reads 2, 7, 12, 17..., and so on;
[0024] Preferably, the identification method of different circular objects is specifically as follows: multi-feature parameter competitive scoring, the monitoring feature is mainly the average depth value difference within a certain circular ring range, the pixels that meet the conditions are dynamically increased in score, and the pixels that exceed the circular ring range or do not match the set average depth difference are dynamically reduced in score. If the accumulated score exceeds the set threshold, it will be judged as a certain type of circular object;
[0025] Preferably, the anti-hand-held interference method after identifying different circular objects is specifically as follows: pixels are assigned different weights according to their positions and included in the circular position update, with the weight inside the circle being higher and the weight of pixels outside the circle close to the circular position being lower; at the same time, pixel points on the extension line from the center of the desktop to the circular position are identified, and their position data are reversely counted into the circular position.
[0026] The beneficial effects of the present invention are as follows: the present invention is applicable to various catering, education, and entertainment venues, provides a more accurate and delicate desktop projection interactive signal processing method, is easy to install and use, can promote commercial activities to attract popularity, promote consumption, increase the novelty of children's projection interactive products, increase cognitive efficiency, enhance interactive experience, etc.;
[0027] The present invention can meet the design and implementation of desktop projection interactive products with a large number of rich details; most of the existing desktop projection interactions are based on pure video effect playback, with few and simple interactive design points, and the present invention can greatly improve the signal richness of existing desktop projection interactions. In addition to the existing special object recognition and tracking, we can also interact with handheld non-special circular objects, and realize pixel-level interaction of depth data of any desktop object (not seriously reflective and translucent); it is conducive to developers to realize desktop projection interactive products with richer interactive effects and stronger operability. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0029] Figure 1 It is a schematic diagram of the position of the device of the present invention;
[0030] Figure 2 is a schematic diagram of different circular object recognition of the present invention;
[0031] Figure 3 Schematic diagram of tracking different circular objects according to the present invention. DETAILED DESCRIPTION
[0032] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 are within the scope of protection of the present invention.
[0033] Example 1
[0034] See also Figure 1 As shown, a multi-element desktop projection interaction realization device includes: a desktop, a projector, a computer, and a depth camera;
[0035] The depth camera is located directly above or diagonally above the desktop; the projector is located above the desktop, so that the image projected on the desktop is not deformed.
[0036] Example 2
[0037] A method for implementing multi-element desktop projection interaction, comprising the following steps:
[0038] S1: Align the depth map image signal and the desktop projection image;
[0039] S2: Any pixel position in the projected image can accurately find its corresponding depth map position to achieve pixel-level fine interaction;
[0040] S3: Tracking and recognition of different objects on the desktop;
[0041] Preferably, the specific method for aligning the depth map image signal and the desktop projection screen in S1 includes:
[0042] S1.1: Determine the effective area of the projection screen and align the projection screen with the desktop;
[0043] S1.2: Align the depth map data and the horizontal line position of the projected image to determine the horizontal positions of the two middle points of the six-point stretch;
[0044] S1.3: Six-point stretch calculation to align the depth map data and the projected image. Specifically, based on the depth map horizontal line position determined in S1.2, the depth map image is divided into the upper half and the lower half, and two points on the shared horizontal line are used. Four-point stretch correction is performed in each area. In conjunction with the positioning point object placed on the desktop, the depth map position of each positioning point and the actual placement position on the desktop are stretched and aligned.
[0045] S1.4: Store the depth data when the desktop is empty, and compare it with the real-time depth data to determine whether there is a depth change at any position of the projection desktop, that is, whether there is an object placed there;
[0046] Preferably, the specific method of S2 is: accurately calculate the corresponding position of the screen pixel point in the depth image pixel point through six-point stretching reverse calculation: divide the projection picture into the upper half and the lower half by the horizontal midline of the desktop, share two points on the horizontal line, perform four-point stretching calculation on the two areas respectively, and verify the correctness of the reverse calculation result with the calculation method of S1.3;
[0047] Preferably, the four-point stretching calculation is specifically as follows: mapping from the screen position to the depth map position, first calculating the vertical axis position on the depth map according to the upper and lower partitions, and then calculating the horizontal axis position of the depth map according to the upper and lower partitions of the depth map to which the vertical axis position of the depth map belongs;
[0048] Preferably, the specific method of tracking and identifying different objects in S3 is:
[0049] S3.1: Optimizing the performance of real-time signal detection: The total number of pixels of the Kinect2.0 depth camera is 512x424, a total of 217088 pixels. In real-time interaction, the depth data changes of each pixel are compared in real time for each frame, which consumes a lot of performance. In view of this, the present invention adopts the method of interval plus rolling sampling position;
[0050] S3.2: Identification and stable tracking of different circular objects. The method of the present invention includes a special identification method for circular objects and is resistant to hand interference, that is, after it is identified, the object can be moved by hand without affecting its identification position and continuous tracking; the circular object to be identified only needs to be non-reflective or non-transmissive, and does not require special production;
[0051] Preferably, the interval plus rolling sampling position method is: that is, one pixel is read at intervals of 5 pixel positions for processing, and the position of data extraction is rolled frame by frame, and the previous frame reads 1, 6, 11, 16..., the next frame reads 2, 7, 12, 17..., and so on;
[0052] Preferably, the identification method of different circular objects is specifically as follows: multi-feature parameter competitive scoring, the monitoring feature is mainly the average depth value difference within a certain circular ring range, the pixels that meet the conditions are dynamically increased in score, and the pixels that exceed the circular ring range or do not match the set average depth difference are dynamically reduced in score. If the accumulated score exceeds the set threshold, it will be judged as a certain type of circular object;
[0053] Preferably, the anti-hand-held interference method after identifying different circular objects is specifically as follows: pixels are assigned different weights according to their positions and included in the circular position update, with the weight inside the circle being higher and the weight of pixels outside the circle close to the circular position being lower; at the same time, pixel points on the extension line from the center of the desktop to the circular position are identified, and their position data are reversely counted into the circular position.
[0054] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0055] The preferred embodiments of the present invention disclosed above are only used to help illustrate the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.
Claims
1. A method for implementing multi-element desktop projection interaction, characterized in that: The method is implemented by using the following devices, including: a desktop, a projector, a computer, and a depth camera; the depth camera is located directly above or obliquely above the desktop; the projector is located above the desktop; The method comprises the following steps: S1: Align the depth map image signal and the desktop projection screen; specifically, determine the effective area range of the projection screen, align the projection screen and the desktop; align the depth map data and the horizontal line position of the projection screen to determine the horizontal position of the two middle points of the six-point stretching; six-point stretching calculation aligns the depth map data and the projection screen, specifically: based on the determined horizontal line position of the depth map, divide the depth map screen into the upper half and the lower half, share two points on the horizontal line, and perform four-point stretching correction in the two areas respectively, and cooperate with the positioning point object placed on the desktop to stretch and align the depth map position of each positioning point with the actual placement position of the desktop; store the depth data when the desktop is vacant, and use it to compare with the real-time depth data, so as to determine whether there is a depth change at any position of the projection desktop, that is, whether there is an object placed; S2: Any pixel position in the projected image can accurately find its corresponding depth map position to achieve pixel-level fine interaction; the specific method is: through six-point stretching reverse calculation, accurately calculate the corresponding position of the screen pixel point in the depth image pixel point: divide the projected image into the upper half and the lower half by the horizontal midline of the desktop, share two points on the horizontal line, and perform four-point stretching calculations in the two areas respectively, and cooperate with the calculation method in S1 to verify the correctness of the reverse calculation result; the four-point stretching calculation is specifically: mapping from the screen position to the depth map position, first calculating the vertical axis position on the depth map according to the upper and lower partitions, and then calculating the horizontal axis position of the depth map according to the upper and lower partitions of the depth map to which the vertical axis position of the depth map belongs; S3: Tracking and identifying different objects on the desktop; the identification method of different circular objects is specifically: multi-feature parameter competitive scoring, the monitoring feature is the average depth value difference within a certain circular ring range, the pixels that meet the conditions are dynamically increased in score, and the pixels that exceed the circular ring range or do not match the set average depth difference are dynamically reduced in score. If the accumulated score exceeds the set threshold, it will be judged as a circular object; the anti-hand-held interference method after the identification of different circular objects is specifically: pixels are assigned different weights according to their positions and included in the circular position update, with higher weights inside the circle and lower weights for pixels outside the circle close to the circular position; at the same time, the pixels on the extension line from the center of the desktop to the circular position are identified, and their position data are reversely counted into the circular position; the specific method of tracking and identifying different objects is: S3.1: Optimize the performance of real-time signal detection: The total number of pixels of the Kinect2.0 depth camera is 512x424, a total of 217,088 pixels. In real-time interaction, the depth data changes of each pixel are compared in real time for each frame, which consumes a lot of performance. The method of interval plus rolling sampling position is adopted; S3.2: Recognition and stable tracking of different circular objects; The interval plus rolling sampling position method is: that is, reading a pixel for processing at intervals of 5 pixels, and rolling changing the position of data extraction frame by frame, reading 1, 6, 11, 16... in the previous frame, reading 2, 7, 12, 17... in the next frame, and so on.
Citation Information
Patent Citations
Projection method for realizing adaptive adjustment
CN107580204A
Implementation method of automatic calibration desktop prop interaction system with multiple RGBD depth sensors
CN112433641A
