{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "escudero-brandpose--compare-whole-frame-and-per-person-gaze",
 "repo": "escudero/brandpose",
 "repo_url": "https://github.com/escudero/brandpose",
 "repo_slug": "escudero-brandpose",
 "title": "Compare whole-frame and per-person-crop gaze estimation",
 "page_title": "How to compare whole-frame and per-person-crop gaze estimation with Brandpose",
 "summary": "Run BrandPose's v1 and v2 gaze scripts on the same clip to see why per-person crops fix small heads.",
 "who": "A computer vision engineer evaluating gaze models on low-resolution CCTV footage.",
 "problem": "Squeezing a whole 1080p frame into the model's input shrinks each head to a few pixels and blinds it.",
 "outcome": "Side by side outputs from v1 (whole frame) and v2 (per-person crop, ViT-L, smoothing), showing the difference.",
 "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/v2` with 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"
 ],
 "agent_prompt": "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.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "readme",
 "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.",
 "category": "Data and analytics",
 "tags": [
  "Data and analytics"
 ],
 "lang": "python",
 "requirements": [
  "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"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.75,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/escudero-brandpose/compare-whole-frame-and-per-person-gaze/",
 "md": "https://dedupedai.com/use-cases/escudero-brandpose/compare-whole-frame-and-per-person-gaze/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/escudero-brandpose--compare-whole-frame-and-per-person-gaze.json",
 "api_version": "v1"
}
