Based on https://code.google.com/p/imageclipper/ with enhancements
- Update the CMakeLists.txt file to point to your OpenCV directory
- Update the CMakeLists.txt file to point to your libboost libraries (system and filesystem)
- cmake ./
- make
./imageclipper [path to a directory with images]