First time here? Check out the FAQ!
answered 2020-12-07 08:58:34 -0600
I was missing the following, which apparently is required to run the net in C++:
net.setPreferableBackend(cv::dnn::DNN_BACKEND_OPENCV); net.setPreferableTarget(cv::dnn::DNN_TARGET_CPU);
(The above for CPU inference).