I'm struggling with cv::find_contours and it's quite likely that I do not know how to construct the expected input params. Help for a noob would be most appreciated.
...but this fails with an ArgumentError. I'm assuming it's because of how I'm creating/passing contours or hierarchy. What's the correct way to make these to pass them into the findContours method?
I'm struggling with cv::find_contours and it's quite likely that I do not know how to construct the expected input params. Help for a noob would be most appreciated.
I have:
...which makes a nice binary image for me from my gray_blue Mat and then:
...but this fails with an ArgumentError. I'm assuming it's because of how I'm creating/passing
contours
orhierarchy
. What's the correct way to make these to pass them into the findContours method?