Crops memes badly, but tries its best.
It's easiest to use docker, because OpenCV is hard to install everywhere, always.
- Install Docker
- clone this git repo
- cd to this directory, then run:
docker build . -t bad-meme-cropper && docker run -v [full_path_to_input_image_folder]:/if/ -v [full_path_to_output_image_folder]:/of/ --rm -it bad-meme-cropper /if/ /of/ .1 10
- enjoy