Currently, I’m constantly taping 100 frames video in 640x480 resolution and saving it to microSD card and I got 11s of video, for those 100 frames - that’s <10FPS (!).
When i decrease resolution to 320x280, I get ~20FPS, that’s still not that much.
My camera is supposed to be working in low lighting enviroment (pipeline, to be clear), where there will be only lighting from external LEDs.
I’ve seen this reply,
It’s the lighting in the room. The camera will lower the FPS to improve exposure when there’s little lighting.
and I did testing in good lighting and it doubled my FPS, so I got around 20FPS (resolution 640x480), still it’s not 75FPS decleared my producent.
In my project I need high FPS, how can i increase it?
I’ve been working with OpenMV for a little time, so sorry if my questions are stupid .
Here is also my code in case you need it:
import sensor, image, time, mjpeg, pyb, machine from pyb import RTC sensor.reset() # Reset and initialize the sensor. sensor.set_pixformat(sensor.RGB565) # Set pixel format to RGB565 (or GRAYSCALE) sensor.set_framesize(sensor.VGA) # Set frame size to VGA (640x480) / QVGA (320x240) sensor.skip_frames(time = 2000) # Wait for settings take effect. clock = time.clock() # Create a clock object to track the FPS. i = 0 red_led = pyb.LED(1) green_led = pyb.LED(2) blue_led = pyb.LED(3) rtc = RTC() rtc.datetime((2021, 7, 21, 3, 12, 0, 0, 0)) while(True): year = rtc.datetime() month = rtc.datetime() day = rtc.datetime() #  - weekday hour = rtc.datetime() minute = rtc.datetime() second = rtc.datetime() subsecond = rtc.datetime() name = "%s_%s_%s_%s_%s_%s_%s.mp4" %(year, month, day, hour, minute, second, subsecond) vid = mjpeg.Mjpeg(name) for j in range(100): clock.tick() vid.add_frame(sensor.snapshot()) vid.close(clock.fps())