How can access coordinates of convexity defects and convexhull?
I try to do measurment of each finger (on open-palm hand picture) and i would like to get acces to coordinates first five points of convexhull and first four points of convexity defects (counting from the top of an image). To do that, i need to know what the coorginates (x and y) are.
The format od convexhull is MatOfInt and the format of convexityDefects is MatOfInt4. I was looking for answer but unfortunately only answer I found was in C++, and I'm working with java.
I will be very gratefull for any help.