I have posted a part of the code... im using blob tracking to detect people and the patch will give me x, y and mass of each blob. So far I can track four blobs, which works fine.. my problem is that when no blobs are visible then the patch still display the last received x, y and mass of each blob.. I would like a 0 in all the number boxes when there are no blobs to detect.
another choice would be to detect if the number boxes are getting values in and then create a 1 and if no values are received then 0
basically I would like to start a wave fil with 1 and 0 to stop it with each blob