Fix nan issue in features
[trackerpp.git] / README.md
1 Tracker++ cpp version on Linux (arm)
2
3 ## Install dependencies
4
5 - opencv - 3.4.1
6
7     Run  `script/install_opencv.sh` to build and install opencv into /usr/local
8     
9     Refer this page <https://docs.opencv.org/3.4.1/d7/d9f/tutorial_linux_install.html>
10
11 - log4cpp : logger utils
12
13 - eigen : matrix library of C++
14
15 - scons
16
17    `apt-get install liblog4cpp5-dev libeigen3-dev scons`
18    
19 - boost-python 
20
21     - `apt-get install libpython-dev python-dev`
22     - build boost with python
23     - `pip install scipy numpy sklearn`
24
25 Boost has been already installed when build ArmNN, but not enable python module,
26 so need to re-install boost 1.64 by following command. add `--with-python`
27 `sudo ./b2 install link=static cxxflags=-fPIC --with-filesystem --with-test --with-log --with-program_options --with-python`
28 <https://www.boost.org/doc/libs/1_67_0/libs/python/doc/html/building/installing_boost_python_on_your_.html>
29
30
31 ## Build with `scons`
32
33 - Run `scons` 
34
35     To build folder `src/` and `main.cpp`. `libtracker.a` and `main` will be generated
36
37 - Run `scons --all` 
38
39     To build folder `src/` and `test/` and `main.cpp`. `libtracker.a` , `main`,
40     and `test/TestMain` will be generated. Run `TestMain` to run all the unit
41     test 
42     
43 - Run `scons -c` or  `scons --all -c` 
44
45     To clean 
46
47 ### Run 
48
49 `./main`
50
51 ### Log
52
53 Logger config file is located at `config/log4cpp.properties`. By default, log
54 file is `/tmp/trackerpp.log`