📜 ⬆️ ⬇️

Experience creating multitouch backgrounds

Good day,
I wanted to share the experience of creating my multitouch table. The idea is not new, but this is a miracle -

image

- costs about $ 10,000 and this is without delivery to us.
Under the cut, you can find out how it works and how to make such a table at home (carefully, a lot of pictures).

First you need to say what tasks such a table should be able to perform:
1) Simultaneous tracking of a large number of touches.
2) High reaction rate.
3) Otsutviye influence of touch recognition on the displayed image.
4) A fairly simple interaction with the user system =, preferably compatible with the built-in Win7 multitouch.

The main question was how to track touch points. There are, of course, usb-screens that support multitouch, but their price is high, and of such size that it can be used as a table surface is not at all. Therefore, it was decided to use an optical recognition system based on IR imaging in order to avoid interference with the displayed image.
')
Further, how it should work:

image

The surface shown in the picture is acrylic glass, 2 cm thick, whose surface is covered with a diffusing film.
What is it for? We use the effect of total internal reflection, in this case, in the case of touching the surface, the IR rays will pass at the interface of the surface at an angle greater than the critical (42.51 degrees for acrylic). The effect of the effect of total internal reflection is interrupted, and the IR rays pass through the lower boundary of the surface, after which the camera installed below can register them. We use the effect similar to the way we see the faces of people from a lighted room outside the window at night: if the face comes closer, it can be clearly seen in the window, and in the distance it quickly disappears in the dark. Diffusing film enhances this scattering effect of weak light and plays a crucial role. Well lit items close to the film, because of the simple reflection of light back to the table. © spmbt

image

To register touches you need an IR camera. Industrial IR cameras are very expensive, in order to turn an ordinary webcam into an infrared camera, you need to remove the IR filter from it. And add a threshold filter that transmits only IR light, it can be made from the negative.

image

I must say that the usual webcam does not work well, because it will give low fps, I used the Sony PS Eye, which with custom firewood can give up to 120 fps.

For IR illumination 4 infrared illuminators were purchased, originally used in systems of night video surveillance.

image

To reflect the image and reduce the depth of the table, a mirror is installed between the projector and the table top.

As for software:

1. Custom driver for the camera.
2. CCV from nuigroup.com for video stream analysis.
3. Different libraries for fastening to Win7.

This is what the CCV output looks like.

image

You can add your own filters to CCV or customize existing ones.

image

CCV can generate TUIO events to work with which there is a C # library

Here is what was used to implement the system:

1. A Tochiba tdp ex20 projector with a wide projection angle, with a “hot mirror” installed on it, blocking IR radiation, to prevent interference with the recognition system (distance 0.72m, picture size 75x100cm, scale 4: 3, diagonal 125 ').
2. Sony PlayStation Eye camera with an IR filter installed to prevent interference with visible projected radiation, the choice of camera is due to very high fps (up to 120 at low resolution)
3. 2-4 IR panels for acrylic lighting on the table surface, frequency 850nm.
4. Mirror for correct display of the image on the back side of the projection plane.
5. Power supply for IR panels, PC for camera operation, image output and operation of MT applications.
6. Aluminum frame, covered with thick wallpaper.
7. nuigroup.com - a treasure trove of information on the topic.

This is what my table looks like:

image

If someone wants to collect this at home - write advise where to buy the details.

PS: in the MS Surface header. An example of using such a table (video inspired me). nuigroup.com/forums/viewthread/4401

Source: https://habr.com/ru/post/116849/


All Articles