By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,750 Members | 1,165 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,750 IT Pros & Developers. It's quick & easy.

Capture USB Webcam Image

P: n/a
Hi,

Could you please tell me how to capture an image from my USB webcam
using C/C++. I am using the Visual Studio .NET 2005 Environment.
Thanks a ton,
Speed.

Mar 12 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Speed wrote:
Hi,

Could you please tell me how to capture an image from my USB webcam
using C/C++. I am using the Visual Studio .NET 2005 Environment.
The standard library does not provide any means of doing that. Thus, you
will want to use a third-party library. There is a C++ library FAQ
somewhere out there on the internet (it used to get posted here regularly,
but I do not recall seeing it recently).

Details of third-party libraries are off-topic in this group. Your best bet
would be a news group of forum dedicated to the particular target platform
of your application.
Best

Kai-Uwe Bux
Mar 12 '07 #2

P: n/a
On 12 mar, 07:14, "Speed" <lostandha...@gmail.comwrote:
Hi,

Could you please tell me how to capture an image from my USB webcam
using C/C++. I am using the Visual Studio .NET 2005 Environment.

Thanks a ton,
Speed.
Read

http://www.codeproject.com/aspnet/webcamimage.asp

http://www.planet-source-code.com/vb...1339&lngWId=10

and adapt that code to C++. In Linux/FreeBSD, you could read some open
source projects code, it would be more easy.

gethostbyname
Mar 12 '07 #3

P: n/a
On 12 mar, 07:24, Kai-Uwe Bux <jkherci...@gmx.netwrote:
Speed wrote:
Hi,
Could you please tell me how to capture an image from my USB webcam
using C/C++. I am using the Visual Studio .NET 2005 Environment.

The standard library does not provide any means of doing that. Thus, you
will want to use a third-party library. There is a C++ library FAQ
somewhere out there on the internet (it used to get posted here regularly,
but I do not recall seeing it recently).

Details of third-party libraries are off-topic in this group. Your best bet
would be a news group of forum dedicated to the particular target platform
of your application.

Best

Kai-Uwe Bux
I know the norms' group but I don't agree. Why doesn't help him?
If you don't like off-topics threads, just don't read them. I think we
can learn from them too. Why no?

ps. forgive my english

gethostbyname

Mar 12 '07 #4

P: n/a
On 12 Mar, 13:33, "gethostbyn...@gmail.com" <gethostbyn...@gmail.com>
wrote:
On 12 mar, 07:24, Kai-Uwe Bux <jkherci...@gmx.netwrote:
Speed wrote:
Hi,
Could you please tell me how to capture an image from my USB webcam
using C/C++. I am using the Visual Studio .NET 2005 Environment.
The standard library does not provide any means of doing that. Thus, you
will want to use a third-party library. There is a C++ library FAQ
somewhere out there on the internet (it used to get posted here regularly,
but I do not recall seeing it recently).
Details of third-party libraries are off-topic in this group. Your bestbet
would be a news group of forum dedicated to the particular target platform
of your application.
Best
Kai-Uwe Bux

I know the norms' group but I don't agree. Why doesn't help him?
If you don't like off-topics threads, just don't read them. I think we
can learn from them too. Why no?
He is helping him, and others too. He helps the OP by telling him that
this is off topic in this group, so the next time the OP has a
question he/she can more easily decide if this group is appropriate or
not. Further he pointed the op to the library FAQ, which might help
the OP to find information that he/she needs. And third, he tells the
OP that it would be better to ask the question in a group specific for
his platform where more people with the knowledge he needs might be
found.

Further it helps others by keeping this group clean so that when you
or someone else have a C++ language question you can post it here
knowing that there are people reading and answering questions. If the
noise-ration is to high those experts who we depend on will go some
other place and it will be more difficult to get answers to our
questions.

And, by posting the question in the correct group the chance that
someone with the same problem will find an answered question by
searching increases.

--
Erik Wikström

Mar 12 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.