所以我真的很新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