I would like to know how can I print some strings in a dlib library window for some seconds allowing the user to read them properly. So far I found the following method in the API:
const rectangle r;
win.add_overlay(r,rgb_pixel(255,0,0), "Someone smiled!");
which just prints for one frame. I would like to get something like the Opencv method
void displayOverlay(const string& winname, const string& text, int delayms=0 )
.
Is it possible?