- custom file extensions for scanning - added field "lensmaker" - added grouping by hour - added filter by time range - custom database name - introduce user conf for some configs
|1 year ago|
|.build.yml||1 year ago|
|.gitignore||1 year ago|
|LICENSE||2 years ago|
|PKGBUILD||2 years ago|
|README.md||1 year ago|
|phosta.pl||1 year ago|
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.
exiftool needs to be installed on your system.
using binary (recommended)
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:
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
- 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
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?
-cparam when populating the database to avoid cleaning up old values. The tool will take care that now duplicates are added.