Ask Your Question

Revision history [back]

Opencv C++ Holistically-Nested Edge Detection

Hello,

I am trying to run the pretrained Holistically-Nested Edge Detection Model from https://github.com/s9xie/hed in C++. I have found this Python based example: https://www.pyimagesearch.com/2019/03/04/holistically-nested-edge-detection-with-opencv-and-deep-learning/ and the Opencv Sample in Python: https://github.com/opencv/opencv/blob/master/samples/dnn/edge_detection.py. I also looked up the general aproach to custom layers in Opencv here: https://docs.opencv.org/master/dc/db1/tutorial_dnn_custom_layers.html. But after several hours of trying I am still not able to get anything to run. Can anyone recommend a good example or tutorial on this matter? Thanks in advance.