Hello!
I am trying to get setup with camtrapR. I am having some issues with keeping some photos in a usable format/type.
I am very taken with the "drag and drop" ID method given how many photos I have to process (~34000), but following camtrapR image copying/renaming, only some of my camera trap folders have camtrapR renamed images that I can open. The error given is "Sorry, Photos can't open this file because the format is currently unsupported, or the file is corrupted". I can confirm that the photos are not corrupted in their original folders in the directory DRY_SEASON.
Here is the code:
wd_images_raw <- "E:/Dissertation/CamtrapPhotos/DRY_SEASON"
wd_images_renamed <- "E:/Dissertation/CamtrapPhotos/DRY_SEASON_renamed"
renamed <- imageRename(inDir=wd_images_raw,
outDir=wd_images_renamed,
hasCameraFolders=FALSE,
copyImages=TRUE)
Here is the output:
TF1 : 201 images | | 2%
TF10: 375 images |= | 4%
TF11: 8832 images |= | 6%
TF12: 294 images |== | 8%
TF13: 372 images |== | 10%
TF14: 288 images |== | 12%
TF15: 336 images |=== | 14%
TF16: 576 images |=== | 16%
TF17: 942 images |==== | 18%
TF18: 1524 images |==== | 20%
TF19: 342 images |==== | 22%
TF2 : 594 images |===== | 24%
TF20: 168 images |===== | 26%
TF21: 1164 images |====== | 28%
TF22: 582 images |====== | 30%
TF23: 438 images |====== | 32%
TF24: 135 images |======= | 34%
TF25: 831 images |======= | 36%
TF3 : 801 images |======== | 38%
TF4 : 381 images |======== | 40%
TF5 : 183 images |======== | 42%
TF6 : 1675 images |========= | 44%
TF7 : 752 images |========= | 46%
TF8 : 164 images |========== | 48%
TF9 : 435 images |========== | 50%
VZ1 : 1156 images |========== | 52%
VZ10: 1749 images |=========== | 54%
VZ11: 1362 images |=========== | 56%
VZ12: 456 images |============ | 58%
VZ13: 354 images |============ | 60%
VZ14: 204 images |============ | 62%
VZ15: 177 images |============= | 64%
VZ16: 214 images |============= | 66%
VZ17: 261 images |============== | 68%
VZ18: 311 images |============== | 70%
VZ19: 216 images |============== | 72%
VZ2 : 384 images |=============== | 74%
VZ20: 91 images |=============== | 76%
VZ21: 201 images |================ | 78%
VZ22: 195 images |================ | 80%
VZ23: 165 images |================ | 82%
VZ24: 726 images |================= | 84%
VZ25: 168 images |================= | 86%
VZ3 : 348 images |================== | 88%
VZ4 : 459 images |================== | 90%
VZ5 : 291 images |================== | 92%
VZ6 : 468 images |=================== | 94%
VZ7 : 1164 images |=================== | 96%
VZ8 : 285 images |====================| 98%
VZ9 : 255 images |====================| 100%
copying 34045 images to E:/UEA/Dissertation/CamtrapPhotos/DRY_SEASON_renamed2 ... This may take some time.
I have attached a link to four sets of raw photos from my data from comparison; The TF1 photos loaded correctly following renaming, the VZ1, VZ10 and VZ12 photos did not and gave the described error. These photos are stored in separate folders in the directory DRY_SEASON.
Sample data:
I would be very grateful for any guidance on how to correct this issue.
Thank you and kind regards,
Xavier