opencv install 4.2 from source code example
Example 1: install opencv
pip install opencv-python
Example 2: install opencv
#pip install opencv-python in cmd/bash
import cv2
pip install opencv-python
#pip install opencv-python in cmd/bash
import cv2