Pergunta

If it is possible than it will detect car once or blinking multiple time on single car i have done car detection on live feed but it is detecting car and just continue blinking so i need to use it on image. I have already Haar .xml file. Thanx in advance

Foi útil?

Solução

Just compare the center of the detection rectangle from the previous frame to that in the current frame. If the center has not changed too much, it is likely the same object. In that case, don't count the "new" rectangle in the current frame.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top