The Project includes three parts in total.
ssd
and centernet
opencv, build it from source
Eigen3
sudo apt install libeigen3-dev
glog, build it from source
MNN inference framework git clone mnn lib from github, compile it and generate lib and include headers put them in MNN/ directory
# build detector
mkdir build && cd build && cmake .. && make -j`nproc`
# if want to use sdk, use instead
cmake .. -DBUILD_SDK=ON
# build tracker
cmake .. -DBUILD_TRACKER=ON
please refer to src/detect.cpp for example, if you want to change detector type(ssd or centernet)
// centernet detector
detector.reset(new CenterNetDetector(model_name));
// ssd detector
detector.reset(new Detector(model_name));