DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to compare whole-frame and per-person-crop gaze estimation with Brandpose

Run BrandPose's v1 and v2 gaze scripts on the same clip to see why per-person crops fix small heads.

Short answer: Create the environment with python3 -m venv .venv && .venv/bin/pip install -r requirements.txt; then 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/v2 with the README flags. All steps.

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

  1. Create the environment with python3 -m venv .venv && .venv/bin/pip install -r requirements.txt
  2. Download the public demo video with the yt-dlp command from the README
  3. Run v2 from scripts/: ../.venv/bin/python gaze_sim_v2.py ../data/videos/youtube/yt_-1bRhYjw1qE.mp4 ../outputs/v2 with the README flags
  4. Run gaze_sim.py (v1, whole frame) on the same clip
  5. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer