i need to convert following C++ code to opencv based android and access center of the "rect" 'result" is mat object. i'm having error here.
ArrayList<RotatedRect> rects = new ArrayList<RotatedRect>();
for(int i=0; i< rects.size(); i++){
core.circle(result, rects[i].center, 3, Scalar(0,255,0), -1);
}
0 comments:
Post a Comment