Ask Your Question

explanation for dnn_backend_opencv not declared in scope error [closed]

asked 2019-09-11 06:29:31 -0600

sgarg2 gravatar image

While running the dnn example for yolo I keep running into this error. Any reason why this is happening. I have made sure to include the namespace cv ,dnn, and std.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by LBerger
close date 2019-09-11 12:09:19.522850


Please What's language, platform opencv version, source file?

LBerger gravatar imageLBerger ( 2019-09-11 06:33:31 -0600 )edit

Sorry about that my mistake. So I am working with ros-OpenCV.Although I have installed the Debian package offered by for the language, I am trying to execute it in c++. Am I right to assume that I should try to install this from source, would that help in any case?

sgarg2 gravatar imagesgarg2 ( 2019-09-11 08:14:48 -0600 )edit

Sorry but ros-OpenCV. is off topics :

Keep in mind that this is a forum where we motivate people to go head on with their challenges. Basically the following types of questions are not allowed on this forum:

Questions about problems with openCV wrappers (EmguCV, JavaCV, OpenCVSharp, ...) or extension libraries (cvBlobsLib, opencvx, ...). Again these problems should be adressed to the proper fora.

try to build opencv without ros and run same yolo sample. yolo sample is dead in opencv 4 or opencv 3.4.7?

LBerger gravatar imageLBerger ( 2019-09-11 08:29:32 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2019-09-11 11:52:33 -0600

sgarg2 gravatar image

I was able to solve it, thanks and I will keep it in mind for the future.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2019-09-11 06:29:31 -0600

Seen: 645 times

Last updated: Sep 11 '19