← Back to the animated process

scripts/collect_process/04b_crop_reference.sh

Implementation snapshot supporting the published lesson. Only cited line ranges are included; this is not a runnable source file. Configuration and recorded examples describe this project snapshot.

… uncited lines omitted …
4require_file "$REFERENCE" "$DATASET/references/$CATEGORY/frame.json"56port="${REFERENCE_EDITOR_PORT:-8765}"7echo "Open http://127.0.0.1:$port/?frame_id=box_center&lock_frame=1&crop_only=1&reference_name=$CATEGORY"8exec "$PROJECT_ROOT/.venv/bin/python" "$PROJECT_ROOT/webui.py" \9    --port "$port" \10    --production-reference-dir "$DATASET/references/$CATEGORY"