X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;ds=sidebyside;f=README.md;h=a1112a990f5d36a858ea2c6c2e50c276106095b4;hb=5c5910012c8e6e8fd4c0627c81acbacb1d06ba56;hp=b40c9ee0106bb16f21e9e19ea554a86f4855be77;hpb=209cfd9fe0ea398b794d1d1995629a826125f035;p=trackerpp.git diff --git a/README.md b/README.md index b40c9ee..a1112a9 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,11 @@ Tracker++ cpp version on Linux (arm) -## install dependencies +## Install dependencies - opencv - 3.4.1 - - Run the script `script/install_opencv.sh`, the prefix is `/usr/local` + + Run `script/install_opencv.sh` to build and install opencv into /usr/local +Refer this page - log4cpp : logger utils - eigen : matrix library of C++ @@ -15,28 +16,30 @@ Tracker++ cpp version on Linux (arm) - `apt-get install libpython-dev python-dev` - build boost with python - `pip install scipy numpy sklearn` - -As boost has already +Boost has been already installed when build ArmNN, but not enable python module, +so need to re-install boost 1.64 by following command. add `--with-python` `sudo ./b2 install link=static cxxflags=-fPIC --with-filesystem --with-test --with-log --with-program_options --with-python` + -## Build - -`make all` - -### Run - -`./main` +## Build with `scons` +- Run `scons` + To build folder `src/` and `main.cpp`. `libtracker.a` and `main` will be generated -## Build with `scons` -install scons tool `apt-get install scons` +- Run `scons --all` + To build folder `src/` and `test/` and `main.cpp`. `libtracker.a` , `main`, + and `test/TestMain` will be generated. Run `TestMain` to run all the unit + test + +- Run `scons -c` or `scons --all -c` + To clean -- Run `scons` to build the `src/` and `main`. It will generate a library -`libtracker.a` and an executable file `main` under current folder. +### Run -- Run `scons --all` to build source and `test` file. A executable file `TestMain`, -which is used to run the unit test, will be generated under `test` +`./main` -- Run `scons --all -c` to clean. +### Log +Logger config file is located at `config/log4cpp.properties`. By default, log +file is `/tmp/trackerpp.log`