-
Notifications
You must be signed in to change notification settings - Fork 3
Quick Start
Before using the Annotate, you need to install OpenCV, CMake tool for your platform:
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.
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
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.
#####Visual Studio:
- Select annotate as your StartUp project.
- Open Project > Properties > Configuration Properties > Debugging.
- The Working Directory entry would be
$(ProjectDir) by default. Change it to $ (SolutionDir)$(Configuration)\
#####Make files
- After compiling program using the make. Move the annotate executable to the Debug or Release folder before executing it.