Author Topic: Problem retrieving RECONYX MakerNotes  (Read 201 times)

justkristin

  • Newbie
  • *
  • Posts: 5
Problem retrieving RECONYX MakerNotes
« on: January 08, 2020, 06:53:02 PM »
Sorry for bothering you all with what will no doubt (and hopefully) be a remedial issue. I am trying to work with image::exiftool on a mac:
perl 5.18.4
os 10.15.2

I am trying to get a script working that I used previously to create a manifest for images being uploaded to a citizen science site (zooniverse.org). I have successfully (if sloppily) created a section that gets the tags, and uses the Reconyx-specific EventNumber and Sequence tags to arrange the images in the manifest.csv into order in their correct groups of three.

When I feed an image to exiftool at command line, these tags and their values show up.
When I use an exact path and file name in a perl script, the tags and values also show up.
However, when I try to loop through files, using a variable for the file, I get the following:
Warning => [minor] Unrecognized MakerNotes

I have asked the script to print the image file ($damnimagefile) before passing it along to
Code: [Select]
my $exif_info = $exifTool->ImageInfo($damnimagefile);and then when I copy that path/file and use exifinfo on the command line, the tags are there and populated...

It seems that it is only the MakerNotes - which I assume are the maker-specific tags - that get lost in the script...
Can anyone point out my idiocy? I am sorry about the quality and uncommented nature of the scripts attached. dang.pl is the full script (the exifinfo stuff starts around line 95) that worked once upon a time, and caca.pl is the test script I pulled from dang.pl to narrow things down. I have included a photo of a burrowing owl, which is the species we are currently trying to help. :)

greybeard

  • Sr. Member
  • ****
  • Posts: 100
Re: Problem retrieving RECONYX MakerNotes
« Reply #1 on: January 09, 2020, 03:33:48 AM »
Are you sure the image file in your attached zip is the one giving you the problem?

justkristin

  • Newbie
  • *
  • Posts: 5
Re: Problem retrieving RECONYX MakerNotes
« Reply #2 on: January 09, 2020, 12:20:10 PM »
I have about a million images, and no matter which I have chosen so far, they show the makernotes when I do a simple command-line
exiftool path/to/image.jpg
but not if I use the longer script with the path/image.jpg as a variable...
I have the script print the path/image.jpg it has built so that I can check it, but no matter which I select from the output, I get this same issue.

I have attached three results examples... Sorry again, and thank you for your eyes and your brain!

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 15660
    • ExifTool Home Page
Re: Problem retrieving RECONYX MakerNotes
« Reply #3 on: January 09, 2020, 12:24:57 PM »
I would guess that your script uses a different Image::ExifTool library than the one that the exiftool script is using.  What do these commands give?:

exiftool -ver

and

perl -e 'use Image::ExifTool;print "$Image::ExifTool::VERSION\n"'

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

justkristin

  • Newbie
  • *
  • Posts: 5
Re: Problem retrieving RECONYX MakerNotes
« Reply #4 on: January 09, 2020, 12:36:04 PM »
Sir, they are, respectively, 11.82 and 11.11

I will update Image::ExifTool to 11.70 (which seems to be the latest?) and try again. Thank you, sir!

justkristin

  • Newbie
  • *
  • Posts: 5
Re: Problem retrieving RECONYX MakerNotes
« Reply #5 on: January 09, 2020, 02:15:26 PM »
Phil, sir, that seems to have been the problem. Thank you so much for dealing with my remedial-ness. :) The owl researchers thank you, too!

StarGeek

  • Global Moderator
  • ExifTool Freak
  • *****
  • Posts: 3129
Re: Problem retrieving RECONYX MakerNotes
« Reply #6 on: January 09, 2020, 02:16:49 PM »
I will update Image::ExifTool to 11.70 (which seems to be the latest?)

The latest is 11.83, which can be found on the main exiftool page.  Version 11.70 is the most recent production release.  Other versions are considered development releases, and are not uploaded to CPAN.
Troubleshooting hints:
* When posting, include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).
* Double all percent signs (%) in a Windows batch file.
* If your GPS coords are negative, make sure and set the GpsLatitudeRef and GpsLongitudeRef tags correctly.

justkristin

  • Newbie
  • *
  • Posts: 5
Re: Problem retrieving RECONYX MakerNotes
« Reply #7 on: January 09, 2020, 02:18:59 PM »
Thanks to all of you: GreyBeard, Phil and StarGeek! Thank you tons!