My code snippet looks like this: I want to delay the text in the below inbuilt OpenCV function “cvPutText” so that it appears in the succesive 5or 6 frames.
cvPutText (frame_OPENCV,”STRING”,cvPoint(60,40),&font,cvScalar(0,0,255,0));
How to display the STRING in 5 successive frames?
You can use the QT backend:
the function displayOverlay() allows you to display some text over the image for a given time interval, without modifying the source image
displayOverlay()