Scratch library for messing around with opencv. Primary use is to detect the edge of images within images (e.g. crop a meme in a screenshot).
- Install opencv:
brew install opencv
- Add some images to the
test_images
directory - Modify the image paths in
main()
ofmain.cpp
- Run
make IN="test_images/nhl_pens.png"
- The
IN
variable can be changed to whatever image you want to use
- The
- Press
q
to close the windows