Video and tracking

From VectorSpaceLab/AREX-Skill · View interactive version

Video and tracking is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Run 3DDFA_V2 video, smoothing, and manual webcam tracking workflows.

How to use this skill

Skill file

Video and tracking

Use this sub-skill for 3DDFA_V2 video-file processing and smoothing. Webcam

support exists in the source repo but remains a manual, hardware-dependent

workflow.

When to read

Read this sub-skill when the task asks to:

Before running

  1. Build and smoke-test the checkout with ../setup-and-assets/.
  2. Confirm imageio and imageio-ffmpeg are installed.
  3. Start with the sample clip if the user's input format is uncertain.

Basic video wrapper

The basic wrapper preserves the original demo_video.py CLI. Put original

arguments after --:

python <skill-root>/sub-skills/video-and-tracking/scripts/run-video.py \
  --repo-root <checkout> -- \
  -f <video-path> -o 3d --onnx

Smoothed video wrapper

The smoothed wrapper preserves the original demo_video_smooth.py CLI:

python <skill-root>/sub-skills/video-and-tracking/scripts/run-video-smooth.py \
  --repo-root <checkout> -- \
  -f <video-path> -o 2d_sparse -n_pre 1 -n_next 1 --onnx

Tracking behavior

state.

lightweight tracker fail.

pads boundary frames.

Webcam boundary

The repo has a webcam script that uses imageio.get_reader("<video0>") and

cv2.imshow. This skill documents the workflow in references/workflows.md,

but does not provide an automated webcam wrapper because it needs live camera

hardware, GUI display access, and manual quit handling.

Troubleshooting

Read references/troubleshooting.md for video-specific failure recovery and

../../references/troubleshooting.md for shared build/import failures.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.