IR Blob - off screen or just off?

asked 2016-07-12 22:32:43 -0500

dmen gravatar image

I am tracking an infrared LED with a simple contour check - it works great. However the LED has a switch and can be turned off - I am needing to know if the switch went off or if the LED just moved out of view of the camera.

I thought I could do something simple with just checking position, but if the led is moved fast off screen, then the last tracked point I get from my detector is on screen... maybe I can just use something like an edge buffer where if the last point is within the buffer range, it's likely off screen now, and not turned off.

edit retag flag offensive close merge delete

Comments

Yep, just check the last few for direction and velocity. If it was approaching the edge and headed in the right direction, it's off screen.

Tetragramm gravatar imageTetragramm ( 2016-07-12 23:17:10 -0500 )edit