473,654 Members | 3,072 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Capture USB Webcam Image

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
4 41220
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
On 12 mar, 07:14, "Speed" <lostandha...@g mail.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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
11980
by: Joakim Rylander | last post by:
Hi all, I need to create a public booth where people can look at themselves in a webcam and snap a picture which will be seen on a webpage. The backend is easy, it's the webcam part that I have problems with... Could you recommend the best way to capture a Webcam picture from .NET? Do I need device specific drivers or is there a standardized way to do it? Any recommended brand of Webcam?
3
7895
by: Dan Williams | last post by:
Can anyone point me in the direction of how i go about creating an ASP.NET page that i could use to capture a web cam still image? We need to be able to take staff photos for their ID badges, but we need to be able to specify the resolution of the webcam image to portrait size (ie. 200x300). Thanks in advance for any suggestions. Dan Williams.
3
5991
by: Bsiang Tan | last post by:
Hi all, Could anyone kindly point me the way to capture the desktop image (include the desktop icon) as bitmap ? Thank a lot Best regard, Bsiang
0
1059
by: bank iup via DotNetMonster.com | last post by:
preview a realtime camera view user click at button "capture" capture image and keep it in file what should i do ? and.. i user pixel.R ,.G,.B and loop print it for ex output 255 255 255
0
1304
by: kaushik123 | last post by:
ok, ive used a drawimage function inside a picturebox, Testbox Private Sub TestBox_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles TestBox.Paint ... .. e.Graphics.DrawImage(testimage, rect, 0, 0, wid, hgt, GraphicsUnit.Pixel, image_attr) End Sub
0
1376
by: khanbtech | last post by:
Hai friends, now iam working in C#.net windows application project,In this project we need to capture webcam image and print,i know how to print but its not look for clear, how to print webcam image with good clarity? plz give some sample code Thanks in Advance
2
1777
by: fhyltavz | last post by:
I have to make a software using VB 6.0 in which the web cam should capture the image and store it in Ms access . Please provide me the complete code and procedure if possible as i am new to this
0
8372
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8285
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8814
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8475
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8591
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5621
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2709
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1915
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1592
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.