find_blobs中参数pixel_threshold无效?
-
find_blobs中参数pixel_threshold无效?
blobs = img.find_blobs([yellow_threshold,white_threshold], pixel_threshold=200,) if blobs: #如果找到了目标颜色 for b in blobs: #迭代找到的目标颜色区域 print(b)
这样依然能够打印出pixels值小于200的检测区域
-
https://docs.singtown.com/micropython/zh/latest/openmvcam/library/omv.image.html#image.find_blobs
看文档:
是:pixels_threshold