|
Re: Vision Processing - Questions
The camera drivers or IP cameras may indeed send more images than you asked for. The LabVIEW WPILib implementation consumes all of those images and hands the use code the latest when they ask for it. If you want to process 10 per second, it takes in 15 and hands out ten. This avoids introducing lag. I'm not sure if WPILib does this for other languages.
As for the processor comparison. I used the wikipedia page for "instructions per second" and looked up Cortex A9. I divided by two to adjust for the processor speed. Then I looked up PI 2 and adjusted for the number of cores I thought it had. I'll be honest, I don't have a PI and thought it had two cores and didn't verify my assumption. Even with that math, the ratio is less than 2 to 1, so I shouldn't have said "many times faster".
I still think that the OP will be well served by looking at the examples and trying things on a single computer, single language, and doing the control using additional sensors. If they then feel the need to elaborate the system with two of everything, they are better prepared for the journey.
Greg McKaskle
|