Thursday, September 13, 2018

OpenCV: Illegal Instruction 4 when trying to instantiate VideoCapture with path

Leave a Comment

I have the following code:

cap = cv2.VideoCapture("/full/path/to/video.mp4") 

When I run it on MacOS 10.11.6 with Python 3.6 and 3.7, the program stops with the error message Process finished with exit code 132 (interrupted by signal 4: SIGILL). The path is valid (checked using os.path.isfile) and opening the webcam stream with VideoCapture(0) doesn't throw an error.

0 Answers

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment