[beagleboard] Beagle Board - OpenCV - DSP

Hi! I Installed Linux 10.10 (network version in a SD Card 2GB) on my Beagle
Board and I'd like know how is it possible use OpenCV on it.

sudo apt-get install libcv-dev

should get you what you want, more here:
http://packages.ubuntu.com/source/maverick/opencv

1) Is there a simple tutorial online?
2) I saw that it's possible use the Beagle Board's DSP for the OpenCV, how
can I do it?

At this time not really, but that would be a good summer project, are
you interested?

Regards,

I have another problem :slight_smile:
After I install the OpenCV I connected my USB WebCam to the
BeagleBoard and the BeagleBoard recognize it with this message:

[13751.735961] usb 1-2.4: new full speed USB device using ehci-omap
and address 15
[13751.857849] gspca: probing 0c45:613c
[13751.858489] sonixj: Sonix chip id: 12
[13751.859558] input: sonixj as
/devices/platform/ehci-omap.0/usb1/1-2/1-2.4/input/input13
[13751.860870] gspca: video0 created
[13751.860900] gspca: found int in endpoint: 0x83, buffer_len=1,
interval=100

unfortunately when I open Cheese, the immage that show the video is
completly black.
I had think that the problem was the alimentation but changing it, the
result is the same.

At this time not really, but that would be a good summer project, are
you interested?

Yes, I'm interested. Can you give me more information about it?

Thanks a lot,

Diana

I have another problem :slight_smile:
After I install the OpenCV I connected my USB WebCam to the
BeagleBoard and the BeagleBoard recognize it with this message:

[13751.735961] usb 1-2.4: new full speed USB device using ehci-omap
and address 15
[13751.857849] gspca: probing 0c45:613c
[13751.858489] sonixj: Sonix chip id: 12
[13751.859558] input: sonixj as
/devices/platform/ehci-omap.0/usb1/1-2/1-2.4/input/input13
[13751.860870] gspca: video0 created
[13751.860900] gspca: found int in endpoint: 0x83, buffer_len=1,
interval=100

unfortunately when I open Cheese, the immage that show the video is
completly black.
I had think that the problem was the alimentation but changing it, the
result is the same.

I haven't actually seen Cheese work. :wink:

You should have a /dev/video0 mplayer does a good job of using it..

At this time not really, but that would be a good summer project, are
you interested?

Yes, I'm interested. Can you give me more information about it?

There was a project last year that has since kind of stalled, that had
some success but could use new help..

http://code.google.com/p/opencv-dsp-acceleration/

Regards,

I installed mplayer, but the error is the same.
This is the error that shows when I write "dmesg" on term:

[ 3035.552459] gspca: bandwidth not wide enough - trying again
[ 3035.582489] gspca: found int in endpoint: 0x83, buffer_len=1,
interval=100
[ 3036.099151] gspca: found int in endpoint: 0x83, buffer_len=1,
interval=100
[ 3036.099182] gspca: bandwidth not wide enough - trying again
[ 3036.129211] gspca: found int in endpoint: 0x83, buffer_len=1,
interval=100
[ 3036.654113] gspca: found int in endpoint: 0x83, buffer_len=1,
interval=100
[ 3036.654174] gspca: bandwidth not wide enough - trying again
[ 3036.685211] gspca: found int in endpoint: 0x83, buffer_len=1,
interval=100
[ 3037.208862] gspca: found int in endpoint: 0x83, buffer_len=1,
interval=100
[ 3037.208892] gspca: bandwidth not wide enough - trying again
[ 3037.238739] gspca: found int in endpoint: 0x83, buffer_len=1,
interval=100
[ 3037.763610] gspca: found int in endpoint: 0x83, buffer_len=1,
interval=100
[ 3037.763641] gspca: bandwidth not wide enough - trying again
[ 3037.793395] gspca: found int in endpoint: 0x83, buffer_len=1,
interval=100
[ 3038.318206] gspca: found int in endpoint: 0x83, buffer_len=1,
interval=100
[ 3038.318267] gspca: bandwidth not wide enough - trying again
[ 3038.348236] gspca: found int in endpoint: 0x83, buffer_len=1,
interval=100
[ 3045.730957] gspca: found int in endpoint: 0x83, buffer_len=1,
interval=100

Have you an idea what this is?

Regards,

Diana

[ 3038.318267] gspca: bandwidth not wide enough - trying again
Have you an idea what this is?

Yeap.. "bandwidth not wide enough - trying again" , sounds like you
have too many devices on the usb bus..

Make sure your connected to the ehci hub and you don't have a lot of
high bandwidth devices on it..

Regards,

I have a BeagleBoard xM which has four usb ports and I'm using
external power supply.
I have try to invert the usb port betweent the other dispositives
(mouse and keyboard) but nothing.
And I have try to use only one usb port with the web cam and take away
the other dispositives, but nothing.

What is the problem?

Regards,

Diana

It might just be futile with the gpsca driver then, specially with
only 2 true usb ports on the beagle....

If your running out of bandwidth on the ehci, can you move the camera
to the otg port?

omap_ehci -> smsc95xx -> network
                                   -> hub port 0 -> keyboard
                                   -> hub port 1 -> mouse
                                   -> hub port 2 -> camera
                                   -> hub port 3 -> empty
omap_musb -> otg port -> empty?

I'd try a different camera, non gpsca..

Regards,

I tried with the otg port and
I tried to change four different camera...

Nothing :frowning:

Hey Artemide,

I'm interested in the OpenCV project after reading about it a lil from
the given website and reading these posts. Are you considering
helping out? Have you contacted the project leader at all?

Thanks.

-V

Hi Naveen,
I'm a university researcher and in this moment we are studing the
Beagle Board for facedetection, facerecognition and other application.
We have some problem about the using of the webcam and about the using
of the DSP.

Are you considering helping out?

Why no? :slight_smile:

Regards,

Diana

You might try Angstrom with gnome gui. It likes gspca and UVC
webcams.