View Single Post
  #1   Spotlight this post!  
Unread 07-02-2015, 18:25
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Program crashing when grabbing USB Camera frame + misc comm issues

Quote:
Originally Posted by bob.wolff68 View Post
In the case of wanting it on the smartdashboard - that can be accomplished by adding the video pane to the smartdashboard directly. I think this is in the menus or it is a right-click on the dashboard to add it. No programming necessary.

bob
This is not true for the USB camera. You need code to forward the image.

OP, you should check to make sure that you are actually getting a non-null image of non-zero size back from your call to GetImage. If you are calling GetImage every 20ms that's 50FPS which the camera can't provide, I haven't played with this enough to know if that's why your having an issue, but it would be my first suspicion.
Reply With Quote