Open Bluejay47 opened 7 years ago
.data()
is a Uint8Array which means that you will need to access the data in a different way if you know there are CvPoints and floats. I used get_int_at()
to do this with the output from cv.findContours
. Maybe you can do something similar here?
Can anyone offer tips on how to interpret the results of the convexityDefects method? I am seeing a 1 col n row Mat with 16 values like this:
... and having problems mentally mapping that to the struct I would get from C.
Thanks.