Downloading and installing OpenCV – a fully featured vision library
Now that you have your camera connected, you can access the 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 better to make sure that everything is up to date.sudo apt-get install build-essential
: Although, you may have done this earlier, the library is essential for building OpenCV.sudo apt-get install libavformat-dev
: This library provides a way to code and decode the audio and video streams.sudo apt-get install ffmpeg
: This library provides a way to transcode the audio and video streams.sudo apt-get install libcv2.4 libcvaux2.4 libhighgui2.4
: This command shows the basic OpenCV libraries. Note the number in the command. This will almost certainly change as the newer versions of OpenCV become available. If2.4
does not work, then either try3.0
or...