How to take a photo in asp.net application in my webcam
I need to capture image from my pc webcam in asp.net
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Sumit JoshiRank #1,252 · 1.4K reputationPosted Aug 11, 2015, 4:02 AM EDT
Kundan JhaRank #1,316 · 1.3K reputationPosted Aug 11, 2015, 4:28 AM EDT
Khan Abrar AhmedRank #778 · 3K reputationPosted Aug 11, 2015, 4:45 AM EDT
Victor Jonathan2 reputationPosted Aug 13, 2015, 8:22 AM EDT
Most of webcams have DirectShow driver and interface that give the user (programmer) the ability to capture images and video/audio streams. Some webcams have additional Twain drivers that are used to communicate with the device.
Since you are using ASP.NET, you can try a programming toolkit that provides .NET classes to communicate with DirectShow and twain drivers. I used multimedia .NET classes from leadtools to support capturing images and media files. I searched over internet and found the following info that might help:
http://support.leadtools.com/CS/forums/10345/ShowPost.aspx