K210摄像头无法拍摄图片是怎么回事?示例程序没办法运行

Viewed 470

重现步骤

期待结果和实际结果

软硬件版本信息

错误日志

尝试解决过程

补充材料

1 Answers

你好,使用ide运行这个demo可以看到图像吗?

# LCD Example
#
# Note: To run this example you will need a LCD Shield for your CanMV Cam.
#
# The LCD Shield allows you to view your CanMV Cam's frame buffer on the go.

import sensor, image, lcd

sensor.reset() # Initialize the camera sensor.
sensor.set_pixformat(sensor.RGB565) # or sensor.GRAYSCALE
sensor.set_framesize(sensor.QVGA) # Special QVGA(320x240) framesize for LCD Shield.
lcd.init() # Initialize the lcd screen.

while(True):
    lcd.display(sensor.snapshot()) # Take a picture and display the image.