Hi everyone. I am tracking movement in camera using cv.jit.centroids but when the camera isn't tracking anything the number that is being track defaults to 127. I want that number to pause when a person tabs a key only until the camera starts tracking again. so if the number is going from 0 - 127, and the person tabs a key at 100 the number stays in 100 instead of 127 until the tracking begins again.
in the following patch I can only make it pause for a specific period of time (using the line object) but after the time passes and the gate switches it defaults to 127 again.
I should know how to do this, its been bothering me a couple of days..