摘要:
find_circles识别圆 find_circles(roi: Tuple[int, int, int, int] | None = None, x_stride=2, y_stride=1, threshold=2000, x_margin=10, y_margin=10, r_margin= 阅读全文
posted @ 2025-02-06 16:52
二九二
阅读(121)
评论(0)
推荐(0)
摘要:
OpenMV采用的是单目摄像头,想要实现测距,就需要选参照物,利用参照物的大小比例来计算距离。 原理:实际长度和摄像头里的像素成反比 即:距离 = 一个常数/直径的像素 K1=5000#the value should be measured K2=0.16 ... Lm = (b[2]+b[3]) 阅读全文
posted @ 2025-02-06 15:34
二九二
阅读(177)
评论(0)
推荐(0)
摘要:
image.find_blobs(thresholds, roi=Auto, x_stride=2, y_stride=1, invert=False, area_threshold=10, pixels_threshold=10, merge=False, margin=0, threshold_ 阅读全文
posted @ 2025-02-06 13:06
二九二
阅读(102)
评论(0)
推荐(0)
摘要:
thresholds = [ (30, 100, 15, 127, 15, 127), # generic_red_thresholds (30, 100, -64, -8, -32, 32), # generic_green_thresholds (0, 30, 0, 64, -128, 0), 阅读全文
posted @ 2025-02-06 12:34
二九二
阅读(450)
评论(0)
推荐(0)
浙公网安备 33010602011771号