USB webcam support in C(running under LINUX)

Reply

Join Date: Jun 2006
Posts: 117
Reputation: Marks256 is an unknown quantity at this point 
Solved Threads: 0
Marks256 Marks256 is offline Offline
Junior Poster

USB webcam support in C(running under LINUX)

 
0
  #1
Dec 2nd, 2006
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
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 5,051
Reputation: John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold 
Solved Threads: 332
Team Colleague
John A's Avatar
John A John A is offline Offline
Vampirical Lurker

Re: USB webcam support in C(running under LINUX)

 
0
  #2
Dec 2nd, 2006
You mean something like this?
http://www.neurotechnologija.com/vl_sdk.html

Sorry, I don't know of any free ones.
"Technological progress is like an axe in the hands of a pathological criminal."
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 117
Reputation: Marks256 is an unknown quantity at this point 
Solved Threads: 0
Marks256 Marks256 is offline Offline
Junior Poster

Re: USB webcam support in C(running under LINUX)

 
0
  #3
Dec 3rd, 2006
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
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: USB webcam support in C(running under LINUX)

 
0
  #4
Dec 3rd, 2006
http://clusty.com/search?query=linux+webcam+howto
Use the "howto" keyword when searching for a lot of Linux information.
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 117
Reputation: Marks256 is an unknown quantity at this point 
Solved Threads: 0
Marks256 Marks256 is offline Offline
Junior Poster

Re: USB webcam support in C(running under LINUX)

 
0
  #5
Dec 3rd, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: USB webcam support in C(running under LINUX)

 
0
  #6
Dec 3rd, 2006
Hmpf, obviously not reading enough.

1st link.
"4. Framegrabbing Applications"
Follow some more links, download some source code, visit their homepages and start reading.
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 117
Reputation: Marks256 is an unknown quantity at this point 
Solved Threads: 0
Marks256 Marks256 is offline Offline
Junior Poster

Re: USB webcam support in C(running under LINUX)

 
0
  #7
Dec 3rd, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 2,839
Reputation: niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute 
Solved Threads: 298
Moderator
Featured Poster
niek_e's Avatar
niek_e niek_e is offline Offline
Roasting Maven

Re: USB webcam support in C(running under LINUX)

 
0
  #8
Dec 4th, 2006
I think OpenCV is what your looking for, it's free, windows/linux and has a imagerecognition.

Regards Niek
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 117
Reputation: Marks256 is an unknown quantity at this point 
Solved Threads: 0
Marks256 Marks256 is offline Offline
Junior Poster

Re: USB webcam support in C(running under LINUX)

 
0
  #9
Dec 8th, 2006
Thank you. I am going to try to download it now. Once my cameras come(ebay), i will start playing around with it.
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 2
Reputation: arydberg is an unknown quantity at this point 
Solved Threads: 0
arydberg arydberg is offline Offline
Newbie Poster

Re: USB webcam support in C(running under LINUX)

 
0
  #10
Dec 12th, 2006
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the C Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC