Thread: MJPG lag OpenCV
View Single Post
  #10   Spotlight this post!  
Unread 05-03-2014, 12:28
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: MJPG lag OpenCV

Can you explain the lag you were seeing? Do you know how to fix it?

If so, you can ignore the rest of my post.

I'm not sure what you mean by "maxxed out at 15fps". My fundamental question is still -- How many images was the camera acquiring and sending to the processing device, and how many images were being processed in a second?

I think you'll find that you were acquiring more images than you were processing. That leads to buffered images which we interpret as lag because the images being presented are old ones from many seconds ago. Do you have a different explanation for the lag?

Greg McKaskle

Last edited by Greg McKaskle : 05-03-2014 at 12:29. Reason: small clarification