Skip to main content

A package to analyse a directory full of images

Project description


Actions Status PyPI version Python 3.6

a simple python package to analyse a directory full of images


  • Easy Interface to remember
  • Analyse distribution of height, width, extensions etc.
  • Multithreaded for faster execution
  • high customizability for plots
  • Detects corupt files
  • well tested on diffrent platforms


stable version from pypi page

pip install imdir

or latest from master branch

pip install git+


  • matplotlib
  • pillow

Usage / example

from imdir import image_dir
# give path to class
im_dir = image_dir(path="../input/train/",recursive=True, nthreads=4)

im_dir.sc_plot(alpha=0.5) # plot height and width as scatter plot

im_dir.width_plot() # plot width as histogram using matplotlib

im_dir.height_plot() # plot height as histogram using matplotlib


Generated documentation

or see help for the image_dir class


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

imdir-0.2.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

imdir-0.2-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

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