Why are we using 'opencv2' in the include files instead of opencv3?

asked 2015-07-19 21:44:04 -0500

This is probably a trivial question but if we are using OpenCV3.0, then why are we using 'opencv2' in the include files instead of opencv3?

#include "opencv2/core.hpp"
#include "opencv2/core/utility.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/video/background_segm.hpp"
#include "opencv2/videoio.hpp"
#include "opencv2/highgui.hpp"
edit retag flag offensive close merge delete

Comments

3

HI, as @steven Puttemans say that opencv2 means opencv is written c++(the first version code is c). it does not mean version:)

wuling gravatar imagewuling ( 2015-07-19 22:02:11 -0500 )edit

@wuling Thanks for the comment. I had the wrong idea that it has something to do with the OpenCV version.

mkc gravatar imagemkc ( 2015-07-21 03:24:33 -0500 )edit

you welcome:)

wuling gravatar imagewuling ( 2015-07-21 05:02:06 -0500 )edit