Hi,
Sorry if this is the wrong place to be asking this question, but I'm using cvBlob in C# via the opencvsharp, and I'm getting a:
assert: p->size()>2 failed
exception when calling blob.Contour.ConvertChainCodesToPolygon() in some rare cases of 1-pixel thin small blobs (similar to 10 by 10px diagonal line).
I don't know if this is a cvBlob problem or a opencvsharp issue; anyway, I could probably bypass it all if I could find a way to access the contour chaincode from C# directly. (Instead of having to convert it to polygon point first)
So, my questions are:
1) is there a way to access the countour chaincode in c#.
2) is the "p->size()>2 failed" problem a bug in the cvBlob when dealing with 1px narrow blobs, or is it a problem with the openCvsharp wrapper?
Thanks for any help, and keep up the good work.
Carlos