Skip to content

Release v1.0.1

Choose a tag to compare

@dan64 dan64 released this 17 Jun 12:46
· 6 commits to main since this release

Added a function to re-color a range of frames: vs_cmnet2_recolor()

Re-colorizes only the frames between two reference frames, leaving the rest unchanged. Useful for fixing specific sections of an already colored clip.

from vscmnet2 import vs_cmnet2_recolor

clip = vs_cmnet2_recolor(
    clip,
    ref_framedir="/path/to/refs",
    ref_start_path="/path/to/refs/ref_000100.png",
    ref_end_path="/path/to/refs/ref_000200.png",
    method=4,
    max_memory_frames=20,
)