Public | Automated Build

Last pushed: 4 days ago
Short Description
Label and Annotation Tool
Full Description

Annotator

Quick start

First install CMake, Qt5, OpenCV and a c++11 compiler (gcc 5).

sudo apt-get install libboost-system-dev libboost-filesystem-dev
sudo apt-get install qtbase5-dev
sudo apt-get install libopencv-dev

Clone and install dlib.

Then clone and build annotatorlib.

Build LibPoco

git clone https://github.com/pocoproject/poco.git
cd poco
sed -i 's#mysqlclient_r#mysqlclient mysqlclient_r#g' cmake/FindMySQL.cmake
cd build
cmake ..
make -j2

Then build.

git clone https://github.com/annotatorproject/annotatorlib
git submodule update --init --recursive
cd annotatorlib
mkdir build
cd build
cmake -DPoco_DIR= ../../poco/build/Poco ..
make

Now you can clone and build annotator.

git clone https://github.com/annotatorproject/annotator
cd annotator
git submodule update --init --recursive
mkdir build
cd build
cmake -Dannotatorlib_DIR=../annotatorlib -DCMAKE_BUILD_TYPE=Debug ..
make

Docker

CPU

xhost +
docker run --rm -e DISPLAY=$DISPLAY -e QT_X11_NOMITSHM=1 -v /tmp/.X11-unix:/tmp/.X11-unix -v ~/:/home/user/ chriamue/annotator:cpu

GPU (Cuda)

xhost +
nvidia-docker run --rm -e DISPLAY=$DISPLAY -e QT_X11_NOMITSHM=1 -v /tmp/.X11-unix:/tmp/.X11-unix -v ~/:/home/user/ chriamue/annotator:gpu
Docker Pull Command
Owner
chriamue
Source Repository

Comments (0)