Hello,
I am working with C++(OpenCv) and I want to compute the runtime of my method to compare it with other methods. I use clock_t tStart = clock(); and printf("Time taken: %.4fs\n", (double)(clock() - tStart)/CLOCKS_PER_SEC);
The problem is that i don't know where to put the clock start? Is it after image reading and image preprocessing or after them? also the same for clock end.
Thank you