snipplets.dev/projects/OpenVINO/C++/build.sh
2024-08-24 15:24:01 +03:00

11 lines
309 B
Bash
Executable File

#!/bin/sh
clear
CV_INCLUDE=/opt/opencv-4.8.0/include/opencv4/
CV_LIB=/opt/opencv-4.8.0/lib/
export LD_LIBRARY_PATH=${CV_LIB}:${LD_LIBRARY_PATH}
g++ -I${CV_INCLUDE} -L${CV_LIB} -o inference detect.cpp -lopenvino -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_imgcodecs -lopencv_dnn &&
./inference