Jonathan
Jonathan

Reputation: 87

Taking picture on command with webcam using c#

I am working on a project where I need to take a picture from a camera using a windows forms application. I have found many tutorials and frameworks ( like Aforge.Net ) to do this, but I am unsure if this will work with all webcams.

For the project I need to take a 1080p image of a laser diffraction pattern. it is important that the camera does not do any image processing ( like adjust brightness , color correction , or automatically focusing etc ) , so I need a way to disable this or a camera which does not have those features.

so my questions are:

  1. What is the best way to take a single image (no video ) from a webcame connected to the pc via usb using c# .
  2. What camera should I buy for this ? (would Logitech C920 work ?)

Thanks for your help :)

Upvotes: 2

Views: 2340

Answers (1)

Yavuz Selim Tatar
Yavuz Selim Tatar

Reputation: 48

I used AForge library for taking photo from webcam. this is my little sample. I hope its helps. (sample created in Turkish language)

webcam sample at yadisk

Upvotes: 2

Related Questions