Hi
I want to display elapsed time in minutes and seconds while detecting a face from webcam . I have tried this :
char str[200];
double t = (double)getTickCount();
t = ((double)getTickCount() - t) / getTickFrequency();
sprintf(str, "%f detection time", t);
But this code is not updating time , is is just shows zeros .
Thanks for help
↧