Authorization notice. Brandpose is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Who it is forA retail analyst or store operator who has footage from a fixed security camera and wants a rough view of which shelves shoppers look at.
The problemManually watching hours of store footage to see where shoppers look is slow and inconsistent.
The outcomeAn estimated gaze count, shopper count and attention share per zone for the first 60 seconds of the clip, written to outputs/v2.
What you need first
- Python 3.13
- FFmpeg installed and on the system
- About 10 GB of free disk space
- A machine able to run the models; the README reports tests on a Mac M2 Pro with 16 GB using MPS acceleration
- Blender 5.2 only if you want the 3D store and shopper's view
Steps
- Clone the repo, then run
python3 -m venv .venv && .venv/bin/pip install -r requirements.txtinside it. - Download the demo video with
.venv/bin/yt-dlp -f "bv*[height<=1080][ext=mp4]+ba[ext=m4a]" -o "data/videos/youtube/yt_%(id)s.%(ext)s" "https://www.youtube.com/watch?v=-1bRhYjw1qE", or place your own fixed-camera video in data/videos/. (inferred, check the README) - Run
cd scriptsand then../.venv/bin/python gaze_sim_v2.py ../data/videos/youtube/yt_-1bRhYjw1qE.mp4 ../outputs/v2 --crop --model gazelle_dinov2_vitl14_inout --smooth 0.5 --suppress-self --track-every-frame --max-seconds 60. (inferred, check the README) - Open the results in outputs/v2 and compare the zone ranking with your own rough count of a few minutes of footage.
Prompt for your agent
Using the repo escudero/brandpose, run scripts/gaze_sim_v2.py on the fixed-camera video at <video path> with --max-seconds 60, using the flags in the README. Report the number of estimated gazes, shoppers and zones with attention, and the output folder. Verify that outputs/v2 contains results and that the attention figures are labeled as model estimates, not ground truth.
Caveat. The README states there is no ground truth, so the percentages are model estimates and were not checked against manual annotations.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for escudero/brandpose and "Measure shelf attention from a fixed store camera video"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer