Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23131

global cap_v4l.cpp:984 open VIDEOIO(V4L2): can't find camera device

$
0
0

I am using OpenCV for face recognition but while uploading on server pythonanywhere I encounter the error global cap_v4l.cpp:984 open VIDEOIO(V4L2): can't find camera device

def live_face_match():    cap = cv2.VideoCapture(0)    while True:        ret, frame = cap.read()        cv2.imshow('Camera Feed', frame)        if cv2.waitKey(1) & 0xFF == ord('q'):            break    cap.release()    cv2.destroyAllWindows()

Viewing all articles
Browse latest Browse all 23131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>