How to write a custom contour detecting function?
I tried extracting contours out from an inbuilt function in OpenCV python. 😃
It only detected very small contour, almost 80 detected contours out of 100 were noise not exactly the contour I was hoping to detect. 😅
So I would like to build my own contour detection function in python, I have no idea how to do it? 🤔
Any suggestions to point me in the right direction?
You Can detect all contours and then filter by area or length. ? What did you try ?
@Ziri As I have already mentioned, I did extract the contours. I did even try to filter the unwanted contours(by arc length and contour area) it is not giving me a desired result I wanted.
Is there any way in which I can create my own custom contour detection function?
or I am just wasting my time trying to create a custom contour detection function?
If you need features that are not supported in Opencv you can make your "connected components algorithm" but better if you can post sample image and code you tried so you can get help.