문제

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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top