Cascade classifier return different result in C++ and Java version [closed]

asked 2014-03-11 10:55:59 -0500

maitan_10000 gravatar image

updated 2014-03-11 10:58:08 -0500

berak gravatar image

Hi, my problem is the detectMultiScale function return different result in C++ and java version. I've tested it in C++(Ubuntu) and java (android). Both use the same parameter and the cascade xml file but with 1 image, C++ version return 2 rects, and java return 4 rects (they also have different value).

detectMultiScale(imageInput, resultList, 1.1, 1, 0 | 2 , Size(20, 20), Size(250, 250));

I'm try to debug but still have no solution for this. Can any body help me? Thanks,

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by sturkmen
close date 2020-11-06 17:26:05.711082

Comments

Hello, any body help me?

maitan_10000 gravatar imagemaitan_10000 ( 2014-03-13 23:36:32 -0500 )edit

This is different between Python and C++ as well.

Joakim gravatar imageJoakim ( 2014-06-05 18:51:51 -0500 )edit