I think you should install opencv-contrib-python instead. The module you’re using is not support in opencv-python. See opencv-contrib-python.
To install:
pip install opencv-contrib-python
More Related Contents:
- DLL load failed error when importing cv2
- Capturing video from two cameras in OpenCV at once
- Opening web camera in Google Colab
- Detect and visualize differences between two images with OpenCV Python
- Error (-215) size.width>0 && size.height>0 occurred when attempting to display an image using OpenCV
- Convert RGB to black OR white
- Using OpenCV with Tkinter
- Detect text area in an image using python and opencv
- Accessing OpenCV CUDA Functions from Python (No PyCUDA)
- OpenCV TypeError: Expected cv::UMat for argument ‘src’ – What is this?
- Read a base 64 encoded image from memory using OpenCv python library
- Listing available devices in python-opencv
- error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support
- Face detection throws error: !empty() in function cv::CascadeClassifier::detectMultiScale
- Is there a build-in function to do skeletonization?
- Displaying a webcam feed using OpenCV and Python
- Combining Two Images with OpenCV
- OpenCV v1/v2 error: the function is not implemented
- How to properly use cv2.findContours() on opencv version 4.4.0.?
- How can I upgrade NumPy?
- Is Laplacian of Gaussian for blob detection or for edge detection?
- OpenCV – Saving images to a particular folder of choice
- Perspective correction in OpenCV using python
- Stroke Width Transform (SWT) implementation (Python)
- Automatic White Balancing with Grayworld assumption
- Cannot open “.mp4” video files using OpenCV 2.4.3, Python 2.7 in Windows 7 machine
- C++ conversion from NumPy array to Mat (OpenCV)
- How to connect broken lines in a binary image using Python/Opencv
- How to use `cv2.imshow` correctly for the float image returned by `cv2.distanceTransform`?
- imshow doesn’t need convert from BGR to RGB