Delay in capture
in
Core Library Questions
•
1 month ago
I try capturing images from a webcam by using Capture. However, whenever I read a frame, the frame is always between 50 and 200ms delayed.
For example, if I capture a projection (generated by processing) of increasing numbers and do video.read() at 50, I will get a frame which shows number 48 or something. In other words, the frame is a little bit behind.
Now if the delay were constant, there would be no problem. I could just anticipate on a fixed amount of delay. Unfortunately, the delay is quite random, which is annoying.
Does anyone have a solution to the delay in capturing?
For example, if I capture a projection (generated by processing) of increasing numbers and do video.read() at 50, I will get a frame which shows number 48 or something. In other words, the frame is a little bit behind.
Now if the delay were constant, there would be no problem. I could just anticipate on a fixed amount of delay. Unfortunately, the delay is quite random, which is annoying.
Does anyone have a solution to the delay in capturing?
1