View Single Post
  #1   Spotlight this post!  
Unread 01-16-2016, 06:43 AM
jreneew2's Avatar
jreneew2 jreneew2 is offline
Alumni of Team 2053 Tigertronics
AKA: Drew Williams
FRC #2053 (TigerTronics)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Vestal, NY
Posts: 189
jreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura about
Corrupt jpg data when using OpenCv on roboRIO

Hello, we are trying to stream our usb camera image to a piece of open cv code on the robot using 2168's vision library and example code. We have everything compiled successfully and running, however when we try to grab a frame from the camera it says:

Code:
Corrupt Jpeg data: x extraneous bytes. 0.07 seconds to capture frame.
I have a feeling this is because we had the same issue before when trying to get the camera frame from two different places. However, I dont see this being an issue unless the smart dashboard is automatically trying to get the camera image.

GitHub repo: code

Thanks, Drew.
Reply With Quote