In the large-screen touch interaction solution, a two-dimensional single-line rotating scanning radar is used to continuously emit laser light to form an invisible multi-touch screen, which generally coincides with the projection screen.Different from the traditional touch device's reliance on the touch surface, it makes the user's interactive experience more natural and comfortable while reducing deployment time.
Instructions for use
Support a WR radar device, after collecting and processing radar data, pass the coordinate position through Tuio Protocol output.
Two.Configuration file introduction:
The configs.xml in the data folder is the basic software configuration file.
Configuration file description:
First, power on the radar device and connect it to the switch of the host's local area network via a network cable to ensure that the IP address of the computer host is in the same network segment as the radar. For example, the host's IP address is customized as "192.168.0.2".After confirming that the radar data is received normally through the official software, close the configuration file and start the radar recognition software. The software interface will display the registration request code: req:xxxxxxxx. Open the configuration file again, and reqInfo will display the same request code information as the interface.Send this information to the software provider for software registration and close the identification software. The customer enters the received registration code into the yyy location marked in red in regInfo, saves and closes the configuration file, and then opens the identification software again. If the registration is successful, thenThe software is displayed in the taskbar in a minimized state. Click the icon on the taskbar with the mouse to display the main interface. When the request code information prompts "Registration successful", it means that the registration has been completed.
Note: The registration of the identification software has a binding relationship with the computer hardware system. When the identification software is changed to run the hardware, it needs to be re-registered.
three.Software debugging instructions:
threshold: image recognition thresholding parameter; smooth: image recognition contour smoothing parameter;
blur: image recognition contour blur parameters; noise: image recognition denoising parameters;
amplify: image recognition contour brightness enhancement parameter; learnRate: image background update speed; minArea: minimum area of recognized contour; maxArea: maximum area of recognized contour;
save: save parameters
Note: Please consult the WR software provider for the above parameter setting range.
Figure 1 The main interface of the recognition software
When the radar data appears on the main interface of recognition, it indicates that the software is running normally. You can click the keyboard button "C" to enter the position calibration interface, as shown in Figure 2.
Figure 2 Position calibration interface
According to the radar recognition range and installation position, adjust the four parameters minX, maxX, minY, maxY to ensure that the radar display point appears in the middle image area, and stand at the four corners of the interactive area to ensure that they can be scanned and displayed by the radar
In the middle image area.
According to the moving direction when walking in the interactive area and the moving direction of the radar point in the image, ho (r flips the image left and right), ver (flips the image up and down), rotate (rotates the image 90 degrees around the center point, 180
Degree, 270 degrees) to ensure that the actual interactive direction is consistent with the display direction in the image. After completing the parameter settings, click save to save the relevant parameters.
According to the position of the red reference point, the debugger stands at the first red point on the upper left with both feet, observes the radar scan display position in the image, and moves the yellow circle marked with 0 to the display position with the left mouse button, and clicks the right mouse button to switch
Go to the next calibration point, and stand on the red dot to the right of the first red dot, repeat the above process to calibrate, pay attention to the Z-shaped direction for debugging, after finishing the last reference point debugging, click the right mouse button to return to the mark as 0
The calibration points can be saved for all calibration positions.
After completing the calibration, click the keyboard button "C" again to return to the main interface of identification.
The identification software outputs data in the TUIO protocol, which includes the id, x, and y of each identification point, where the value range of x and y is 0-1, which can be mapped by multiplying it with the screen resolution in the effect software
To the actual interactive location.
When the position of the radar equipment changes, it will cause a deviation in the recognition position and need to be recalibrated.
When there are other problems that cannot be handled, you can contact the software provider for debugging.