Skip to content

afiffadhlurrahman/Modul-Magang-Bayucaraka

Repository files navigation

Install Python-Opencv

Prerequisites

  • python 3
  • numpy
  • matplotlib

About OpenCV

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. Being a BSD-licensed product, OpenCV makes it easy for businesses to utilize and modify the code. (https://opencv.org/about)

For Windows

python -m pip install --upgrade pip
pip install matplotlib
pip install opencv-python

For Linux

sudo apt update
sudo apt install python3-opencv

Check

python3

Output

Python 3.6.9 (default, Nov  7 2019, 10:44:02) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 

Input again

>>> import cv2
>>> cv2.__version__

Output

'3.2.0'

*note : example version of opencv

For Mac

https://www.pyimagesearch.com/2018/08/17/install-opencv-4-on-macos/

Example Image

idn1

Resources

About

Modul Magang Bayucaraka

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages