Web-Cam INterfacing With BeagleBoard

Hello.I am a student in India,I need to capture an image using a web
cam and obtain its RGB values.Can Anyone please tell me.

-If i can do it on angstrom or embeded ubuntu for arm processors
-And which packages to use.
-Even the kind of web cam comatible with BB and how i could find the
drivers.

If you have a Beagleboard xm, you can buy the VGA camera from this link and plug it directly into the CAM port
https://www.leopardimaging.com/Beagle_Board_xM_Camera.html

I know there is a driver you can download on the Angstrom website. I haven't tried Ubuntu yet...but I'm sure its just fine too.

One option is to use OpenCV for your image processing.

Thanks a lot jake.

---I was looking to use a logitech USB webcam.So i was looking for
drivers.
   I am not able to open pictures in my angstrom.I tried downloading a
couple of packages but in vain.
   can you tell me how to open and view pictures in angstrom?

---I Enabled serial communication of my logitech webcam by registering
the product and vendor ID using 'modprob' but when i am trying to
access the webcam through openCV it is showing the following error.

root@beagleboard:~/Desktop# gcc `pkg-config --cflags --libs opencv` -o
ppp ppp.c
/usr/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-
linux-gnueabi/bin/ld:
cannot find -lopencv_highgui
collect2: ld returned 1 exit status

here ppp.c is a c program i found on the net to command a webcam to
start and display output.

You will need to install the libopencv-dev and lib-highgui-dev packages to resolve that error. (these are the ubuntu package names, may not be the same for Angstrom)

Be sure to update us if you get this working! Im trying to get this working right now under ubuntu, but the compilation is failing when it tries to link the program.

I have already installed both the packages for angstrom.The error
persists !!

secondly am still facing this problem--
I am not able to open pictures in my angstrom.I tried downloading a
couple of packages but in vain.
   can you tell me how to open and view pictures in angstrom using
openCV or any other package?

Do you get the same results as below from these commands?

$ pkg-config --cflags opencv
-I/where/you/have/installed/opencv/include/opencv
$ pkg-config --libs opencv
-L/where/you/have/installed/opencv/lib -lcxcore -lcv -lhighgui -lcvaux

http://opencv.willowgarage.com/wiki/CompileOpenCVUsingLinux