Help me to do use webcam for capture Image
i could not able to get solution for it
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
Salman BegRank #284 · 8.8K reputationPosted Nov 4, 2016, 6:12 AM EDT
Guest UserRank #2,002 · 726 reputationPosted Nov 4, 2016, 8:54 PM EDT
Webcam file save demonstration
Mohamed AbedallahRank #2,074 · 697 reputationPosted Dec 8, 2016, 5:40 AM EST
/*************************************/
Leadtools.Multimedia.CaptureCtrl captureCtrl1;
captureCtrl1 = new Leadtools.Multimedia.CaptureCtrl();
//Select the video devices.
captureCtrl1.VideoDevices[0].Selected = true;
//Enable preview.
captureCtrl1.Preview = true;
//Set the cpture mode to Still.
captureCtrl1.StartCapture(Leadtools.Multimedia.CaptureMode.Still);
//Get the image from capture device.
pictureBox1.Image = captureCtrl1.GetStillImage(500);
/*************************************/
Disclaimer: I work for the company that created this library.
Manoj Kumar DuraisamyRank #802 · 2.9K reputationPosted Dec 28, 2016, 1:48 AM EST