Repository navigation
reelreader v0.3.1
TransNet V2 as an optional cut reader, and the first of the new reads (faces on screen, beat
sync). Every change adds fields or options; nothing was renamed or dropped.
-
Beat sync (PLAN R-129):
shots.onBeatgainslag(signed mean offset of the cuts that land
on a beat, positive when late),spread(mean distance of every hard cut from a beat) andp
(the chance the count is luck);shots.motionOnBeatcounts big changes of motion inside shots
that land on a beat (or says the samples are too far apart to tell). summary.md gains a
"beat sync" line. New exports inscripts/watchshots.mjs:offsetRead,binomTail,
motionAccents,motionOnBeat,syncLinesand theACCENT_*constants. -
TransNet V2 as an optional cut reader (
--cuts transnet,scripts/watchtransnet.mjs, PLAN
R-89). The network (MIT, code and weights) runs in plain JavaScript with a small WebAssembly
SIMD kernel, no PyTorch and no package to install; its weights are fetched once from the
PyTorch port's wheel on PyPI, checked by SHA-256 and cached (REELREADER_TRANSNET_MODELfor
an offline copy). Its cuts and dissolves replace the rules' in the shots, shot list and report,
whose shots section names it as a model source. On the two made reels (46 boundaries) cuts F1
0.98 against the rules' 0.85, the same boundaries as the PyTorch port. Off by default; without
the model the run goes on and says so. New exports inwatchtransnet.mjs;shotListtakes an
optionalcutAt(additive). -
Faces on screen, turned to the camera, and expression (PLAN R-140, the owner's list of what
short-video audiences answer to, item 6). From the faces the shot scale read already finds:
summary.md'sfacesline and design.jsonscale.faces{ frames, framesWithFace, screenTime,
screenSeconds, mostFaces, toward { share, frames, margin }, expressions, perShot }, and
scale.opening.towardCamerafor the hook. Turned to the camera is read from YuNet's five
landmarks (the head, not the eyes).--expressions(opt-in, passed on by--batch) adds the
largest face's expression from opencv_zoo's facial expression model (Apache 2.0, 4.8 MB,
fetched on first use, SHA-256 checked;REELREADER_EXPRESSION_MODELoffline), with the
model's probabilities. New modulescripts/watchfaces.mjs(exportsfaceRead,faceLines,
headTurn,similarity,alignedInput,expressionOf,loadExpressions,EXPR_MODEL,
EXPRESSIONS,TEMPLATE);detectFacesgains each face'skps;modelBytestakes
model,envKey,whatandoff;scaleReadtakesexpressionsandexprModel; the
in-repo .onnx runner runs PRelu, Flatten and Gemm.
Install or update
- Command line:
npx reelreader@latest … - Codex, Antigravity, or skills put in place before:
npx reelreader@latest installthe first time,npx reelreader@latest updateafter - Claude Code:
/plugin marketplace update reelreader; Codex:codex plugin marketplace upgrade reelreader; Antigravity:agy plugin install https://github.com/jstevoh/reelreader - Claude apps: add
reelreader-skill.zipbelow under Settings → Capabilities → Skills