I am working on a project in which I am given a sequence of images. The goal is to detect objects on them, segment them to extract features and eventually classify them.
The algorithm is already working, but when I compare the speed of OpenCV2.4 and OpenCV3.2 it turns out that OpenCV2.4 is approximately 2x faster than OpenCV3.2.
I use functions such as findContours, drawContours, imread, imwrite, morphology functions, etc. Is this behavior normal or am I missing something ? I thought OpenCV3.2 was supposed to be faster...
Thank you in advance. :)