Adidas put interactive advertising stands into its flagship stores, and the stands reacted to the people in front of them. A stand could track which product a shopper was looking at and surface information about it, tell whether someone was browsing alone or in a group, and read what they seemed interested in. Underneath was computer vision and machine learning, running on networked Raspberry Pis, live in real stores across Asia Pacific and Europe. Making that work on cheap hardware, in hard real time, was the engineering problem.
What the shopper saw
To a shopper, the stand simply paid attention. It noticed the people in front of it, told a group from someone browsing alone, and followed where attention went across the products on display. When it saw which item held someone’s interest, it surfaced information about that item. The effect was a display that responded to the person, rather than looping the same advert at everyone.
Learning what to sell
Behind that was computer vision and machine learning. The vision side measured dwell and engagement, how long attention held and what pulled it in; the learning side turned that into a sense of what actually sold. The stand was not running a fixed playlist, it was learning which products earned attention and leaning into them, and the engagement it captured was the training data that made it better at the job the longer it ran.
Real time, or not at all
The hard part was time. A stand that reacts has to react now: if the response lags behind the shopper, the illusion breaks and the data turns wrong, because a delayed signal no longer matches who is actually standing there. That ruled out an off-the-shelf networking stack. The low-level work was in C, with a custom network protocol built for real-time synchronisation, holding the pieces in step tightly enough that latency never got the chance to confuse what the system thought it was seeing.
Cheap hardware, real stores
All of it ran on Raspberry Pis, networked together and installed in working shops half a world apart. Cheap hardware keeps a trial affordable, but it gives nothing away for free: the compute is tight, units fail, and a shop floor is not a lab. Running the estate live meant physical installs in real stores, remote updates and monitoring across countries, and designing for the failure of a single unit rather than being surprised by it. A centralised Java and Spring MVC telemetry portal watched the whole network, so a stand going quiet in a store thousands of miles away was something the team could see and act on.
The build
- Vision and learning on the device. Python ran the on-device services and the local computer-vision and machine-learning pipeline, so a stand could see, decide and react without a round trip to a server.
- A small team, pairing. A small, remote team, pair-programming and test-first across three layers at once: low-level C, on-device Python, and the Java telemetry backend.
- A trial that landed. Rolled out as a trial to ten flagship stores across Asia Pacific and five in Europe, and it went well.
Watching, on a budget
It is a strange and useful mix of disciplines in one project: computer vision and machine learning, hard real-time engineering, low-level C and a custom protocol, and the operational grind of running hardware live in shops on two continents. The stands worked because all of that held together at once, cheaply, in public, in real time. Interactive advertising was the surface. The engineering was making a cheap networked computer notice a person and respond before the moment passed.
Part of a longer arc of real-time graphics and computer-vision work (2006–2018): back to research at the University of Leeds, and across to live visuals with Audio Visual Collective.
