Image-ExifTool - Re: ISO-statistic

Posted on Sat Sep 16 01:00:59 2006 by exiftool in response to 3050 (See the whole thread of 9)
Re: ISO-statistic
There are many ways to accomplish this. Personally, I would output all interesting information to a tab-delimited text file, then import it into a spreadsheet and plot the results. The command for this would be something like:

exiftool -t -s -S -f -q -r -iso -shutterspeed -aperture -focallength -filename DIR > out.txt

The first column in the file is ISO, the second is shutterspeed, etc.

Another way, which is closer to what you asked, is to output all information and use grep and wc to get your statistics (although for this technique you would have to specify each ISO separately). For instance:

exiftool -S -r DIR > out.txt grep -E 'ISO: 80$' out.txt | wc -l

This will output the number images taken at ISO 80.

Of course, there are many other ways to do it, but I hope this gives you some ideas.

- Phil

P.S. I know you said Linux, but I should also mention that there is a Windows XP utility based on ExifTool that will do all this a bit more easily for you: Exif Stats Utility.
Direct Responses: 3055 | Write a response