crop_video
- lightning_pose.utils.cropzoom.crop_video(input_video_file: Path, input_bbox_file: Path, output_file: Path) None[source]
Crop a video to per-frame bounding-box regions and save the result.
- Parameters:
input_video_file – path to the input video.
input_bbox_file – path to a bbox CSV produced by
generate_bbox()orsmooth_bbox().output_file – path where the cropped video will be written.