immich-mediakit  by RazgrizHsu

AI toolkit for Immich photo management

Created 4 months ago
292 stars

Top 90.4% on SourcePulse

GitHubView on GitHub
Project Summary

This project provides an extension toolkit for Immich, enabling advanced photo management through AI-powered similarity detection and duplicate identification. It targets Immich users seeking to efficiently clean and organize their photo libraries by leveraging visual similarity analysis.

How It Works

The toolkit fetches user and asset data from the Immich PostgreSQL database, converts images into feature vectors using ResNet152, and stores these vectors in a Qdrant vector database. It then utilizes vector similarity to identify duplicate or visually similar photos, displaying them in a web-based UI for management. Deletions are performed by updating the Immich database directly, respecting Immich's trash feature.

Quick Start & Requirements

  • Installation: Docker Compose (CPU/GPU) or Source Installation.
  • Prerequisites: An Immich installation with the trash feature enabled. Database connection details for Immich. For GPU support: NVIDIA GPU with CUDA, NVIDIA Docker runtime, and Linux.
  • Setup: Docker Compose offers a one-click install. Source installation requires manual setup of Qdrant and Python dependencies.
  • Documentation: README

Highlighted Details

  • AI-powered similarity detection using ResNet152 and Qdrant.
  • Features include duplicate detection, batch operations, and filtering.
  • Supports multi-mode search for processing multiple groups of similar photos simultaneously.
  • Offers "Related Tree" mode for comprehensive similarity analysis within a single group.

Maintenance & Community

  • Actively developed by RazgrizHsu. Contributions are welcome via Pull Requests.

Licensing & Compatibility

  • Licensed under GNU General Public License v3.0 (GPLv3). Commercial use is permitted, but derivative works must also be open-sourced under GPLv3.
  • Version compatibility between MediaKit and Immich is crucial due to database schema changes (singular vs. plural table names).

Limitations & Caveats

  • Requires careful version matching between MediaKit and Immich to avoid database errors.
  • The tool is under active development and may contain unexpected behaviors; database backups are recommended before use.
  • AI-based similarity detection may not perfectly match human perception of similarity.
Health Check
Last Commit

2 days ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
4
Star History
15 stars in the last 30 days

Explore Similar Projects

Starred by Gabriel Almeida Gabriel Almeida(Cofounder of Langflow), Alex Yu Alex Yu(Research Scientist at OpenAI; Former Cofounder of Luma AI), and
1 more.

IOPaint by Sanster

0.1%
22k
Image editing tool for inpainting and outpainting tasks
Created 3 years ago
Updated 4 months ago
Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Lyumin Zhang Lyumin Zhang(Author of ControlNet), and
4 more.

Fooocus by lllyasviel

0.1%
46k
Image generator for streamlined prompting and generation using SDXL
Created 2 years ago
Updated 2 weeks ago
Feedback? Help us improve.