You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the following error.
I have installed imutils using pip install opencv-contrib-python as recommended by PyImageSearch
"C:\Users\USER\Desktop\Year 3\ObjectTracker\venv\Scripts\python.exe" "C:/Users/USER/Desktop/Year 3/ObjectTracker/objecttracker.py"
Traceback (most recent call last):
File "C:\Users\USER\Desktop\Year 3\ObjectTracker\objecttracker.py", line 2, in <module>
from imutils.video import VideoStream
File "C:\Users\USER\Desktop\Year 3\ObjectTracker\venv\lib\site-packages\imutils\__init__.py", line 8, in <module>
from .convenience import translate
File "C:\Users\USER\Desktop\Year 3\ObjectTracker\venv\lib\site-packages\imutils\convenience.py", line 6, in <module>
import cv2
ModuleNotFoundError: No module named 'cv2'
Activity
TuanBC commentedon May 29, 2022
I think you can try installing opencv-python too.
opencv-contrib-python is an extra package for extra features from opencv ^^