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
path = "/path/to/images"
CheckImageDimension(path)
Count Unique File Extensions
from ImageDimensionChecker import unique_extension
path = "/path/to/images"
unique_extension(path)
Identify Unique Image Dimensions
from ImageDimensionChecker import unique_dimension
path = "/path/to/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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ImageDimensionCheck-1.4.2-py3-none-any.whl.
File metadata
- Download URL: ImageDimensionCheck-1.4.2-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ae093143b0e083c8aca6088e99e57f2dd4749277cc4a2dc87e8ba2fa37d8f43
|
|
| MD5 |
013f8a7093e5daf3d1b644eb28676ea8
|
|
| BLAKE2b-256 |
f9187f361be15331d98ccc9f7efe981c68cb4582b9076912dbd851247b53699a
|