Project is supposed to be a high-performance backend, which will process videofiles, pictures or interact with user via frontend part. Frontend part is here - https://github.com/valensys/ai-inference-frontend
sudo apt install libeigen3-dev
sudo apt install nlohmann-json3-devgit clone https://github.com/nadjieb/cpp-mjpeg-streamer.git
git clone -b 4.7.0 https://github.com/opencv/opencv.git
git clone -b poco-1.13.3-release https://github.com/pocoproject/poco.gitAlso download folder with pre-built libraries
wget https://github.com/microsoft/onnxruntime/releases/download/v1.17.3/onnxruntime-linux-x64-1.17.3.tgzMJPG streamer
cd cpp-mjpeg-streamer && mkdir build && cd build
cmake ..
make && make install
cd ../../POCO
cd poco && mkdir cmake_build && cd cmake_build
cmake ..
make && make install
cd ../../OpenCV
cd opencv && mkdir build && cd build
cmake -DCMAKE_CXX_STANDARD=17 ..
make && make install
cd ../../Extract the archive with OnnxRuntime and move it to /usr/local/onnxruntime
tar xfv onnxruntime-linux-x64-1.17.3.tgz -C /usr/local
ln -s /usr/local/onnxruntime-linux-x64-1.17.3 /usr/local/onnxruntimecd /opt
git clone -b master --single-branch --depth=1 https://github.com/valensys/ai-inference-backend.gitcd /opt/ai-inference-backend
mkdir build && cd build
cmake ..
makeexport LD_LIBRARY_PATH=/usr/local/libCheck recognition/configs/main.cfg and change "host" and "port" according to requirements. For example assign: host=10.128.0.9, port=5200
./Backend