imageclipper

by JoakimSoderberg

JoakimSoderberg / imageclipper

An imageclipper intended for using when creating OpenCV haar cascade sample images.

126 Stars 52 Forks Last release: almost 6 years ago (v1.0.1) MIT License 29 Commits 1 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Image Clipper

This is a fork of the imageclipper program initially written by Naotoshi Seo.

This fork was made initially for myself to be able to compile the program on OSX. Since I used CMake it was easy to make one build that works on all platforms.

From the original description:

It is often required to crop images manually fast for computer vision researchers to gather training and testing image sets, e.g., cropping faces in images.

This simple multi-platform (Windows, OSX and Linux were verified) software helps you to clip images manually fast.

Building

To build you need CMake, OpenCV and Boost on your system

Linux & OSX

Install requirements using your favorite package system or download the sources yourself.

$ sudo apt-get install cmake libopencv-dev libboost-all-dev

Using MacPorts.

$ sudo port install cmake boost opencv

And then build:

$ git clone 
$ cd imageclipper
$ mkdir build && cd build
$ cmake ..                                     # This should work in most cases.

(Optional) Or specifying your own builds of OpenCV or Boost.

$ cmake -DOpenCV_DIR=/path/to/opencv/build/ -DBOOST_ROOT=/path/to/boost ..

$ cmake --build . # Builds the program.

Windows

On windows you need to download Visual Studio for Windows Desktop, CMake and git.

Boost

Has been tested with this verison on Windows 7, but should work with whatever you like: Boost 1.55.0 32-bit MSVC12 The default unpack location is c:\local\boost155_0, if you change it you need to know the path when building.

OpenCV

Download and unpack OpenCV and remember the path.

From the git bash console: (use cmd.exe if you prefer)

$ git clone 
$ cd imageclipper
$ mkdir build && cd build
$ cmake -DOpenCV_DIR=/path/to/opencv/build/ -DBOOST_ROOT=/c/local/boost_1_55_0/ ..
$ cmake --build . --config Release 
$ start imageclipper.sln # If you want to open in Visual Studio instead.

The executable can then be found under build/bin/Release/imageclipper.exe

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.