pip install version of open cv code example
Example 1: install opencv python
pip install opencv-python
pip install opencv-contrib-python
Example 2: windows python install opencv
pip install opencv-python
pip install opencv-python
pip install opencv-contrib-python
pip install opencv-python