DXcam
DXcam copied to clipboard
The speed is not ideal
This is my code
output
And that's a good thing
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.
Try this https://github.com/AI-M-BOT/DXcam/releases/tag/1.0
Try this https://github.com/AI-M-BOT/DXcam/releases/tag/1.0
I'm using this, nice!