GithubHelp home page GithubHelp logo

imclab / imageclipper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joakimsoderberg/imageclipper

0.0 1.0 0.0 146 KB

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

License: MIT License

imageclipper's Introduction

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 <repo url>
$ 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\boost_1_55_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 <repo url>
$ 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

imageclipper's People

Contributors

joakimsoderberg avatar

Watchers

JT5D avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.