Closed GoogleCodeExporter closed 8 years ago
Hello,
the compression is usually implemented in the camera itself, so the USB
bandwidth is saved. Linuxtrack doesn't handle this directly, it accesses the
webcam through libv4l, that should handle differences between
requested/supported formats transparently to the application/user.
That said, using the jpeg format *might* impact the tracking precision, by
introducing artifacts to the image so I'd incline to using uncompressed images
(although there is a problem with bandwidth).
Is there a reason for you to need the jpeg format?
Kind regards,
Michal
Original comment by f.jo...@email.cz
on 3 May 2013 at 7:24
[deleted comment]
Michal,
many thanks for your prompt response,
How can one request jpeg directly from PS3 eye camera?
ie using say libv4l**
Raspberry pi processor and others similar are not capable of compressing more
than ~4 frames per second
**$ v4l2-ctl --list-formats
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'YUYV'
Name : YUYV
ie no jpeg is listed as supported??
yet Sony seem to suggest on chip compression available....
Original comment by j...@peepo.com
on 3 May 2013 at 8:42
Hi,
I'd try to use guvcview - it should show you what formats are available...
Just out of curiosity - you are going to run linuxtrack on Raspberry Pi?
Kind regards,
Michal
Original comment by f.jo...@email.cz
on 3 May 2013 at 9:57
guvcview does not list jpeg as an option...
baby steps, need to access jpeg first...
Original comment by j...@peepo.com
on 3 May 2013 at 10:20
What pixelformats does the guvcview report (when run in terminal)?
Also command 'sudo lsusb -v -d XXXX:XXXX', where XXXX:XXXX is the ID of the
device (obtained by 'lsusb' command) will show you all the descriptors - it
contains all informations on the device...
If the MJPG fourcc is mentioned (this is the one that my old Creative Live!
webcam knows), you have a chance, otherwise you are going to need to use
different webcam.
Kind regards,
Michal
Original comment by f.jo...@email.cz
on 3 May 2013 at 6:49
Linuxtrack uses libv4l and its conversion abilities, that silently does what is
necessary to get the desired data format (YUYV, RGB, ...).
Original comment by f.jo...@email.cz
on 12 Jul 2013 at 12:57
Original issue reported on code.google.com by
j...@peepo.com
on 2 May 2013 at 11:59