X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=README.md;h=e167559aa5c8b29916c56c29019fbd92b292a8f0;hb=a80807eb35cc0ff70a9afdd6b7db2f38cb686683;hp=36d75421373138565237f5d630f0264fe5c6da3c;hpb=79009fa0674d90e03b7a7bd958f7ee1e20d9b194;p=trackerpp.git diff --git a/README.md b/README.md index 36d7542..e167559 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,27 @@ Tracker++ cpp version on Linux (arm) ## install dependencies -`apt-get install liblog4cpp5-dev libopencv-dev` -## Build +- opencv - 3.4.1 + + 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` + -### 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. @@ -22,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`