Skip to main content
Built by Best ROI MediaMITWave 1 · LiveBestRoiMedia/anim-toolkit

framereview

Localhost frame-by-frame animation review UI that persists approvals and markups as JSON.

Lightweight localhost web UI and CLI gate for human frame-by-frame animation review, saving per-frame approvals, rejection notes, and marked-up PNGs into a hash-checked .review.json.

View on GitHub ↗
Quick clonegit clone https://github.com/BestRoiMedia/anim-toolkit.git
GitHub repositoryBestRoiMedia/anim-toolkit
Module path_tools/anim/framereview/
LicenseMIT
Release waveWave 1
LanguagesPython · HTML · JavaScript

Why we built it

When a human director needs to approve or reject individual frames of a clip—or circle a bad hand—chatting back and forth about frame numbers is error-prone. We built framereview so reviewers can scrub, compare, and draw directly on frames in a browser while AI agents receive an exact, hash-verified JSON gate.

Architecture & how it works

review.py serve launches a localhost-only HTTP server serving page.html for a folder of images or an extracted video clip (optionally paired with a comparison clip or onion report.json). Identical held frames share a single decision. Every approval, rejection note, and canvas markup is immediately written to CLIP.review.json alongside marked-up PNGs in CLIP.review/. Running review.py status acts as a strict gate: it passes only if every frame is approved and its SHA-256 hash matches the reviewed file.

Key capabilities

  • Localhost-only browser UI for frame scrubbing, side-by-side clip comparison, and drawing markups
  • Automatic SHA-256 staleness detection that flags any frame modified after approval
  • Deduplicated decisions for identical held frames
  • Supports image folders (.png, .jpg, .webp) and video files (.mp4, .mov, .webm, .mkv, .gif via ffmpeg)
  • Structured JSON status gate returning every rejected frame, note, and marked-up PNG path

Usage example

Serve a clip for review and check the approval gatePython
python3 anim/framereview/review.py serve ./frames --fps 12 --onion ./out/report.json
python3 anim/framereview/review.py status ./frames
Exit codes for status: 0 when all frames are approved and unchanged, 1 when any frame is rejected, undecided, or stale, 2 on bad input.