1 | initial version |
I use cv::getTickCount()
Update:
I figured out the problem. The function was being called inside another function and there was a conditional cv::imwrite() in the function. That's why I was getting the problem. The conditional part comes from another section of the program. I've fixed the part and it's working ok.
Thanks everyone!