Downloading and installing OpenCV – a fully featured vision library
Now that you have your camera connected, you can begin to access some amazing capabilities that have been provided by the open source community. Open a terminal window and type the following commands:
sudo apt-get update
: You're going to download a number of new software packages, so it is good to make sure that everything is up to date.sudo apt-get install build-essential
: Although you may have done this earlier, this library is essential to build OpenCV.sudo apt-get install libavformat-dev
: This library provides a way to code and decode audio and video streams.sudo apt-get install ffmpeg
: This library provides a way to transcode audio and video streams.sudo apt-get install libcv2.4 ...
Get Raspberry Pi: Amazing Projects from Scratch now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.