Add boost python, and predictor wrapper
[trackerpp.git] / README.md
1 Tracker++ cpp version on Linux (arm)
2
3 ## install dependencies
4
5 - log4cpp : logger utils
6 - opencv
7 - eigen : matrix library of C++
8 - boost-python 
9     - `apt-get install libpython-dev python-dev`
10     - build boost with python
11     - `pip install scipy numpy sklearn`
12 <https://www.boost.org/doc/libs/1_67_0/libs/python/doc/html/building/installing_boost_python_on_your_.html>
13
14 As boost has already 
15
16 `sudo ./b2 install link=static cxxflags=-fPIC --with-filesystem --with-test --with-log --with-program_options --with-python`
17
18 `apt-get install liblog4cpp5-dev libopencv-dev libeigen3-dev`
19
20 ## Build 
21
22 `make all`
23
24 ### Run
25
26 `./main`
27
28
29 ## Build with `scons`
30 install scons tool `apt-get install scons`
31
32 - Run `scons` to build the `src/` and `main`. It will generate a library
33 `libtracker.a` and an executable file `main` under current folder.
34
35 - Run `scons --all` to build source and `test` file. A executable file `TestMain`,
36 which is used to run the unit test, will be generated under `test`
37
38 - Run `scons --all -c` to clean.