johnson-pkt / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

port c++ to javacv (cvHaarDetectObjects) #139

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
C++
CvSeq objects = cvHaarDetectObjects(image, objCascade, storage , 1.1, 2, 
CV_HAAR_DO_CANNY_PRUNING, cvSize(5, 5));

JavaCV
public static native CvSeq cvHaarDetectObjects(CvArr cvarr, 
CvHaarClassifierCascade chcc, CvMemStorage cms, double d, int i, int i1, @ByVal 
CvSize cvsize, @ByVal CvSize cvsize1);

How to handle cvSize(5,5)? Why there are to CvSize?

thanks

Original issue reported on code.google.com by jkts2...@googlemail.com on 20 Dec 2011 at 12:58

GoogleCodeExporter commented 8 years ago
cvSize(5,5) works just fine with JavaCV.

Please post your questions on the mailing list next time, thank you

Original comment by samuel.a...@gmail.com on 27 Dec 2011 at 9:33