I want to save images without overwriting them whenever I hit the pushbutton. Can you please help me how save images without overwriting the original? What I want to do is whenever I'll hit the pushbutton, It will generated 1 image at a time without deleting the original.
here's my simple code.
vid = videoinput('winvideo',1);set(vid, 'ReturnedColorSpace', 'RGB');img = getsnapshot(vid);imshow(img);imwrite(img,'C:\Users\Sony Vaio\Documents\Appendix\images\image.jpg');
thank you 🙂
Best Answer