Opencv cascade classifier got different result with different computers
I've played with opencv3.0's cascade classifier recently, and came a long way to train a classifier that saved as cascade.xml. The classifier works well at my working place. But when I conducted the program at home using my laptop, the test result perform badly... Why would be that? My code and setting are the same. The working environment are also the same ( win7 x64, visualstudio2013 community with update5).
The key detection code are below: cascade.detectMultiScale(smallImg, faces, 1.1, 11, 0, Size(110, 110));
Setting in my cascade.xml: stageType: BOOST featureType: HAAR size: 20x20 boostType: GAB
Could anybody figure out what happened to the different result with the "same code", the smae "cascade.xml" and same "test images"?
Are you absolutely sure about this? Have you tried in another third computer?
Stupid question: are you using the same test data ?
The minimal size you set is (110x110), the faces you want to detect are bigger than that ?
I'm 100% sure that my code and test images are THE SAME... I purposely detect the size bigger than 110x110 since I'm not going to detect the face. I detect something else which I know the size and train the classifier myself. Though I still named the detection as faces...My bad
Did you build OpenCV yourself or use the pre-build dll ?
What about the OpenCV version? Are in both cases the same?