Wednesday, October 20, 2010

new camera

I chose a USB 400X digital microscope instead of a standard webcam for the new camera:

http://www.dealextreme.com/details.dx/sku.41844~r.27613104

I saw some sites refer to this as the "Oasis UMO19 MCU003". This is a US2.0 device and also supports multiple Isochronous streaming video endpoints, AND is a UVC device:
http://randomprojects.org/wiki/Oasis_UMO19_MCU003_USB_microscope

Here's someone's evaluation of this camera:
http://www.stealthcopter.com/blog/2010/09/photos-with-my-new-usb-microscope-20x-400x-1-3mp-digital-microscope/

In order to sample from both simultaneously, I had to enable the quirks module option - I made this happen automatically at boot time by adding a file called /etc/modprobe.d/uvcvideo.conf with the following line:
options uvcvideo quirks=0x80

Also, I couldn't stream from both cameras simultaneously at 640x480 30 frames/sec - I had to drop the frame size down to 352x288 in order to avoid the "Unable to start capture: No space left on device"

One other note - by default, this camera would automatically throttle the framerate depending on the lighting. For example, in dark lighting I'd only get about 6 frames/sec.

I toggled the "Exposure, Auto Priority" switch in GUVCVideo, and it turned off this "feature". And, it looks to be persistent - even after unplugging/rebooting, the camera still now does about 30 frames/sec regardless of lighting.

For reference, here's some more info about this camera:
$ udevadm info -q all -n /dev/video0
P: /devices/platform/ehci-omap.0/usb1/1-2/1-2.5/1-2.5:1.0/video4linux/video0
N: video0
S: char/81:0
S: v4l/by-id/usb-Vimicro_Co._ltd_Vimicro_USB2.0_UVC_PC_Camera-video-index0
S: v4l/by-path/platform-ehci-omap.0-usb-0:2.5:1.0-video-index0
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/ehci-omap.0/usb1/1-2/1-2.5/1-2.5:1.0/video4linux/video0
E: MAJOR=81
E: MINOR=0
E: DEVNAME=/dev/video0
E: SUBSYSTEM=video4linux
E: ID_V4L_VERSION=2
E: ID_V4L_PRODUCT=Vimicro USB2.0 UVC PC Camera
E: ID_V4L_CAPABILITIES=:capture:
E: ID_VENDOR=Vimicro_Co._ltd
E: ID_VENDOR_ENC=Vimicro\x20Co.\x2cltd
E: ID_VENDOR_ID=0ac8
E: ID_MODEL=Vimicro_USB2.0_UVC_PC_Camera
E: ID_MODEL_ENC=Vimicro\x20USB2.0\x20UVC\x20PC\x20Camera
E: ID_MODEL_ID=3610
E: ID_REVISION=0100
E: ID_SERIAL=Vimicro_Co._ltd_Vimicro_USB2.0_UVC_PC_Camera
E: ID_TYPE=video
E: ID_BUS=usb
E: ID_USB_INTERFACES=:0e0100:0e0200:
E: ID_USB_INTERFACE_NUM=00
E: ID_USB_DRIVER=uvcvideo
E: ID_PATH=platform-ehci-omap.0-usb-0:2.5:1.0
E: ACL_MANAGE=1
E: DEVLINKS=/dev/char/81:0 /dev/v4l/by-id/usb-Vimicro_Co._ltd_Vimicro_USB2.0_UVC_PC_Camera-video-index0 /dev/v4l/by-path/platform-ehci-omap.0-usb-0:2.5:1.0-video-index0


No comments:

Post a Comment