Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 693 Bytes

README.md

File metadata and controls

9 lines (8 loc) · 693 Bytes

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)