I wonder whether you really need to cache the exifdata.csv file in each directory. It's very cool to see a use of exifr in the wild! Mostly I just hear about things when it stops working. > write.table(finalimagelist, "exifdata.csv", sep = ",", row.names = F, col.names = F, append = T) > write.table(current_image_list, "exifdata.csv", sep = ",", row.names=FALSE, col.names = T, append = F) Thanks in advance, > setwd("D:/Users/user/Pictures/") I really appreciate if someone investigates the following code and indicate failure causes, Ideally this should run whenever a new file added and, should record to a database table instead of CSV, but, this is something to start with. I have tried something below, but no idea about possible pitfalls. On next run, read files from images folder, and add only the newly added files to above table, this time without column names, naturally).Save resulting CSV table to a folder (with column names, if it doesn't exist).Extract selected EXIF fields of these images into a table.Read image file names(and path) from a folder.I am trying to create a piece of code to: This is my first message here I hope I didn't post it in the wrong place. I am very new in R and still learning main concepts.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |