Search code examples
.netvbavisual-studioimage-processingimageprocessor

How to use ImageProcessor/DetectEdges in visual basic?


I trying to use ImageProcessor / DetectEdges. But I get the error in the picture. What am I doing wrong? Many thanks to the me helpers.Error Visual Studio Screen


Solution

  • You're not newing up an instance of the filter.

    Your methods call should be

    imageFactory.DetectEdges(new KayyaliEdgeFilter(), true)