pip install opencv-python command code example
Example 1: install opencv python
pip install opencv-python
pip install opencv-contrib-python
Example 2: install opencv
#pip install opencv-python in cmd/bash
import cv2
pip install opencv-python
pip install opencv-contrib-python
#pip install opencv-python in cmd/bash
import cv2