
OpenCV
yqcyx
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【OpenCV】waitKey()函数的用法
Waits for a pressed key. C++: int waitKey(int delay=0) Python: cv2.waitKey([delay]) → retval C: int cvWaitKey(int delay=0 ) Python: cv.WaitKey(delay=0) → int Parameters: delay – Delay in milli...原创 2018-11-11 17:17:06 · 1493 阅读 · 0 评论 -
【OpenCV】图形绘制函数的用法(Drawing Functions)(C++)
1.Circles void circle(Mat& img, Point center, int radius, const Scalar& color, int thickness=1, int lineType=8, int shift=0) Parameters: img – Image where the circle is drawn. cen...原创 2018-11-11 23:23:09 · 838 阅读 · 0 评论 -
【OpenCV】用RNG生成随机数的小例子
cv::RNG::RNG() cv::RNG::RNG(unit64 state) 类似于C中的srand(),要先给它一个种子,srand()用的是unsigned int的32位种子,而RNG()用的是64位长整数种子。 常用的方法有: ①next:取出下一个随机数 ②uniform:返回指定范围的随机数 ③gaussian:返回一个高斯随机数 ④fill:用随机数填充矩阵 ...原创 2018-11-12 17:28:29 · 389 阅读 · 0 评论