logo

有关颜色识别的问题

2018-08-03 09:05
Z
motto6666

小白求助大神:

f8044840-7a59-4441-8b22-acdcf416da8d.png

请问大神们圈中的 b [0 : 4] 和 b [5], b [6]代表什么意思呢?:grinning_face:

X
Yuan

http://book.openmv.cc/image/blob.html

blob.pixels() 返回色块的像素数量(int),也可以通过blob[4]来获取。

blob.cx() 返回色块的外框的中心x坐标(int),也可以通过blob[5]来获取。

2018-08-03 15:03
Z
motto6666

好的,谢谢:sun: :sun: