Skip to content

Image/video object-filtering scripts built on ffmpeg and ImageAI

Notifications You must be signed in to change notification settings

ric-evans/image-object-filter

Repository files navigation

image-object-filter

Image/video object-filtering scripts built on ffmpeg and ImageAI.

Use Case: Find Particular Objects in Several Timelapse Videos

  1. Use vids_to_pngs.sh to collectively break video files into individual .png files, one per frame, at png_frames/
    • This will also intermittently create a single .mp4 file of the merged videos
  2. Grab a RetinaNet model file, like this one
  3. Run filter.py --objects person sports_ball --dir ./png_frames (see -h for help)
    • This will produce JSON files that contain the filenames of the images with your object(s)

About

Image/video object-filtering scripts built on ffmpeg and ImageAI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published