So, I am developing a custom winforms program in vs2010. This program will be installed on MS Surface Pro 3's that we will ship out to our employee's in the field. One part of the application required them to snap a photo of what they are looking at. I would like to place a button in my winforms program that will open the surface Pro 3 camera. Does any one know how to accomplish this?
Asked
Active
Viewed 897 times
0
-
Oh! i am developing this on my windows 7 machine using vs 2010 but I do have a test Surface I have been using. – Richard S. Apr 20 '15 at 19:07
-
Take a look at DirectShow, and this post: http://stackoverflow.com/questions/2881858/how-to-get-web-cam-images-in-c – ppetrov Apr 20 '15 at 19:10
-
My first bet would be Aforge.Video.DirectShow, as it seems to be a bit more friendly than DirectShow.NET, which is a one-to-one wrapper over the COM interfaces. – Rytmis Apr 20 '15 at 19:13
-
I am currently trying out Direct Show, and am able to view and open my camera, however i am unable to take a snap shot. Does any one have any sample code to take a look at. everything online I have found either is hard to understand or doesn't work. – Richard S. Apr 22 '15 at 13:27