Skip to main content

imdir

Actions Status PyPI version Python 3.6

a simple python package to analyse a directory full of images

Features

  • 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

Installation

stable version from pypi page

pip install imdir

or latest from master branch

pip install git+https://github.com/dhananjayraut/imdir

Dependencies

  • 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

Documentation

Generated documentation

or see help for the image_dir class

help(imdir.image_dir)

Metadata

Release files for imdir 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for imdir 0.2
File Size Uploaded
imdir-0.2.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for imdir 0.2
File Interpreter ABI Platform
imdir-0.2-py3-none-any.whl Python 3 none any Details

Total release size: 8.1 kB

Release files / imdir-0.2.tar.gz

Download URL imdir-0.2.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4ece40d407d73a64a541fff257af4b05bdb644028ed0f787aad93653dfbd2889
BLAKE2b-256 checksum
How to use checksums
abad93e7ac3658a82e03fdeb4db3a131a0315f6a3fabb120d1539dac410fee30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

Release files / imdir-0.2-py3-none-any.whl

Download URL imdir-0.2-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
78b197ec18bc4a73edeb85c57bdd861d7998980c766529c3e72e7ddd7764dbec
BLAKE2b-256 checksum
How to use checksums
fe758590ac02d26ae260769091822a043c14d6dfea4ed24ad7e132b01f8ce7b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page