problems with metadata

157 views
Skip to first unread message

angela.and...@gmail.com

unread,
Jun 13, 2017, 2:52:44 PM6/13/17
to camtrapR
Hi folks,

I am running all examples to understand the package. I have been trying both approaches: via drag and drop of images and metadata tagging (using digikam) but I am getting an error message. For example when I use checkSpeciesIdentification () and recordTable () functions:

> checkFolders <- checkSpeciesIdentification(inDir = directory_images_renamed,  IDfrom = "metadata", hasCameraFolders = F, maxDeltaTime = 120)

I obtain this message:

Error in checkSpeciesIdentification(inDir = directory_images_renamed,  : 
  'metadataSpeciesTag' must be defined if IDfrom = 'metadata'

I used
> exifTagNames(directory_images_renamed, returnMetadata = T)

and I got metadata where tag for species seems to be recognized:

[69] "[XMP]           Tags List                       : Species/Agouti"                                                                                                
[70] "[XMP]           Last Keyword XMP                : Species/Agouti"                                                                                                
[71] "[XMP]           Hierarchical Subject            : Species|Agouti"                                                                                                
[72] "[XMP]           Catalog Sets                    : Species|Agouti"                                                                                                
[73] "[XMP]           Subject  

In addition, I noted something: Vignette says "To update the image metadata with your new tag structure (and to populate the image metadata tag “HierarchicalSubject” that camtrapR reads), select the images, click the “More” button in the bottom right corner of the screen, then “Write metadata to each file”." But I did not see the button Write metadata to each file, active (I attache image file).

I do not know what I am doing wrong. I hope you can help me.

Best,



Screen Shot 2017-06-13 at 11.29.21.png

Juergen Niedballa

unread,
Jun 26, 2017, 9:48:38 AM6/26/17
to camtrapR
Dear Angela,
my apologies for the late reply.

The error message tells you that the argument 'metadataSpeciesTag' must be defined if you use metadata tags for species ID. In your example, it would be

checkFolders <- checkSpeciesIdentification(
inDir = directory_images_renamed,  IDfrom = "metadata", hasCameraFolders = F, maxDeltaTime = 120, metadataSpeciesTag = "Species")

About writing the metadata tags to images, did you select the images that you wish to write the metadata tags into? The button should be available if images are selected.
Please let me know if this doesn't work.
Best regards,
Jürgen


Reply all
Reply to author
Forward
0 new messages