Opencv. LBP cascade. How to exclude redected results at the same place

asked 2014-06-05 18:40:13 -0600

Loam gravatar image

updated 2014-06-05 19:09:54 -0600

I have trained LBP classifier for searching cars top view. And i do not know how to exlude redetection at the same places during searching.

I saved a resulting picture, as you see one car is found twice: image description

I use this function:

cascade.detectMultiScale( smallImg, cars,
    1.1, 3, 0
    Size(30, 30),
edit retag flag offensive close merge delete



You can ignore overlapped rectangle after detectMultiScale(). See similar question here, also refer the answer here might be helpful.

Haris gravatar imageHaris ( 2014-06-05 23:45:30 -0600 )edit