View Single Post
  #10   Spotlight this post!  
Unread 10-01-2014, 10:41
AverageGuy AverageGuy is offline
Registered User
AKA: Jim Lynch
FRC #4080 (Reboot)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Georgia
Posts: 4
AverageGuy is an unknown quantity at this point
Re: Raspberry Pi + Camera Module for Vision Processing

Quote:
Originally Posted by jmartin View Post
Using the signal mode of raspistill is something I hadn't thought of. That must be pretty slow though, since you have to wait for the image to be written out and then read it back in. I'm hoping to track the balls so I need a pretty high framerate (and as I mentioned, it looks like I'll have it), but for identifying when the goal is hot in autonomous mode, fetching images with raspistill is probably fast enough and easier to accomplish.
I don't know about writing but reading and processing a 552x91 image (10K file) took .4 seconds real time (.3 user). 552x91 is the approximate size of the rectangle of the goals. We haven't been able to measure the camera write time accurately, but I've been told it's less than 750 ms. Obviously for ball tracking that's not quick enough but as you say detecting hot mode is easily done.

Just curious, how are communicating back to the cRio/LabView?

Jim.