MCPcopy Create free account
hub / github.com/OpenImagingLab/FlashVSR / save_frames

Function save_frames

diffsynth/data/video.py:145–148  ·  view source on GitHub ↗
(frames, save_path)

Source from the content-addressed store, hash-verified

143 writer.close()
144
145def save_frames(frames, save_path):
146 os.makedirs(save_path, exist_ok=True)
147 for i, frame in enumerate(tqdm(frames, desc="Saving images")):
148 frame.save(os.path.join(save_path, f"{i}.png"))

Callers 1

save_outputMethod · 0.85

Calls 1

saveMethod · 0.80

Tested by

no test coverage detected