Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Is OpenCV in C++ or C significantly faster than python?

Hi all,

I've been developing a real-time augmented-reality type application in Python OpenCV, and had a rather nasty surprise when I switched from my Core i7 development machine to the Atom unit that we wanted to actually use. It turned out to be nowhere near fast enough, giving me 5-10 fps where it would easily keep up with 30 fps videos on the i7.

So my question is whether porting my application to C would help at all, or if it's just that OpenCV can't handle this kind of application. When I put my app through the Python profiler almost all of the time was being spent in cv calls, and waitKey was also taking forever. Should I just give up and look at something like Halcon?

Thanks,
- Chris