Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.22 KB

README.md

File metadata and controls

40 lines (31 loc) · 1.22 KB

🖼️ 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