Cond Instal OpenCV
conda install -c conda-forge opencv
Dark Duck
conda install -c conda-forge opencv
pip install opencv-python
pip install opencv-contrib-python
#Basic package
pip install opencv-python
#Full package
pip install opencv-contrib-python
sudo pip3 install opencv-contrib-python
sudo apt-get install libopencv-dev # ubuntu c++
download required packages from below link:
https://docs.opencv.org/4.0.1/d7/d9f/tutorial_linux_install.html
NOTE: you can download required packages by "sudo apt-get install <packages>" or
download source code by git using above link
tags: ubuntu, c++, opencv 4 version
#pip install opencv-python in cmd/bash
import cv2