logo

find_blobs中参数pixel_threshold无效?

2019-12-19 17:17
1
_6ulx

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的检测区域

2019-12-23 15:07
I
网红小智智 星瞳科技

https://docs.singtown.com/micropython/zh/latest/openmvcam/library/omv.image.html#image.find_blobs

看文档:

是:pixels_threshold