DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C (http://www.daniweb.com/forums/forum118.html)
-   -   USB webcam support in C(running under LINUX) (http://www.daniweb.com/forums/thread63665.html)

Marks256 Dec 2nd, 2006 10:43 pm
USB webcam support in C(running under LINUX)
 
Ok, i am just starting out in C. This isn't my first programming language, though(i don't mean to brag, but i am a BASIC master), so i know quite a bit about computer architecture, and all that good stuff.

The project i am designing is a robot with stereo vision. I chose to learn C because, well, after looking at some of the code, i fell in love, and i chose Linux as my OS because of it's power.

I need to figure of how to get pictures from the two cams on my USB ports. I was told on another forum that there were libraries for USB Webcams, but i cant find any. Does anyone know where there is some? If so, please point me in that direction.

Sure, there is NOT A CHANCE that i will really understand the code, but it will get me started.:lol:


THANKS!!!

-Dusty

John A Dec 2nd, 2006 10:57 pm
Re: USB webcam support in C(running under LINUX)
 
You mean something like this?
http://www.neurotechnologija.com/vl_sdk.html

Sorry, I don't know of any free ones.

Marks256 Dec 3rd, 2006 1:46 am
Re: USB webcam support in C(running under LINUX)
 
Your link didn't work :( Oh well. An SDK would be nice... How much did it cost? Anybody else(free would be awesome, but i am not too pickey as of right now)... :p

Salem Dec 3rd, 2006 5:26 am
Re: USB webcam support in C(running under LINUX)
 
http://clusty.com/search?query=linux+webcam+howto
Use the "howto" keyword when searching for a lot of Linux information.

Marks256 Dec 3rd, 2006 11:28 am
Re: USB webcam support in C(running under LINUX)
 
All of the links that i came up with showed how to gain webcam support in linux, not how to program it. Thanks for the contribution, though.

Salem Dec 3rd, 2006 1:07 pm
Re: USB webcam support in C(running under LINUX)
 
Hmpf, obviously not reading enough.

1st link.
"4. Framegrabbing Applications"
Follow some more links, download some source code, visit their homepages and start reading.

Marks256 Dec 3rd, 2006 10:11 pm
Re: USB webcam support in C(running under LINUX)
 
I am not really sure what is that i am looking for, so i am not sure what i will find. Thank you for pointing that out, but i am still learning, so ease off.

niek_e Dec 4th, 2006 2:53 am
Re: USB webcam support in C(running under LINUX)
 
I think OpenCV is what your looking for, it's free, windows/linux and has a imagerecognition.

Regards Niek

Marks256 Dec 8th, 2006 7:58 pm
Re: USB webcam support in C(running under LINUX)
 
Thank you. I am going to try to download it now. Once my cameras come(ebay), i will start playing around with it.

arydberg Dec 12th, 2006 10:31 am
Re: USB webcam support in C(running under LINUX)
 
I am trying to do the same thing and it is difficult. the following may help.

1) I sugest you stay away from windows and use command line only.

2) Be aware that C is ment for all computers. Thus if you wnat to do somthing limitted to your machiene, like light up one pixel ( or display a whole screen) you will need a library to do that I suggest svaglib.

3) I am waiting on a book on webcams. It is from Intel & called
- USB Design by Example: A Practical Guide to Building I/O Devices
(2nd Edition... What you have picked is not a beginner project good luck


All times are GMT -4. The time now is 6:07 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC