Closed vasulg closed 5 years ago
Check if latest commit fixes this issue.
I get this error while running blinky_webcam.py in ubuntu, (image:5098): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(image:5098): GLib-GObject-CRITICAL : g_object_unref: assertion 'G_IS_OBJECT (object)' failed /usr/local/lib/python2.7/dist-packages/numpy/core/fromnumeric.py:2889: RuntimeWarning: Mean of empty slice. out=out, kwargs) /usr/local/lib/python2.7/dist-packages/numpy/core/_methods.py:80: RuntimeWarning: invalid value encountered in double_scalars ret = ret.dtype.type(ret / rcount) [ERR] Failed to get blinks: 'NoneType' object is not iterable
Most likely the camera is not working. Can you see camera feed in other applications such as cheese?
Sent from handheld device, pardon my brevity.
Sent from BlueMail
On 12 Apr 2017, 6:58 PM, at 6:58 PM, safruk notifications@github.com wrote:
I get this error while running blinky_webcam.py in ubuntu,I am getting this error (image:5098): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(image:5098): GLib-GObject-CRITICAL : g_object_unref: assertion 'G_IS_OBJECT (object)' failed /usr/local/lib/python2.7/dist-packages/numpy/core/fromnumeric.py:2889: RuntimeWarning: Mean of empty slice. out=out, kwargs) /usr/local/lib/python2.7/dist-packages/numpy/core/_methods.py:80: RuntimeWarning: invalid value encountered in double_scalars ret = ret.dtype.type(ret / rcount) [ERR] Failed to get blinks: 'NoneType' object is not iterable
-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/dilawar/eye-blink-detector/issues/5#issuecomment-293575831
The camera is working fine. Cheese as well as when I use cv2 functions in my other programs
No activity. I guess I did not follow up on it.
when i try to execute blinky_webcam.py in ubuntu, I am getting this error [WARN] failed to get FPS. Setting to 15 [ERR] Failed to get blinks: fileno