Skip to content

Quick Start

Andrés Solís Montero edited this page Apr 25, 2016 · 2 revisions

Requirements

Before using the Annotate, you need to install OpenCV, CMake tool for your platform:

  • OpenCV (recommended version 3.x)
  • CMake (recommended version > 3.x)

After installing OpenCV, CMake and EigenLibrary, clone the Annotate repository:

https://github.com/asolis/Annotate.git

Assuming you cloned the git repository in a Annotate folder inside your home folder:

  • Mac: /Users/username/annotate
  • Linux: /home/username/annotate
  • Windows: C:\Users\username\annotate

(username is your system username)

###CMake

Open the CMake GUI and point the source code to your working copy path:

(e.g., /Users/username/annotate)

Point CMake's build folder (i.e. "Where to build the binaries") to a build folder path:

(e.g., /Users/username/annotate/build/)

CMake will ask for permission to create the build folder for you if it doesn't exist. Click yes.

Add OpenCV to your Annotate project

Click the Configure button and specify the generator for this project (e.g., Xcode, Visual Studio, make files, ... etc)

Point the OpenCV_DIR variable to your installed OpenCV folder containing these files:

  • OpenCVConfig-version.cmake
  • OpenCVConfig.cmake

Generating the project

Click the Configure button again and make sure CMake finds your OpenCV and Eigen installation. Click the Generate button.

if everything went OK you will see the following messages with the list of available trackers founded by the cmake rules. In the case of selecting to download any of the available datasets a progress bar will report the download/unpacking progress for each dataset.

    Project Name: Annotate
    OpenCV version: 3.1.0 
    Configuring done
    Generating done

Your built project is now created inside your build folder. You should use the selected generator (i.e., Xcode, Visual Studio, make files, etc...) to build the annotate executable.

IDE details:

#####Visual Studio:

  1. Select annotate as your StartUp project.
  2. Open Project > Properties > Configuration Properties > Debugging.
  3. The Working Directory entry would be $(ProjectDir) by default. Change it to $(SolutionDir)$(Configuration)\

#####Make files

  1. After compiling program using the make. Move the annotate executable to the Debug or Release folder before executing it.

Clone this wiki locally