cv2 install\ code example
Example 1: open cv install pip
pip install opencv-python
Example 2: install opencv python
pip install opencv-python
pip install opencv-contrib-python
Example 3: install opencv
sudo pip3 install opencv-contrib-python
Example 4: download cv2
pip3 install opencv-python for mac