CV on Raspberry Pi

OpenCV is a pain.  I guess I’m just being a dolt, but I can’t get it working.

I want to run a piece of software on my pi that will run my slow photo booth at the upcoming Edinburgh mini maker faire.

SimpleCV – http://www.raspberrypi.org/phpBB3/viewtopic.php?t=36348&p=305689

Issue with getting lots of VIDIOC_QUERYMENU: Invalid argument and then a bunch of “Select Timeout” messages:

from http://www.raspberrypi.org/phpBB3/viewtopic.php?f=37&t=11745:

You can not edit the binary uvcvideo.ko file directly. I advise not trying to compile it yourself. It’s not worth the struggle. You can try various options temporarily on the fly. Attach your webcam, the driver module should be loaded and shown by

CODE: SELECT ALL
lsmod

. Then you unload the module using

CODE: SELECT ALL
rmmod uvcvideo

. Afterwards you can reload the module with something like

CODE: SELECT ALL
modprobe uvcvideo nodrop=1 timeout=5000

. Fiddle around with the settings.
You can make a set of parameters permanent by editing the file /etc/modprobe.d/modprobe.conf . For the above settings, simply add a line saying

CODE: SELECT ALL
[code]uvcvideo nodrop=1 timeout=5000[/code]

.

 

Leave a Reply

Your email address will not be published. Required fields are marked *