c++ - multiple image store kinect with different name -


i want know how change default save folder store differents images differents names

if store 1 image, //capture camera

while(1) { sprint(buffer, "/folder", i++); } 

and store correctly in different folder

while(1) { sprint(buffer, "%d", i++); } 

how combine them? thanks!

you can using following code:

char filename[500]; sprintf(filename,"./folderyouwanttosaveto/nameofimage%u.png",i++); imwrite(filename, imagetosave); 

Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -