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

How to measure shelf attention from a fixed store camera video with Brandpose

Run the gaze pipeline on a fixed-camera clip to rank which shelf zones draw attention.

Short answer: Clone the repo, then run python3 -m venv .venv && .venv/bin/pip install -r requirements.txt inside it; then 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/. 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 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

  1. Clone the repo, then run python3 -m venv .venv && .venv/bin/pip install -r requirements.txt inside it.
  2. 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)
  3. Run cd scripts and 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)
  4. 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

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