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 computer vision engineer evaluating gaze models on low-resolution CCTV footage.
The problemSqueezing a whole 1080p frame into the model's input shrinks each head to a few pixels and blinds it.
The outcomeSide by side outputs from v1 (whole frame) and v2 (per-person crop, ViT-L, smoothing), showing the difference.
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
- Create the environment with
python3 -m venv .venv && .venv/bin/pip install -r requirements.txt - Download the public demo video with the yt-dlp command from the README
- Run v2 from scripts/:
../.venv/bin/python gaze_sim_v2.py ../data/videos/youtube/yt_-1bRhYjw1qE.mp4 ../outputs/v2with the README flags - Run gaze_sim.py (v1, whole frame) on the same clip
- Compare head sizes, tracking and gaze maps between the two outputs
Prompt for your agent
Using escudero/brandpose, run gaze_sim.py and gaze_sim_v2.py on the demo clip, then write a short comparison of tracking stability and gaze quality, citing the README's findings about head size and per-frame tracking.
Caveat. Numbers are model estimates with no manual ground truth. Use only footage you are allowed to process, and follow privacy rules for people on camera.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for escudero/brandpose and "Compare whole-frame and per-person-crop gaze estimation"
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