sensor.reset() # Reset and initialize the sensor.
sensor.set_pixformat(sensor.RGB565) # Set pixel format to RGB565 (or GRAYSCALE)
sensor.set_framesize(sensor.HD) # Set frame size to QVGA (320x240)
sensor.skip_frames(time=2000) # Wait for settings take effect.
Hi, which board are you using? Does it have SDRAM? If not, then there’s not enough RAM to store the image and we converted it to bayer which is a format we primarily use for just viewing. However, most of our functions cannot process it.