Skip to content

[FEAT] Optional Plugin: Find Similar Images Using a Lightweight Local AI Model #321

In review

Description

@justnullname

Summary

Introduce an optional, downloadable plugin that enables finding visually similar or duplicate images within the current folder (or selected directory) using a lightweight, offline local AI model.

Motivation

QuickView is prized for its speed and minimal footprint, so bundling heavy AI runtimes into the core binary isn't ideal for everyone. However, users managing large photo collections, artwork, or meme folders often need to find duplicate, cropped, resized, or visually similar images locally without relying on cloud services. Delivering this as an optional plugin keeps the base app ultra-light while offering power users a fast, privacy-preserving visual search tool.

Proposed Solution

  1. Plugin Architecture & Distribution:
    • Package the inference runtime (e.g., ONNX Runtime) and a compact vision embedding model as an on-demand downloadable plugin via QuickView's existing plugin manager.
    • Keep zero AI dependencies in the core installation when the plugin is not installed.
  2. User Workflow (Once Installed):
    • Find Similar to Current Image: Add a context menu item / toolbar action / hotkey (Find Similar Images) to scan the active directory and rank visually similar images by similarity score.
    • Batch Similarity Grouping: Optional mode in Gallery view to group similar or near-duplicate images together for quick side-by-side comparison and cleanup.
  3. Performance & Caching:
    • Compute image embeddings asynchronously in the background and cache feature vectors locally for near-instant repeat searches.
    • Adjustable similarity threshold slider (e.g., 70%–99%).

Additional Context

  • 100% Offline & Private: All model inference and vector matching happen locally on the user's machine.
  • Can integrate with QuickView's existing multi-image comparison view to inspect matched results side-by-side.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: implementedtype: enhancement

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions