{"id":28237056,"url":"https://github.com/svetjeonline/image-tagger","last_synced_at":"2025-06-10T15:30:43.798Z","repository":{"id":289667652,"uuid":"972014004","full_name":"svetjeonline/Image-Tagger","owner":"svetjeonline","description":"This repository contains a Python script for a desktop application that generates English captions and keywords for images using AI (Hugging Face Transformers) and writes them to IPTC/XMP metadata.","archived":false,"fork":false,"pushed_at":"2025-04-24T12:27:11.000Z","size":89,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-19T00:17:38.506Z","etag":null,"topics":["ai","captions","gui","image","image-processing","metadata","photoshop","python","stock","tagger"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/svetjeonline.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-24T12:05:18.000Z","updated_at":"2025-04-24T12:34:41.000Z","dependencies_parsed_at":"2025-04-24T13:23:40.987Z","dependency_job_id":"4a7a7247-9eaa-441c-9a12-6a052933f5f7","html_url":"https://github.com/svetjeonline/Image-Tagger","commit_stats":null,"previous_names":["svetjeonline/image-tagger"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svetjeonline%2FImage-Tagger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svetjeonline%2FImage-Tagger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svetjeonline%2FImage-Tagger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svetjeonline%2FImage-Tagger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svetjeonline","download_url":"https://codeload.github.com/svetjeonline/Image-Tagger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svetjeonline%2FImage-Tagger/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259101046,"owners_count":22805194,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","captions","gui","image","image-processing","metadata","photoshop","python","stock","tagger"],"created_at":"2025-05-19T00:17:23.216Z","updated_at":"2025-06-10T15:30:43.456Z","avatar_url":"https://github.com/svetjeonline.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📸 AI Image Tagger \u0026 Describer 🏷️  \n### *Smart metadata for your image library. Automated. Local. Fast.*\n\n---\n\n## 🚀 Overview\n\n**AI Image Tagger \u0026 Describer** is a cross-platform desktop application that automatically generates **captions** and **keywords** for your images using AI — and embeds this data into **IPTC/XMP metadata**.\n\n🔍 Ideal for photographers, archivists, and content creators who manage large image libraries.  \n🧠 Works offline — your images stay on your machine.\n\n---\n\n## 🌟 Key Features\n\n- 🧠 **AI-Powered Captions \u0026 Keywords**  \n  Uses Salesforce's BLIP model (Base or Large) via Hugging Face Transformers\n- ✍️ **Embedded Metadata**  \n  Writes data directly into IPTC and XMP fields inside image files\n- 💻 **Cross-Platform**  \n  Works on Windows, macOS, and Linux\n- 🖼️ **User-Friendly Interface**  \n  Features image list, preview panel, and editable metadata fields\n- ⚙️ **Fully Customizable Settings**  \n  Select AI model, device (CPU/GPU), stop words, and metadata options\n- ⚡ **Batch Processing**  \n  Tag and save metadata for multiple images in one go\n- 📝 **Logging \u0026 Error Handling**  \n  Includes detailed logs and friendly error messages\n- 📦 **Virtual Environment Support**  \n  Keeps your dependencies clean and isolated\n\n---\n\n## 🧰 Technologies Used\n\n- `Python 3.9+`\n- `CustomTkinter` for GUI\n- `Hugging Face Transformers` (BLIP model)\n- `PyTorch` (optional for GPU acceleration)\n- `iptcinfo3` for IPTC metadata\n- `python-xmp-toolkit` and `libexempi` for XMP metadata\n\n---\n\n## 🖥️ Application Interface\n\n### 📂 Image List Panel\n\n\u003cimg src=\"image.png\" alt=\"Description of Image\" width=\"70%\"\u003e\n\n\n- Displays image thumbnails and file names\n- Shows processing status indicators\n- Checkboxes for batch selection\n\n---\n\n### 🖼️ Detail Panel\n\n\n\n- Large preview of the selected image\n- Editable caption and keywords\n- Save button to update metadata\n\n---\n\n## ⚙️ How It Works\n\n1. **📂 Load Folder** – The app scans a selected directory for supported image files (JPG, JPEG, TIFF).\n2. **📖 Read Metadata** – IPTC and XMP metadata is extracted if available.\n3. **🤖 AI Tagging** – BLIP generates English captions and keywords.\n4. **✍️ Write Metadata** – Results are written back into the image files.\n\n---\n\n## 🔧 Setup Instructions\n\n### ✅ Prerequisites\n\n- **Python 3.9+**\n- `pip` (included with Python)\n- **Visual C++ Build Tools** (needed if `python-xmp-toolkit` install fails)\n- **Exempi** (required for XMP support, auto-installed via Conda or manual)\n\n---\n\n### 🛠️ Installation Guide\n\n```bash\n# 1. Clone the repository\ngit clone https://github.com/yourusername/yourrepository.git\ncd yourrepository\n\n# 2. Create a virtual environment\npython -m venv .venv\n\n# 3. Activate the virtual environment\n# Windows:\n.venv\\Scripts\\activate\n# macOS/Linux:\nsource .venv/bin/activate\n\n# 4. Install dependencies\npip install -r requirements.txt\n\n# 5. Run the application\npython main.py\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvetjeonline%2Fimage-tagger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvetjeonline%2Fimage-tagger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvetjeonline%2Fimage-tagger/lists"}