Skip to main content

auto_rename_ai

<> is a Python package for automatically renaming images using the EfficientNetB0 model. Each image is classified, and its filename is updated to include the class label, confidence percentage, and a counter.


Features

  • Automatically renames images in the format 'label(confidence%)(counter).ext'
  • Supports '.jpg', '.jpeg', and '.png' image formats
  • Handles corrupted images without stopping the program
  • Processes an entire folder of images in one batch

Installation

The package can be installed via pip after local build or publishing:

pip install .

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

##Usage

from auto_rename_ai import rename_images

# Specify input and output folders
input_folder = "path/to/images"
output_folder = "path/to/output"

# Automatically rename images
rename_images(input_folder, output_folder)

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

##Result
Each image will be renamed in the following format::

label(confidence%)(counter).ext

-->> for example: 
golden_retriever(97.00%)(1).jpg
sports_car(88.12%)(1).png
keyboard(91.03%)(2).jpeg

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

##Requirements::

Python 3.8+
TensorFlow 2.x

Metadata

Release files for auto-rename-ai 1.0.0

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

Source distribution (sdist)

Source distribution for auto-rename-ai 1.0.0
File Size Uploaded Provenance Actions
auto_rename_ai-1.0.0.tar.gz 2.9 kB Without provenance Details for auto_rename_ai-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for auto-rename-ai 1.0.0
File Interpreter ABI Platform Actions
auto_rename_ai-1.0.0-py3-none-any.whl Python 3 none any Details for auto_rename_ai-1.0.0-py3-none-any.whl

Total release size: 6.7 kB

Release files / auto_rename_ai-1.0.0.tar.gz

Download URL auto_rename_ai-1.0.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a33ac6b49d432ba87f60b4213c053a04076fb2bfa96a22e3511856157d6ef0f5
BLAKE2b-256 checksum
How to use checksums
57901a5263454b0d5936bd5468d9bed0f1103f3c2e3529cf00eaf9ff467af75f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.0

Release files / auto_rename_ai-1.0.0-py3-none-any.whl

Download URL auto_rename_ai-1.0.0-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
97ee83faf465200907df8b2507b9eec037224c7726690f9370534f1a4f34d543
BLAKE2b-256 checksum
How to use checksums
b7c5b0013e6f03e6afb0b91ab5cb93c4489842e0de406f46554ce1cd7f88450d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.0

Security for auto-rename-ai 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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