Skip to main content

Checking dimension of many images during Image processing

Project description

ImageDimensionChecker ImageDimensionChecker is a Python package designed to streamline the process of analyzing image datasets. It provides functions to check if images in a directory have the same dimensions, count the number of unique file extensions, and identify unique image dimensions.

Features Check Image Dimensions: Determine if all images in a directory have the same dimensions. Count Unique File Extensions: Count the occurrences of each unique file extension in a directory. Identify Unique Image Dimensions: Find the unique dimensions (width and height) of images in a directory.

Installation You can install ImageDimensionChecker via pip: pip install ImageDimensionChecker

Usage Here's a quick guide on how to use ImageDimensionChecker:

Check Image Dimensions from ImageDimensionChecker import CheckImageDimension

Specify the path to the directory containing images

path = "/path/to/images"

Check if images in the directory have the same dimensions

CheckImageDimension(path)

Count Unique File Extensions

from ImageDimensionChecker import unique_extension

Specify the path to the directory containing images

path = "/path/to/images"

Count the number of unique file extensions

unique_extension(path)

Identify Unique Image Dimensions

from ImageDimensionChecker import unique_dimension

Specify the path to the directory containing images

path = "/path/to/images"

Find the unique dimensions of images

unique_dimension(path)

License This project is licensed under the BSD License - see the LICENSE file for details.

Contributing Contributions are welcome! Please feel free to submit issues and pull requests.

Acknowledgements This package was inspired by the repetitive tasks involved in image dataset analysis during machine learning model development.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ImageDimensionCheck-1.4.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file ImageDimensionCheck-1.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ImageDimensionCheck-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cc58e1befecaae1f8144d00914b8ba8daa38524274482c490c078db118f0de0e
MD5 854554052c468ff8fb9e3106b822f3a1
BLAKE2b-256 7c25fa6909c676908f446a621a54e0e587a8b772c8cf14330d69fd0ad370498b

See more details on using hashes here.

Supported by

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