Skip to content

Uses YOLOv8 and OpenCV to find moving objects in a video, crop each one in every frame, and save them.

Notifications You must be signed in to change notification settings

tbreimer14/object-cropper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

object-cropper

Uses YOLOv8 and OpenCV to find objects in a video, crop each one in every frame, and save them.

Usage

  • Create a directory called input inside of object-cropper.
  • Drop .mp4 or .MOV files in the newly created input directory.
  • Ensure packages opencv-python and ultralytics are installed via pip.
  • Run main.py
  • Cropped images will be placed in corresponding directories in the output directory.

About

Uses YOLOv8 and OpenCV to find moving objects in a video, crop each one in every frame, and save them.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages