Java API: minor bug-fixes and improvements in CvVector-s and tests
This commit is contained in:
@@ -84,8 +84,7 @@ class FdView extends SampleCvViewBase {
|
||||
mCascade.detectMultiScale(mGray, faces, 1.1, 2, 2 // TODO: objdetect.CV_HAAR_SCALE_IMAGE
|
||||
, new Size(faceSize, faceSize), new Size());
|
||||
|
||||
Rect ra[] = null;
|
||||
for (Rect r : faces.toArray(ra))
|
||||
for (Rect r : faces.toArray(null))
|
||||
Core.rectangle(mRgba, r.tl(), r.br(), new Scalar(0, 255, 0, 255), 3);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user