India
ProjectsNovember 25, 2024

A motion tracking and segmentation desktop app

image
A desktop application used for product demonstrations. It reads a webcam feed, tracks the person in front of it, separates them from their background, and lets them trigger things by moving. It runs on Windows and Mac from one codebase, built with Electron around a Next.js and React frontend, with MediaPipe Holistic doing the tracking.
  • Full-body tracking. Pose, hands and face through MediaPipe Holistic, so interaction can respond to where someone is and what they are doing rather than only to clicks.
  • Background replacement. Segmentation separates the subject from whatever is actually behind them, and any image can be put in its place.
  • Motion-triggered actions. Specific movements fire specific actions in the app.
  • Capture and share. Stills of the tracked view can be captured and shared on the spot.
  • Windows and Mac. One Electron build covering both.
This runs at events on hardware someone else set up, and it needs a camera, predictable performance, and no dependency on the venue's network. A browser tab is the wrong shape for that. Electron gives it direct access to the camera and a fixed runtime, so behaviour on the day matches behaviour in testing. Redux carries the tracking state, which changes many times a second and is read by several parts of the interface at once. Keeping that in one place rather than threading it through components is what keeps the frame rate usable.

Screens

A motion tracking and segmentation desktop app screen 2
A motion tracking and segmentation desktop app screen 3
A motion tracking and segmentation desktop app screen 4

Related projects

Enrixa Store, a multi-tenant e-commerce platform

Enrixa Store, a multi-tenant e-commerce platform

A platform where every merchant runs an isolated store on its own subdomain, and where a query that could leak one merchant's data into another fails CI instead of reaching customers.
Enrixa AI, a shopping assistant for Shopify

Enrixa AI, a shopping assistant for Shopify

A tool-calling agent that answers shopper questions against a live product catalog, streamed over SSE, with a chat widget that cannot collide with the store's own CSS.