Ask Your Question

latentsvm_multidetect sample gives very bad results

asked 2013-07-08 08:09:24 -0500


I'm using the sample file latentsvm_multidetect to test LatentSvmDetector.

I'm using the models provided in OpenCVextra ("opencv_extra/testdata/cv/latentsvmdetector/models_VOC2007") and also the images provided there - one is of cars and the other is of a cat.

The code compiles and runs, but I'm getting very bad results. I'm getting various detections of all kinds of object in the images (for example, in the cars image i'm getting about 80 detections of various objects when there are only six cars in the image).

I'm running the code "as is", so I don't understand why this happens. Is there any flag I need to turn off/on or anything like that? Am I suppose to expect such results?

Thank you,


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-07-08 08:52:15 -0500

SR gravatar image

Display the confidence of the detections. This will make the results clearer and you will see that many detections have low scores.

edit flag offensive delete link more


Thank you !

GilLevi gravatar imageGilLevi ( 2013-07-08 10:38:13 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2013-07-08 08:09:24 -0500

Seen: 421 times

Last updated: Jul 08 '13