![]() ![]() Moving to WVGA format (which is 854x480), I finally got the consistent 30 frames per second I was looking for, but the video quality left a lot to be desired, and for image recognition, the more pixels the better. I scaled back to 720p and saw some improvement to 14 frames per second, but this was still not worthwhile. When I went and looked at the results, I was getting about 6.6 frames per second, resulting in choppy and unusable video for streaming our lab or doing 3D object creation. Using ffmpeg to capture video from the USB webcam to an AVI file had poor results – the Raspberry Pi would hit about 50% cpu usage and had no hope of capturing 1080p video at a reasonable 30 frames per second. While the Raspberry Pi comes with some software built in for capturing video like Streamer, I chose to go down a different path and work to utilize FFmpeg, which has a wide community following and a lot of options for different encoders, giving me flexibility and a ton of examples to get started from. Initially, I was just researching everything I could regarding video capture and settled on trying to work with a USB webcam I had on hand, the Logitech C920, as well as trying to implement the NoIR Pi Camera that we had used in our Fridge Defender project. ![]() If I could get this little single board computer to perform these tasks it would really free up more powerful machines, plus it would be a cool demo, but I was wondering if the board really had the horsepower to pull it off. These are both fun projects, and since we had a bunch of Raspberry Pi 3’s on hand, I decided to use one and see if I could make it capture a bunch of video feeds or turn it into an effective streaming device so I didn’t have to kidnap our video guy’s more powerful laptop. Embedded System Development Boards and Kits
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |