I am trying to create a Motion capture program on mac Visual Studio Code and the following code:
from imutils.video import VideoStream
import cv2 ## also tried from cv2 import cv2
...
gave me the following error:
Traceback (most recent call last):
File "/-------/--------/MotionCapture/index.py", line 3, in <module>
from cv2 import cv2
ImportError: No module named cv2
how can i fix this? also yes i do have all of the modules installed