Skip to main content

cleya segment

Detect people and generate segmentation mask (macOS only)

Platform: macOS only (Vision/AVFoundation)

cleya segment --input video.mp4 --time 0:05

Options

FlagWhat it does
--inputPath to input videorequired · string
--timeTime to extract frame atrequired · string
--widthFrame extraction width in pixelsstring
--outputOutput path for mask PNGstring
--overwriteOverwrite output file if it existsboolean

Category: assets — extract usable pieces from media

Generated from the toolkit

Generated from cleya capabilities, the toolkit's own manifest, so it cannot drift. Run cleya segment --help for the same information in your terminal.