# OpenCV convexhull points coordinates

Hello, I'm trying to get all the points coordinates (X and Y position) of a hull which the program finds.

For instance, if a rectangular hull is found, all of his bounding points (which are drawn by the cvdrawcontours and convex hull functions) will be printed out on the screen so all the drawn convex hull is transferred to coordinates of points that build it.

Thank you, Dan.

Where exactly is your problem in getting the convex hull points? The OpenCV function

convexHull()will give you an array of the points. Have a look at the documentation: DocumentationThat is right but I want to extract the coordinates of the points in this array and print them on acreen as I described above, how can I do it?