pip3 install opencv code example
Example 1: install opencv python
pip install opencv-python
pip install opencv-contrib-python
Example 2: pip install opencv
pip install opencv-python==4.2.0.34
pip install opencv-python
pip install opencv-contrib-python
pip install opencv-python==4.2.0.34