Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cv2.error Failed to call "forward" method in function 'forward'

I'm trying to use this code - https://github.com/opencv/opencv/blob/master/samples/dnn/edge_detection.py.

But when i run I get this error -

Traceback (most recent call last): File "edge_detector.py", line 55, in <module> out = net.forward()

cv2.error: OpenCV(3.4.5) /Users/travis/build/skvark/opencv-python/opencv/modules/dnn/misc/python/pyopencv_dnn.hpp:163: error: (-213:The function/feature is not implemented) Failed to call "forward" method in function 'forward'

I tried with all the recent opencv-python versions (from 3.4.1), it didn't work with any one of them.