- CMake 3.17.3 (Probably works on earlier versions too)
- Visual Studio 2019/22
- OpenCV 4.5.5 (C++)
- Compiled with GPU support (Recommended)
- Windows
- CLion (Optional for easier building/running)
Manually:
mkdir build
cd build
cmake ..
- Open .sln in Visual Studio
- Build all
- Run
CLion:
- Open project in CLion
- Setup Visual Studio 2019/22 toolchain
- Right click CMakeLists.txt
- Import/Reload CMake Project
- Run
By default the application builds to use the model_640.onnx
file as that is the most
accurate and fastest to run. Check /include/detector.h
for swapping to the higher input
resolution model, this will require changing INPUT_WIDTH
, INPUT_HEIGHT
, and ROWS
to
ensure proper loading and detections.
- Ensure
config
folder with models are next to built application deeplearning.exe <name_of_program_to_capture>
- e.g
deeplearning.exe Counter
- e.g