单颜色识别例程问题
-
关闭白平衡和增益,放在跳过帧等待设置生效(sensor.skip_frames(time = 2000)),前后图形差距很大。
-
没听懂,你前后两次分别是啥代码?
-
此回复已被删除!
-
@yuan 像下面这样
sensor.set_auto_gain(False) # must be turned off for color tracking
sensor.set_auto_whitebal(False) # must be turned off for color tracking
sensor.skip_frames(time = 2000)
#sensor.set_auto_gain(False) # must be turned off for color tracking
#sensor.set_auto_whitebal(False) # must be turned off for color tracking
-
你说的前后图形是什么,最好给出图片,指出哪里的差距