Ask Your Question

RDub's profile - activity

2014-11-25 16:41:16 -0500 received badge  Famous Question (source)
2013-06-18 02:41:44 -0500 received badge  Famous Question (source)
2013-06-06 14:42:10 -0500 received badge  Notable Question (source)
2013-06-05 11:53:01 -0500 received badge  Popular Question (source)
2013-05-25 13:06:46 -0500 asked a question /bin/sh: 1: lsof: not found

I'm trying to get an image from a webcam by using the SimpleCV shell on a Raspberry Pi.

Here is my attempt and the results:


from SimpleCV import Shell


SimpleCV:1> from SimpleCV import Camera, Display, Image

SimpleCV:2> cam = Camera()

/bin/sh: 1: lsof: not found

VIDIOC-QUERYMENU: Invalid argument (7 times)

select timeout

SimpleCV:3> select timeout

select timeout

select timeout

over and over again . . .

My questions are: 1) Is "/bin/sh: 1: lsof: not found" the problem?, or 2) Is "select timeout" the problem?

What can I do to solve the problem(s)?


2013-05-25 06:24:01 -0500 received badge  Notable Question (source)
2013-05-21 18:15:30 -0500 received badge  Popular Question (source)
2013-05-17 10:53:16 -0500 asked a question How to prevent my program from stopping?

My program tracks an orange traffic cone using a webcam. It does this inside a while loop ( while myDisplay.isNotDone(): ) It outputs the coordinates and area of the largest blob that it finds. When the orange cone moves out of the field of view of the webcam, the program stops running.

Can someone tell me how to keep the program running?


2013-04-25 17:29:16 -0500 received badge  Popular Question (source)
2013-04-23 14:15:41 -0500 commented question How to get pixel value at mouse position

Awesome. Thanks kscottz.

2013-04-23 14:14:53 -0500 received badge  Scholar (source)
2013-04-23 11:14:19 -0500 asked a question How to get pixel value at mouse position

I'm able to successfully capture images from a webcam. I want to print the pixel value wherever the mouse is pointing. I'm a newby and can't figure out how to do this. Can someone help? Thanks.