1 | initial version |
Okay, there are some conflicts here. You state you are using OpenCV3.0 ... so start by changing
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include "opencv2/imgproc/imgproc.hpp"
towards the correct headers (which are a level up) and not the backwards compatibility headers. Also the highgui module was split into seperate modules.
#include "opencv2/core.hpp"
#include "opencv2/highgui.hpp"
#include "opencv2/imgcodecs.hpp"
#include "opencv2/videoio.hpp"
#include "opencv2/imgproc.hpp"
And now check again if it works. More info can be found in the transition guide.