944,210 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 6896
  • C RSS
You are currently viewing page 1 of this multi-page discussion thread
Dec 2nd, 2006
0

USB webcam support in C(running under LINUX)

Expand Post »
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
Reputation Points: 10
Solved Threads: 0
Junior Poster
Marks256 is offline Offline
117 posts
since Jun 2006
Dec 2nd, 2006
0

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.
Team Colleague
Reputation Points: 2240
Solved Threads: 338
Vampirical Lurker
John A is offline Offline
5,055 posts
since Apr 2006
Dec 3rd, 2006
0

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
Reputation Points: 10
Solved Threads: 0
Junior Poster
Marks256 is offline Offline
117 posts
since Jun 2006
Dec 3rd, 2006
0

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.
Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005
Dec 3rd, 2006
0

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.
Reputation Points: 10
Solved Threads: 0
Junior Poster
Marks256 is offline Offline
117 posts
since Jun 2006
Dec 3rd, 2006
0

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.
Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005
Dec 3rd, 2006
0

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.
Reputation Points: 10
Solved Threads: 0
Junior Poster
Marks256 is offline Offline
117 posts
since Jun 2006
Dec 4th, 2006
0

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.
Last edited by Nick Evan; Mar 26th, 2010 at 10:37 am.
Moderator
Featured Poster
Reputation Points: 4142
Solved Threads: 394
Industrious Poster
Nick Evan is offline Offline
4,132 posts
since Oct 2006
Dec 8th, 2006
0

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.
Reputation Points: 10
Solved Threads: 0
Junior Poster
Marks256 is offline Offline
117 posts
since Jun 2006
Dec 12th, 2006
0

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
arydberg is offline Offline
2 posts
since Dec 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: How to examine if the tree is full
Next Thread in C Forum Timeline: Desperate!





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC