Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Elapsed time counter

$
0
0
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

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>