所以我真的很新openCV
和所有的图像识别的东西。所以我用的MonoDevelop和我安装使用apt-get
OpenCV的和我包括这些文件OpenCV和凸性缺陷
include "opencv2/highgui/highgui.hpp" include "opencv2/imgproc/imgproc.hpp" include <opencv2/opencv.hpp> include <opencv2/imgproc/imgproc.hpp> include<iostream> include<vector> include<algorithm> include <X11/Xlib.h> include <X11/Xutil.h>
但这function
convexityDefects()
显示为undefined
编辑
所以问题是,编译器显示该功能convexityDefects
未在此范围内定义
这里是完整的代码,我不能去工作 - >Code
请你指点我!! 谢谢。
请发布[SSCCE](http://sscce.org)。少数包含声明根本不足以重现,更不用说修复您的问题。你是什么意思“显示为”undefined“”?你得到的错误是什么? – Aurelius
其实我认为的问题是包含在内,当我尝试编译它时显示出该函数在此范围内未定义。 – J1and1