Thread: MJPG lag OpenCV
View Single Post
  #8   Spotlight this post!  
Unread 05-03-2014, 08:04
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

To summarize why I think you had 10 seconds of lag, it was because your code requested the camera send more images into the processing code than it was able to consume. This caused the images to sit in the buffer and age. You had 10 seconds of aged packets sitting in the buffer. If you change processing, you may need to change the camera rate.

Do you have enough info to solve your problem?

Greg McKaskle