Long before capacitive touchscreens made multitouch a consumer default, interactive-art installations needed a way to track physical objects, fingers, tagged tokens, whole hand shapes, moving across a surface, and to do it in a way any client application could consume regardless of what hardware was doing the sensing. TUIO, developed at the Music Technology Group of Universitat Pompeu Fabra in Barcelona, is the protocol that filled that gap, and it’s still the backbone of a lot of tangible-interface installation work today.
What TUIO actually is
TUIO is built on top of Open Sound Control (OSC), which means it inherits OSC’s transport: messages travel over UDP, addressed to a specific port, and any platform with an OSC implementation can speak it. TUIO itself defines a small vocabulary on top of that transport: set messages that report the position, rotation, and ID of a tracked object or touch point, and alive messages that list which session IDs are currently active, so a client knows when something has appeared or disappeared from the surface. A message takes the shape /tuio/[profileName] set sessionID [parameterList], where the profile name identifies what kind of thing is being tracked (a tagged object, a bare finger/blob, and so on).
The protocol has gone through more than one version. TUIO 1.1 is the long-established baseline, and a newer TUIO 2.0 specification adds considerably more feature coverage. The practical upshot for anyone starting a project: check which version the client library you’re planning to use actually expects, since they aren’t fully interchangeable.
reacTIVision: the usual way objects get tracked
The most common way TUIO data gets generated in the first place is reacTIVision, a camera-based engine originally built alongside the protocol. Point a camera at a surface marked with reacTIVision’s printable fiducial markers, small, distinctive black-and-white symbols, and it detects each marker’s ID, position, and rotation angle in the live video feed, then broadcasts that data out as TUIO messages over a UDP socket. By default, reacTIVision sends to port 3333 on localhost, so a receiving client just needs to listen there; there’s genuinely not much more setup required than launching the program and pointing the camera.
Getting data into your project
Client libraries exist across most environments an interactive-art piece is likely to be built in. Processing, openFrameworks, and a range of other languages have maintained TUIO client implementations, several of them hosted directly on reacTIVision’s own GitHub account. A Python option, pytuio, is also available via PyPI for anyone building outside a creative-coding framework; its Tracking class handles opening the socket connection and parsing incoming TUIO messages.
If you don’t have a camera and fiducial markers set up yet, reacTIVision’s companion TUIO Simulator lets you generate fake object and cursor events by hand, which is enough to build and debug a client application’s response logic before any physical hardware is involved.
Where this still shows up
TUIO’s design, lightweight, transport-agnostic, built for exactly the “object or finger moving on a surface” case, is why it keeps turning up in interactive-table installations, tangible musical interfaces, and multitouch art pieces well after consumer touchscreens solved the same basic problem for phones and tablets. It remains a solid default whenever an installation needs object-level tracking (not just finger touches) on a custom surface, rather than whatever a commercial touch panel happens to expose.