How To Install OpenCV-Python in Fedora

Hello Everyone,In this tutorial we will learn to setup OpenCV-Python in  Fedora operating system. We have tested this tutorial in Fedora 18 (64-bit) and Fedora 19 (32-bit). Basically, There are two ways to install OpenCV-Python in Fedora but here we will install it using relatively easy method.

1) Install  OpenCV-Python from Pre-built Binaries

Install all packages with the command blow in terminal.

$ yum install numpy opencv*

Now, it’s time to test whether it has been installed properly or not. Open Python IDLE (or IPython) and type the codes in Python terminal.

>>> import cv2
>>> print cv2.__version__

If there are no errors then  OpenCV-Pythons is installed properly.