Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How check if my mat::image is updated or not

In my program I detect movement or position of one or more object and send the relative position via ethernet .... using findcontours hyerarchy and many other function .... if my targhet object not compare on screen I want to send 0,0 coordinates on ethernet .... I Use one detectMat mat:image for drawing on screen my result (drwaw around object captured a classic green rectangle). when there are no objects my image stops being updated with new green rectangles . It's ok for me, but Now I would check when everything stops so you know exactly when there are no objects in transit and send the coordinates 0,0 (when there are ojbect all work fine.... I can insert object in transit and remove all ojcte without problem, but not uderstand when detectMat stop to updated and than start to updated from my prog).

There are some function (detectMat.xxxxx) do check this situation?