可以添加SCALE_ASPECT_IGNORE
import sensor
import display
import image
sensor.reset()
sensor.set_pixformat(sensor.RGB565)
sensor.set_framesize(sensor.QVGA)
lcd = display.SPIDisplay()
while True:
lcd.write(sensor.snapshot(), hint=image.SCALE_ASPECT_IGNORE)