View Single Post
  #5   Spotlight this post!  
Unread 12-02-2017, 16:07
Lesafian Lesafian is offline
Registered User
AKA: Jeremy Styma
FRC #6077 (Wiking Kujon)
Team Role: Programmer
 
Join Date: Feb 2016
Rookie Year: 2016
Location: Posen, Michigan
Posts: 42
Lesafian is an unknown quantity at this point
Re: Vision Processing ERROR: too many simultaneous streams

Quote:
Originally Posted by jwatson12 View Post
Running into similar issue with two webcams. Rebooted Roborio with cams connected. Still get the same issue. How was this issue resolved?

Thanks

After hours and hours of frustration, I believe the error occurs when either A) a frame is outputted at the same time, a cvSink grabs the same frame at the same time, or the CvSource does not output a new image.

If you're using a boolean to switch between camera streams in a thread, using a volatile boolean will prevent the thread from caching the original state of the boolean in order to save memory.

Could I see your source code?

(P.S, these are just my observations)
Reply With Quote