This blog post suggests a default FPS of 75-150 FPS (More Speed | OpenMV). I’ve edited the helloworld code to time the sensor snapshot. The frame buffer on the IDE was disabled, and I have the latest firmware on my OpenMV H7 Plus (version 3.6.8).
import sensor, image, time, utime
sensor.reset() # Reset and initialize the sensor.
sensor.set_pixformat(sensor.RGB565) # Set pixel format to RGB565 (or GRAYSCALE)
sensor.set_framesize(sensor.QVGA) # Set frame size to QVGA (320x240)
sensor.skip_frames(time = 2000) # Wait for settings take effect.
while(True):
start = (utime.ticks_ms())/1000
img = sensor.snapshot() # Take a picture and return the image.
end = (utime.ticks_ms())/1000
print("TIME", end-start)
The printed time varies between 0.20s- 0.21s. It’s taking 0.2s to snap a single frame, so the maximum possible FPS is 50FPS. How do I achieve the default FPS in the blog post?