@hoju, actually the 2 does not refer to the version number of OpenCV. Basically it is the difference between the underlying C API, which is denoted by the cv prefix and the C++ API which is denoted by the cv2 prefix. This is mainly a historical matter and it is kept to keep backwards compatibility. It also allows you to combine the C and C++ interface if you really need it, but which is discouraged a lot!