摘要: 代码如下:#include #include #include void example(IplImage* image){ // Create some windows to show the input // and output images in. // cvName... 阅读全文
posted @ 2015-10-25 18:29 龟窝 阅读(355) 评论(0) 推荐(0) 编辑
摘要: #include #include int main(int argc, char** argv){ cvNamedWindow("Example2", CV_WINDOW_AUTOSIZE); CvCapture* capture = cvCreateFileCapture("... 阅读全文
posted @ 2015-10-25 17:44 龟窝 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 直接看代码好了#include #include //这里主要用到窗口显示int main(int argc, char** argv){ cvNamedWindow("Image", CV_WINDOW_AUTOSIZE); IplImage *img=cvLoadIm... 阅读全文
posted @ 2015-10-25 16:39 龟窝 阅读(196) 评论(0) 推荐(0) 编辑
摘要: (1)安装Homebrew:(需要Ruby)注:因为snow leopard 以后已经自带Ruby了,所有可以不用自己安装Ruby。看一下Homebrew的官网: http://mxcl.github.com/homebrew/ 进入后,可以看到安装方法,你只要在Terminal(终端)中输入:ru... 阅读全文
posted @ 2015-10-25 14:56 龟窝 阅读(787) 评论(0) 推荐(0) 编辑