To install OpenCV in Debain/Ubuntu systems:
- Go to the following link and save the bash script on your system: bash script
- Open your terminals and change directory to where the bash script is saved
- Run the bash script using sudo bash file_name.sh ; where file_name is the name by which you have saved the script
- It may take quite a bit of time to install all the dependencies, depending on your system
- Once the installation is finished start Python on the bash terminal and enter import cv2
- If the above statement executes then CONGRATUALTIONS you have successfully installed OpenCV


