Ask Your Question

Revision history [back]

You might check this link: https://github.com/opencv/opencv/issues/12250

It is possible that you are not using the latest source codes. I downloaded the latest 3.4 source codes in github directly using; wget https://github.com/opencv/opencv/archive/3.4.zip -O opencv-3.4.zip wget https://github.com/opencv/opencv_contrib/archive/3.4.zip -O opencv_contrib-3.4.zip And they do work.

You might need to compile the source codes by yourself (https://www.pyimagesearch.com/2016/10/24/ubuntu-16-04-how-to-install-opencv/). Just to make sure all related DNN options are ON, when you compile the source codes.