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

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

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 reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2020-09-22 21:22:17.167133

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 -0600 )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 -0600 )edit

you welcome:)

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