OpenCV Android an array/vector of Mat
Hi,
I wrote a program in C ++ using OpenCV. Now I would like to move it on Android. I have a problem with this record.
In C++:
vector<Mat> tableRectangles ;
vector<Rect> limitRectangles ;
tableRectangles .clear();
for(unsigned int i = 0; i< limitRectangles.size(); i++ )
{
tableRectangles.push_back((*output)(limitRectangles [i]));
}
I'd like to just get in Java / Android.
List<MatOfRect> limitRectangles = new ArrayList<MatOfRect>();
List<MatOfRect> tableRectangles = new ArrayList<MatOfRect>();
for(int i = 0; i<limitRectangles.height; i++ ){
???
}
At the moment I have only so much. Can anyone help?
http://docs.opencv.org/java/2.4.11/or...
Thanks but still I do not understand. Could you explain more or show me an example?