python opencv | Sololearn: Learn to code for FREE!

0

python opencv

when i run an opencv code i get " unknown c++ exception from opencv code " how can i solve it ??

9/19/2021 1:23:46 PM

Ali

13 Answers

New Answer

0

Where do you run this code try pycharm

0

i run it in vs code

0

I have never used that before but i would rather use pycharm

0

i dont think the problem be solved with changing the IDL

0

Just try itit worked for me why not you

0

every thing is ok . but cant run webcam with opencv and get error

0

Yeah me too it depends which operating system do you use

0

whats that means???

0

this is the code

0

By chance do you use chromebook If so try using external webcam

0

thx

0

im new to python is it fun

-2

import cv2 cap = cv2.VideoCapture(0) while True: ret, img = cap.read() cv2.imshow('cum', img) if cv2.waitKey(10) & 0xFF == ord('q'): break cap.release() cv2.destroyAllWindows()