Skip to content

analyzes the content of each image and creates a concise, relevant filename based on the image's key characteristics.

Notifications You must be signed in to change notification settings

kshitijk4poor/ai-rename

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🖼️ AI Image Renamer

📝 Description

AI Image Renamer is a Python script that uses AI to automatically generate descriptive and meaningful filenames for images. It analyzes the content of each image and creates a concise, relevant filename based on the image's key characteristics.

🚀 Features

  • 🧠 Uses AI to analyze image content
  • 🏷️ Generates concise, descriptive filenames
  • 📁 Supports processing individual images or entire folders
  • 🔄 Handles filename conflicts automatically
  • 🖼️ Supports various image formats (JPG, JPEG, PNG, BMP, GIF)

🛠️ Installation

  1. Download and install Ollama from ollama.com.
  2. Clone this repository:
    git clone https://github.com/kshitijk4poor/ai-rename.git
    
  3. Install the required dependencies:
    pip install -r requirements.txt
    ollama pull llava-llama3
    

🔧 Usage

Run the script with a path to an image or a folder containing images:

python rename.py <image_path_or_folder_path>

📋 TODO

  • Make the renaming for accurate
  • Switch to ollama for inference
  • Enhance the rename conflict resolution algorithm
  • Expand supported image formats
  • Convert it to package

About

analyzes the content of each image and creates a concise, relevant filename based on the image's key characteristics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages