pupil-labs / pyv4l2 Goto Github PK
View Code? Open in Web Editor NEWcython powered bindings for v4l2 capture
License: MIT License
cython powered bindings for v4l2 capture
License: MIT License
Hi,
I've downloaded this module in odroid xu4 of ubuntu 16 with kernel 3.10. I'm not able to install this module in python2.7. My error is: arm-linux-gnueabhif-gcc failed with exit status 1.
Thanks for help.
PRNV7
EYE0 Process [WARNING] video_capture : Found ['Microsoft\xc2\xae LifeCam HD-5000'] as devices that match the src string pattern Using the first match.
WORLD Process [WARNING] video_capture : Found ['HD Webcam C615'] as devices that match the src string pattern Using the first match.
Process Process-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/home/rafael/greserved/pupil-o/pupil_src/capture/eye.py", line 145, in eye
cap = autoCreateCapture(cap_src, cap_size, 30, timebase=g_pool.timebase)
File "/home/rafael/greserved/pupil-o/pupil_src/shared_modules/video_capture/__init__.py", line 79, in autoCreateCapture
cap = Camera_Capture(matching_devices[preferred_idx],filter_sizes(matching_devices[preferred_idx],size),fps,timebase)
File "/home/rafael/greserved/pupil-o/pupil_src/shared_modules/video_capture/linux_video/__init__.py", line 68, in __init__
self.capture = v4l2.Capture('/dev/video'+str(self.src_id))
File "v4l2.pyx", line 309, in v4l2.Capture.__init__ (v4l2.c:6480)
File "v4l2.pyx", line 690, in v4l2.Capture.transport_format.__set__ (v4l2.c:11939)
File "v4l2.pyx", line 578, in v4l2.Capture.set_format (v4l2.c:10074)
Exception: Could not set v4l2 format
Trying to cythonize the v4l2.pyx complains about not finding cmman and cselect. Are these custom made bindings that should be included in the repository? I can't find any references to such Cython libraries anywhere.
WORLD Process [WARNING] video_capture : Found ['UVC Camera (046d:0825)'] as devices that match the src string pattern Using the first match.
WORLD Process [WARNING] v4l2 : Could not get Frame on "/dev/video0". Trying 5 more times.
WORLD Process [WARNING] v4l2 : restarted capture device
WORLD Process [WARNING] v4l2 : Could not get Frame on "/dev/video0". Trying 4 more times.
WORLD Process [WARNING] v4l2 : restarted capture device
WORLD Process [WARNING] v4l2 : Could not get Frame on "/dev/video0". Trying 3 more times.
WORLD Process [WARNING] v4l2 : restarted capture device
WORLD Process [WARNING] v4l2 : Could not get Frame on "/dev/video0". Trying 2 more times.
WORLD Process [WARNING] v4l2 : restarted capture device
WORLD Process [WARNING] v4l2 : Could not get Frame on "/dev/video0". Trying 1 more times.
WORLD Process [WARNING] v4l2 : restarted capture device
WORLD Process [WARNING] v4l2 : Could not get Frame on "/dev/video0". Trying 0 more times.
WORLD Process [WARNING] v4l2 : restarted capture device
WORLD Process [ERROR] world : Could not retrieve image from capture
EYE0 Process [WARNING] video_capture : Found ['USB Camera-B4.09.24.1'] as devices that match the src string pattern Using the first match.
Process Process-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/home/rafael/greserved/pupil-o/pupil_src/capture/eye.py", line 145, in eye
cap = autoCreateCapture(cap_src, cap_size, 30, timebase=g_pool.timebase)
File "/home/rafael/greserved/pupil-o/pupil_src/shared_modules/video_capture/__init__.py", line 79, in autoCreateCapture
cap = Camera_Capture(matching_devices[preferred_idx],filter_sizes(matching_devices[preferred_idx],size),fps,timebase)
File "/home/rafael/greserved/pupil-o/pupil_src/shared_modules/video_capture/linux_video/__init__.py", line 71, in __init__
self.controls = self.capture.enum_controls()
File "v4l2.pyx", line 739, in v4l2.Capture.enum_controls (v4l2.c:12536)
KeyError: 6
EYE0 Process [WARNING] video_capture : Found ['Microsoft LifeCam VX-800'] as devices that match the src string pattern Using the first match.
WORLD Process [ERROR] video_capture : No device found that matched ['Logitech Camera', '(046d:081d)', 'C510', 'B525', 'C525', 'C615', 'C920', 'C930e']
EYE0 Process [WARNING] v4l2 : Could not get Frame on "/dev/video0". Trying 5 more times.
EYE0 Process [WARNING] v4l2 : restarted capture device
EYE0 Process [WARNING] v4l2 : Could not get Frame on "/dev/video0". Trying 4 more times.
EYE0 Process [WARNING] v4l2 : restarted capture device
EYE0 Process [WARNING] v4l2 : Could not get Frame on "/dev/video0". Trying 3 more times.
EYE0 Process [WARNING] v4l2 : restarted capture device
EYE0 Process [WARNING] v4l2 : Could not get Frame on "/dev/video0". Trying 2 more times.
EYE0 Process [WARNING] v4l2 : restarted capture device
EYE0 Process [WARNING] v4l2 : Could not get Frame on "/dev/video0". Trying 1 more times.
EYE0 Process [WARNING] v4l2 : restarted capture device
EYE0 Process [WARNING] v4l2 : Could not get Frame on "/dev/video0". Trying 0 more times.
EYE0 Process [WARNING] v4l2 : restarted capture device
EYE0 Process [ERROR] eye : Could not retrieve image from capture
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.