Tracker++ cpp version on Linux (arm)
## install dependencies
-`apt-get install liblog4cpp5-dev libopencv-dev`
-## Build
+- opencv - 3.4.1
+<https://docs.opencv.org/3.4.1/d7/d9f/tutorial_linux_install.html>
+ Run the script `script/install_opencv.sh`, the prefix is `/usr/local`
-`make all`
+- log4cpp : logger utils
+- eigen : matrix library of C++
+- scons
+ `apt-get install liblog4cpp5-dev libeigen3-dev scons`
+
+- boost-python
+ - `apt-get install libpython-dev python-dev`
+ - build boost with python
+ - `pip install scipy numpy sklearn`
+<https://www.boost.org/doc/libs/1_67_0/libs/python/doc/html/building/installing_boost_python_on_your_.html>
-### Run
-
-`./main`
+As boost has already
+`sudo ./b2 install link=static cxxflags=-fPIC --with-filesystem --with-test --with-log --with-program_options --with-python`
## Build with `scons`
-install scons tool `apt-get install scons`
- Run `scons` to build the `src/` and `main`. It will generate a library
`libtracker.a` and an executable file `main` under current folder.
which is used to run the unit test, will be generated under `test`
- Run `scons --all -c` to clean.
+
+### Run
+
+`./main`