Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Why is there an opencv2 folder inside OpenCV 3.x?

Is this just for backwards compatibility, for people who have been developing for years with OpenCV 2 and then want to use OpenCV 3 without having to rewrite all their legacy code? Or is this related to a fundamental design decision the creators of OpenCV 3 opted for? For instance, when I look up imread examples for OpenCV 3, they have #include "opencv2/imgproc.hpp". Is this just the way you refer to certain files/functions in OpenCV 3, or is there an "OpenCV 3 way" out there that many people don't use, because they just prefer the old syntax/style of various operations?