/reaper

A fast & simple image collector for creating machine learning datasets.

Primary LanguageGo

Reaper 💀

License: MIT

A fast and simple dataset generator, using the power of search engines.

Install

go get github.com/sno6/reaper

Usage

Usage:
  reaper [flags]

Flags:
  -h, --help                 help for reaper
      --mh int               Only allow images with a height >= to this value (default -1)
      --mw int               Only allow images with a width >= to this value (default -1)
  -o, --out string           Output directory (default "./")
  -s, --search stringArray   Search terms
  -t, --timeout duration     HTTP request timeout in seconds (default 15s)
  -v, --verbose              Log errors

Example

reaper -s "snoop dogg" -o "./snoop"

# After this completes you should have around ~2k images in your local snoop/ folder

Search Engines

Currently reaper only supports the Duck Duck Go search engine however more will be added in the near future.

Author

👤 sno6