How-to articles, tricks, and solutions about OPENCV
Cannot find module cv2 when using OpenCV
The error message "Cannot find module cv2" usually indicates that the OpenCV library is not installed on your system, or that Python is unable to find the library.
How to crop an image in OpenCV using Python
You can use the cv2.imread() function to read an image into memory, and then use the cv2.rectangle() function to draw a rectangle around the region you want to crop.