This project is read-only.
1
Vote

An error occured while capturing the image

description

I am working on a windows form application in visual studio 2012. The webcam was working great when I build the solution at first but later on when I rebuild the solution and click on start button I get the following error.
An error occured while capturing the video image. The video capture will now be terminated. Object reference not set to an instance of an object.
I just take snapshot of my screen and when I build the solution again and clicked on the start button I get the snapshot pic in the picture box.....!!
Any help would be highly appreciated.
Thanks

file attachments

comments

Dipika008 wrote Jan 13, 2015 at 9:28 AM

hye...I got solution

basheer_ahmed wrote Jan 14, 2015 at 7:43 AM

Would you please share it...?

basheer_ahmed wrote Jan 14, 2015 at 8:06 AM

Would you please share it...?

Dipika008 wrote Jan 16, 2015 at 7:28 AM

clear webcam buffer be four start option

CodeLover wrote Jun 8, 2015 at 1:17 PM

same problem here......object reference not set to an instance of an object,,.,,tried everything....only webcam.continue() helped to some extent...bt webcam does not run as smooth as should be...