MTCNN-light
MTCNN-light copied to clipboard
Why the time is "start/10e3" but not "start/1e3"?
Your code is:
clock_t start; start = clock(); find.findFace(image); imshow("result", image); imwrite("result.jpg",image); start = clock() -start; cout<<"time is "<<start/10e3<<endl;
Why you compute the time of "ms" with "start/10e3"? i. e. How to compute the time of "ms" with C++? I think it is right with "start/1e3".
looking forward for your reply.
best.
The right answer is: cout<<"time is "<<(double)start/CLOCKS_PER_SEC*1000<<" ms "<<endl;