#!/bin/bash
# Runs the Koldflux add-text tool on a flat grey 1080x1920 clip, then measures where the text lands.
export PATH=$HOME/.nvm/versions/node/v24.21.0/bin:$PATH
cd "$(dirname "$0")"
for c in "0 Bottom s0_bottom" "1 Bottom s1_bottom" "2 Bottom s2_bottom" "1 Top s1_top" "1 Middle s1_middle"; do
  set -- $c; [ -f "$3.mp4" ] || node s2run.cjs $1 $2 $3.mp4 >/dev/null 2>&1
done
python3 measure.py
