How can I save images captured from webcam to my c:/ drive with different file names?
I have been able to capture image webcam and save it on my c:/ drive, but am having slight problems. I want each time an image is saved,it should not overwrite the old captured one already saved on my c:/
(i.e images saved will be different from previous ones left untouched with different names pix1.jpg, pix2.jpg, pixs3.jpg, pix4.jpg etc).
In your method to capture and save to a certain filename, use:
Then add
fileNameto the path, and you’re done.