
Opencv
Fan72
这个作者很懒,什么都没留下…
展开
-
opencv+opencv_contrib编译下载失败问题解决
主要是下载时出错的五处:ippicvffmpegboostdescvgg_generatedface_landmark_model.datgithub搜opencv_3rdparty 下载慢了可以创建个码云账号,克隆到码云上,享受极速下载。ippicv我显示ippicv_2020_win_intel64_20191018_general.zip下载失败,在opencv_3rdparty的分支中找对应的版本,下载,记住保存的路径,比如我的路径"D:\Software\OpenCV\do原创 2020-10-25 22:09:45 · 2733 阅读 · 2 评论 -
opencv统计二值图像像素占比
int white = 0; int n = 0; cv::Mat_<uchar>::iterator it = diff.begin<uchar>(); cv::Mat_<uchar>::iterator itend = diff.end<uchar>(); for (; it != itend; ++it) { n++; if ((*it) > 0) white += 1; } double p_w = w..原创 2020-11-17 10:21:14 · 1297 阅读 · 0 评论