Click here to Skip to main content
15,894,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Sir/Madam
I need c# code for capturing image by webcam and storing them into database.
I don't know how to do this. please help me.
Thank you
Posted
Comments
Morl99 29-Jun-11 13:52pm    
Do you start with anything? Or is the sole purpose of the application do capture an image and store it? Do you generally know how to work with a database? Or with C#?
Morl99 29-Jun-11 14:08pm    
Maybe on a side note, this is not a portal where people do your work. Either you have a problem, or you don't. Do not expect complete programs here... Why don't you start with googling for "Storing Image into database CSharp" and "Capture Webcam Image CSharp". I am sure you find plenty of information. If you have a problem trying, come back here and post your specific problem.
manabjn 29-Jun-11 14:15pm    
Thank you sir. Now please tell me how to capture webcam image with the help of c# code
fcronin 29-Jun-11 14:32pm    
http://www.google.com/search?hl=en&source=hp&biw=1388&bih=714&q=c%23+capture+webcam+image&oq=c%23+capture+webcam+image&aq=f&aqi=&aql=undefined&gs_sm=e&gs_upl=360l5406l0l31l26l3l7l0l0l250l2002l6.7.3l16&safe=strict

I suppose you use Windows? Have a look here[^]. Using WIA is a good start to capture an image from "any" webcam. But please be aware, that this is no trivial case and might cause some problems along the road.
 
Share this answer
 
If you can't do a task, break it into pieces and try to do them separately.
In this case, it breaks into two tasks:

1) Capture webcam image c#[^]
2) Store image to database c#[^]

Googling each of those tasks game a good set of results - the links above.
Looking at the results gives these:

1) WebCam Fast Image Capture Service using WIA[^]
2) C# Save and Load Image from Database[^]

Both of which are articles on this very site.

So, what part of that was too difficult for you to do?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900