Java API: minor bug-fixes and improvements in CvVector-s and tests

This commit is contained in:
Andrey Pavlenko
2012-04-05 08:41:03 +00:00
parent 4ee2c486eb
commit 0c45a5add2
19 changed files with 89 additions and 72 deletions

View File

@@ -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);
}