Hi everyone !
I am trying to extract a point from a contour in opencv android, but I can't seem to find an equivalent for cvGetSeqElem, so I don't really know what to do. Here is my code :
Imgproc.findContours(mGray, contours, new Mat(), Imgproc.RETR_LIST, Imgproc.CHAIN_APPROX_SIMPLE);
Mat maxContour = contours.get(idx);
for(int i=0; i< maxContour.total();i++)
{
Point v= ? //This is where I would write new Point(Imgproc.cvGetSeqElem(maxContour, i))
}`
Does someone know the android equivalent for cvGetSeqElem? Or some other way to extract the points?