OpenCV常用的头文件

来源:互联网 发布:腾讯游戏平台mac版本 编辑:程序博客网 时间:2024/05/15 23:50

OpenCV常用的头文件:

[cpp] view plain copy
  1. #include "stdafx.h"  
  2. #include <cv.h>  
  3. #include <highgui.h>  
  4. #include <stdio.h>  
  5. #include <string.h>  
  6. #include <math.h>  
  7. #include <opencv2/objdetect/objdetect.hpp>  
  8. #include "opencv2/imgproc/imgproc.hpp"    
  9. #include "opencv2/highgui/highgui.hpp"    
  10. #include "opencv2/opencv.hpp"    
  11. #include <opencv2/core/core.hpp>  
  12. #include<iostream>    
  13. #include<vector>    
  14. #include<fstream>  
  15. #include<set>  
  16. #include<cstdlib>  
  17. #include<cmath>  
  18. #include<ctime>   
备注:关于头文件的使用说明:在主程序中调用头文件时,如果一切都配置好了仍然报错,只需将<>改为" "就可以了。
原创粉丝点击