main
The silhouette path (head-cx from top of trimmed body + batch-consistent scale) produces clean results on chibi characters with white BG. The YOLO path was added for back-view robustness but in practice can give worse bboxes on stylized characters. Making silhouette the default ensures the node behaves the same on setups with YOLO installed (RunPod) as on setups without it (Mac). Users can still opt into face detection by toggling on. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ComfyUI Loop Strip
Character animation nodes for ComfyUI: walk cycle detection, face-based centering, and sprite strip assembly.
Nodes
- Loop Strip — Load Video — load a video file into a batch of frames
- Loop Strip — Find Best Cycle — detects the best seamless loop cycle in a walking animation; optional grid splitting for multi-character videos
- Loop Strip — Center Subject — centers a moving subject across video frames
- Loop Strip — Center Character — centers a character image using anime face detection (lbpcascade_animeface)
- Loop Strip — Assemble Sprite Strip — concatenates frames into a horizontal or vertical sprite strip
- Loop Strip — Split Grid — splits a grid video (e.g. 2x2) into separate videos
Installation
Via ComfyUI Manager, or manually:
cd ComfyUI/custom_nodes
git clone https://github.com/YOUR_USERNAME/comfyui-loopstrip
cd comfyui-loopstrip
pip install -r requirements.txt
License
MIT
Languages
Python
73.5%
JavaScript
26.5%