[Elinux-discuss] Fwd: select timeout error.
tinamuda at gmail.com
Sun Apr 3 20:38:08 UTC 2016
---------- Forwarded message ----------
From: "Tinashe Mudavanhu" <tinamuda at gmail.com>
Date: 28 Mar 2016 16:36
Subject: select timeout error.
To: "Adrian Rosebrock" <a.rosebrock at pyimagesearch.com>
I am getting a "select timeout" error when i run the following video
import numpy as np
cap = cv2.VideoCapture(0)
ret, frame = cap.read()
#Our operations on the frame come here
gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
#Display the resulting frame
if cv2.waitKey(1) & 0xFF == ord('q'):
#When everything is done, release the capture
When i stop the program with Ctrl C it is having a tracback at/to ret,
frame = cap.read(). I am running the program on BBB running Debian Wheezy.
Whats surprising is that the program is working fine on on my machine
running Ubuntu 14.04.
I've also noticed that people with Ras Pi with Rasbian Wheezy are facing
the same problem. Can you please assist me, i'm stuck.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Elinux-discuss