View Single Post
  #1   Spotlight this post!  
Unread Yesterday, 19:15
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,292
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Stream Camera and occasionally grab an image

Here is the setup:

USB Camera on a Raspberry Pi.

We grab a picture from the camera, and send it onto the Driver Station.
Occasionally, we use the image for targeting purposes.

I think the problem is: The image is decompressed, and the re-compressed for sending onto the Driver Station. That takes CPU, and we can only do about 5 fps.

Is there a way to directly send the compressed stream from the Camera to the Driver Station, and occasionally grab an image from the Stream.

I believe we are using OpenCV and Java.

Thanks
__________________

Reply With Quote