To work with OpenCV from python, you need to install it first:
pip install opencv-python
After we import cv2 we can directly work with images like so:
import cv2 img = cv2.imread("doc_brown.png")
The Adventures of Dash Daring in Code & Music & Business
To work with OpenCV from python, you need to install it first:
pip install opencv-python
After we import cv2 we can directly work with images like so:
import cv2 img = cv2.imread("doc_brown.png")