Open ZengXinLei opened 1 year ago
Do not use print, you got lag, use timeit :)
import timeit
res = timeit.repeat(lambda: camera.get_latest_frame(), repeat=10, number=1)
print(res)
@lucasmonstro My fps is 16, Too slow. I have used your bench code.
@vipcxj did you use video_mode?
@lucasmonstro I use the method without any argument. If the video_mode is the default mode, then I use it.
I'm using this, nice!
This is my code
output
And that's a good thing