andreaschiavinato / python_grabber

Python tool to capture photo from camera and for doing simple image processing using DirectShow and OpenCV
MIT License
57 stars 27 forks source link

image capturing latency problem #11

Open simonyang0608 opened 3 years ago

simonyang0608 commented 3 years ago

hi, i use it, thanks, but the problem is that if i change the pixel clock of frame rate, the capturing latency has occured after the long time image capturing, do you know how to solve it?

jackson-57 commented 3 years ago

I seem to be having the same issue, while trying to adjust the average time per frame (to set the desired framerate). It starts off smooth, but the preview gets increasingly choppy after a few seconds.

edit: It might be related to the default renderer. When I move the window across two monitors, it goes black for a frame, and then the preview latency is back to normal (for a few seconds).