OpenCV (Open Source Computer Vision Library) is an open source computer vision and machine learning software library. OpenCV was built to provide a common infrastructure for computer vision applications and to accelerate the use of machine perception in the commercial products. OpenCV is released under BSD-license.
The library itself has more than 2500 optimized algorithms, which includes a comprehensive set of both classic and state-of-the-art computer vision and machine learning algorithms. These algorithms can be used to detect and recognize faces, identify objects, classify human actions in videos, track camera movements, track moving objects, extract 3D models of objects, product 3D point clouds from stereo cameras, etc.
OpenCV has C++, C, Python, and Java interface. In this article we will discuss about how to install OpenCV on linux, specifically Slackware64 14.0. In this article we will use:
- Slackware64 14.0
- git client
Make sure you have them all for this article.
Now download the source from git by using:
git clone https://github.com/Itseez/opencv.git
After that do following:
cd opencv mkdir release cd release cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..
Then we compile and install it.
make make install
At this point we have install OpenCV. Congratulations 😀opencv, slackware