opencv c++ Edge detection to find edge that the top of it is white and the bottom is black

OpenCV can help you find edges using Canny Edge Detector
You can refer for the implementation in this link

OpenCV’s Canny Edge Detection in C++

Furthermore, I would like you to first do a bit of research on your own before actually asking for questions here.

Leave a Comment