Skip to main content

Analysis script of photography habits.

Project description

PhotoCrawl: A Photography Analyzer

A simple script to run analysis and get insight on my use of equipment and settings in my practice of photography.

Install

Prerequisites

This script runs on Python3.6.1+, and requires the following libraries: PyExifInfo, matplotlib, seaborn, pandas and loguru. Most importantly, it also requires that you have the amazing ExifTool package by Phil Harvey.

Install

This code is compatible with Python 3.6+. If for some reason you have a need for it, you can simply install it in your virtual enrivonment with:

pip install photocrawl

Usage

With this package is installed in the activated enrivonment, usage is:

python -m photocrawl -i files_location

Detailed options go as follows:

usage: __main__.py [-h] -i IMAGES_LOCATION [-o OUTPUT_DIR]
                   [--show-figures SHOW_FIGURES] [--save-figures SAVE_FIGURES]
                   [-l LOG_LEVEL]

Python 3.6+ utility to get insight on your photography practice.

optional arguments:
  -h, --help            show this help message and exit
  -i IMAGES_LOCATION, --images IMAGES_LOCATION
                        Location, either relative or absolute, of the
                        directory with images you wish to crawl
  -o OUTPUT_DIR, --output OUTPUT_DIR
                        Location, either relative or absolute, of the output
                        directory.Defaults to 'outputs'
  --show-figures SHOW_FIGURES
                        Whether or not to show figures when plotting insights.
  --save-figures SAVE_FIGURES
                        Whether or not to save figures when plotting insights.
  -l LOG_LEVEL, --logs LOG_LEVEL
                        The base console logging level. Can be 'debug',
                        'info', 'warning' and 'error'.Defaults to 'info'.

The script will crawl files, extract exif and output visualizations named insight_1.png and insight_2.png in a newly created outputs folder (or a folder named as you specified).

Output example

Here is an example of what the script outputs:

TODO

  • Handling raw files.
  • Handling subfolders when looking for files.
  • Output all insight in a single/two plot.
  • Implement proper logging.
  • Make into a package
  • Make callable as a python module (python -m photocrawl ...)

License

Copyright © 2019-2020 Felix Soubelet. MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

photocrawl-0.2.1.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

photocrawl-0.2.1-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file photocrawl-0.2.1.tar.gz.

File metadata

  • Download URL: photocrawl-0.2.1.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.6 Darwin/19.4.0

File hashes

Hashes for photocrawl-0.2.1.tar.gz
Algorithm Hash digest
SHA256 46996a8915f9c23370b1967fa445f4bd22c35d2e2c97845ebc24bfe5d758fa20
MD5 aef23cd4e914414edc18597127910aaf
BLAKE2b-256 50df13601abb298f74ddb770b4f5364be30d6c0adc96552fb104265bdcba9a42

See more details on using hashes here.

File details

Details for the file photocrawl-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: photocrawl-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.6 Darwin/19.4.0

File hashes

Hashes for photocrawl-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8b63d58422b49af2ad67b5e96dca5718f044c20c8e86113e95539f2cd95ac1cf
MD5 490c03bac307496091ca6a1687e9b479
BLAKE2b-256 c8fc121332da705054d08ec1d37cf847035023d4a41d3754bbcbfb9b0d6f2a62

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page