1
0

version.cpp 239 B

123456789
  1. #include <iostream>
  2. #include <opencv2/opencv.hpp> //头文件
  3. using namespace cv; // 包含cv命名空间
  4. #pragma comment(lib, "opencv_world4100.lib")
  5. int main()
  6. {
  7. std::cout << getVersionString() << std::endl;
  8. return 0;
  9. }