bangumi-frames
Installation
SKILL.md
bangumi-frames — Bilibili Anime Frame & Character Organizer
Overview
Give a Bilibili video (a bangumi ep link, a UP-upload BV link/id, or a local
video file); it downloads → extracts scene-change keyframes → splits scenery vs
character frames → organizes the character crops. One pass, two modes:
- no
--ref(cluster mode) — group every character crop by CCIP identity intocharacters/char_NN/. - with
--ref DIR(one-vs-rest mode) — given ONE character's reference folder, pull every crop in the video that matches it intomatched/, filenames prefixed with distance (closest first) so a tight threshold yields a pure set.
Models are anime-specific (deepghs anime person detection + CCIP character-identity embeddings) — they do not work on live-action footage.