X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=README.md;h=e167559aa5c8b29916c56c29019fbd92b292a8f0;hb=a80807eb35cc0ff70a9afdd6b7db2f38cb686683;hp=13c713bbfe48abe20a1d07248a6b8235c64add49;hpb=3811d034ba9e1f44a2e9915289438db3807217fe;p=trackerpp.git diff --git a/README.md b/README.md index 13c713b..e167559 100644 --- a/README.md +++ b/README.md @@ -2,23 +2,26 @@ Tracker++ cpp version on Linux (arm) ## install dependencies +- opencv - 3.4.1 + + Run the script `script/install_opencv.sh`, the prefix is `/usr/local` + - log4cpp : logger utils -- opencv - 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` + -`apt-get install liblog4cpp5-dev libopencv-dev libeigen3-dev` - -## Build - -`make all` - -### 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. @@ -27,3 +30,7 @@ install scons tool `apt-get install scons` which is used to run the unit test, will be generated under `test` - Run `scons --all -c` to clean. + +### Run + +`./main`