I have installed the cv2 package, via command prompt with pip install opencv-python
command, & it installed successfully. But when I tried the following code, it didn't recognized the VideoCapture()
object. Can anyone help me?
import cv2
capture = cv2.VideoCapture(0)
When runs, it gives the following error:
ImportError: DLL load failed while importing cv2: The specified module could not be found.