lcd显示屏图像无法垂直翻转?
-
lcd.display(img, x_scale=-1.0, y_scale=-1.0) 报错原因:ValueError: Vertical flip requires triple buffering!
-
import sensor, image, lcd sensor.reset() sensor.set_pixformat(sensor.RGB565) sensor.set_framesize(sensor.QQVGA2) lcd.init(triple_buffer=True) while(True): lcd.display(sensor.snapshot(), x_scale=-1.0, y_scale=-1.0)