puku0x / cvdrone

CV Drone (= OpenCV + AR.Drone)
https://github.com/puku0x/cvdrone/wiki/How-to-build
Other
202 stars 94 forks source link

Added way to check whether video stream is frozen #21

Closed gtmtg closed 9 years ago

gtmtg commented 9 years ago

The video stream often freezes briefly, meaning that subsequent calls to ARDrone::getImage() will return the same image as before. I added ARDrone::willGetNewImage() to check whether we've received a new image since the last call to ARDrone::getImage(). This is useful in, e.g., computer vision, where it might be undesirable to process a frame that's identical to the one before it.

puku0x commented 9 years ago

Thank you gtmtg for your contribution !!