I am trying to test out object detection on a video I have but ran into this issue
Demo needs OpenCV for webcam images.
So I changed OPENCV=1 in the Makefile but ran into this error now
./src/image_opencv.cpp:5:10: fatal error: 'opencv2/opencv.hpp' file not found
#include "opencv2/opencv.hpp"
^~~~~~~~~~~~~~~~~~~~
1 error generated.
OpenCV works on my laptop for both Xcode and VSCode so I am not sure why this is happening.
The error was fixed by setting the path to the absolute path of the model weights and model configuration files.