statistics about your photographic habits
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
René Wagner 1956e53b0d version 0.6 / 2020-08-15 12 months ago
.build.yml add new perl dep 12 months ago
.gitignore version 0.6 / 2020-08-15 12 months ago
LICENSE setup build and packaging 1 year ago
PKGBUILD update PKGBUILD for auto-update version 1 year ago
README.md minor README tweaks 12 months ago
phosta.pl version 0.6 / 2020-08-15 12 months ago

README.md

Simple Photo Stats

This project is about a small tool providing some stats of your photography.

It is mainly a selfcontained SQlite database that stores the data which is extracted from the exif data of your images using exiftool and provides some predefined statistics about the data which can be queried with the tool itself.

requirements

The famous exiftool needs to be installed on your system.

There are prebuilt binarys (currently x86_64 linux only) and packages for Arch Linux and derivatives available for every ref.

using bare scripts

Simply clone the repo or manually download the scripts from https://git.sr.ht/~rwa/photo-stats/

To run the script, open a shell and invoke perl phosta.pl, on most systems it should be sufficient to just invoke phosta.pl (after you granted execute-permissions to the script).

prerequisites for running the pure scripts

  • Perl 5.32 (or newer)

Additionally the following perl modules need to be installed:

  • Cwd
  • File::HomeDir
  • File::Spec::Functions
  • Perl::DBD::SQLite
  • Perl::DBI
  • Text::SimpleTable::AutoWidth

usage

populate the database

Before getting in touch with the stats, you need to populate the database with the data of your images. Run phosta[.pl] -p <your_image_folder> to add the data of the images in the folder and every subfolder to the database.

The database will be created in the current working dir or at a given place. Be sure that you have write permissions in the respective folder.

query the database

To query the stats, simply run phosta[.pl] -s <fields> -g <grouping> after you've initially filled the database.

For information about parameters and usage call phosta[.pl] --help.

available stats

  • pictures by lens
  • pictures by camera body
  • pictures by shutterspeed
  • pictures by focal length (35mm) used
  • pictures by iso used
  • pictures by aperture

The stats are available as grouped counts by

  • all time total
  • by year
  • by month
  • by week of year

FAQ

  • I have my images on a network share, how can i include them into the stats?
    You should mount the share and use is like a local directory.

  • Can i add different folders to the statistics?
    Omit the -c param when populating the database to avoid cleaning up old values. The tool will take care that now duplicates are added.