Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.05 KB

README.md

File metadata and controls

27 lines (21 loc) · 1.05 KB

youtube2image

downloader youtube video & extract image by frame

How to use

python run.py [-i] [-d] [-e] [-f height weight] [-c class_name]
Youtube video download & frames extraction, cropping, filtering, sampling tools

optional arguments:
  -h, --help        show this help message and exit
  -i                install requirement library
  -d                download video from youtube link in "list.txt", saving in 'src'
  -e                extract frames from 'src' directory
  -f height weight  filter images by given minimum size(height, weight)
  -c class_name     crop images by class name
  -s sample_number  sampling by given number of samples
  --force           If you have any data, they would be deleted


(Please don't forget put youtube links in list.txt if you want to download youtube videos)

Footer