Hi,
How to call windows camera in windows application
to capture the image and to save the captured image...
Advance thanks,
Vanitha
Loading
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 attend5days leftRegister
RahulRank #1,857 · 800 reputationPosted Nov 3, 2014, 1:30 AM EST
Ensure the capabilities for camera is selected
Capability Name="ID_CAP_ISV_CAMERA"
Capability Name="ID_HW_FRONTCAMERA"
Madison Bailey38 reputationPosted Nov 10, 2014, 11:54 PM EST
I have two possible solutions for you:
Option 1: Take a look at this Codeproject guide that explains how to take IP camera snapshots and save the captured image on your computer. It presents how to build a WinForms Application for IP cameras.
Option 2: Watch this video tutorial that explains how to implement snapshot taking feature for your camera viewer application in C#. It can be also used for USB webcams and IP cameras as well. The video demonstrates how to build such a WPF application. (Its full source code can be downloaded as well.)
You may need some addition information about the Onvif techonology as follows:
- What is Onvif
- Onvif software download
I hope it helped you to get started.Nomi Awais2 reputationPosted Nov 13, 2014, 4:10 AM EST
http://www.codeproject.com/Articles/2615/DirectShow-NET
Note that some people (including me) find programming with DirectShow somehow difficult.
I am currently using a programming multimedia toolkit (leadtools) that has native .NET classes which wrap DirectShow functions and provide high-level controls for .NET developers. You can find more information here:
http://support.leadtools.com/CS/forums/10345/ShowPost.aspx