#include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp>
若想省去cv::的麻烦,需在程序前添加 using namespace cv;