View Single Post
  #1   Spotlight this post!  
Unread 26-01-2017, 15:21
phurley67 phurley67 is online now
Programming Mentor
FRC #0862 (Lightning Robotics)
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Michigan
Posts: 73
phurley67 is an unknown quantity at this point
RaspberryPI (and ODroid) opencv frame rate

I have a very simple C++/OpenCV program in the body I have the following code which works fine, but runs slower than I would expect, it takes ~85ms to get a frame from the camera.

Code:
        
        for (int i = 0; i < frame_count; ++i) {
                // capture >> frame;   // runs the same regardless of which call
                capture.read(frame);
        }
Anyone know what I can do differently to get this running faster?
Reply With Quote