Hi,
I need to convert an org.opencv.core.Point[] array to a MatOfPoint2f array, And i can not find a way to do it.
This is my org.opencv.core.Point[] array named pointsTmp
org.opencv.core.Point[] pointsTmp = tmpPts.toArray();
for (org.opencv.core.Point p : pointsNext) {
if(byteArray[count]==1){
Core.circle(tmp2, p, 8, circleColor);
pointsTmp[i]=p;
i++;
}
count++;
}
can any one help me convert it to a MatOfPoint2f array type?
Tanks in advance!