A local image search engine powered by CLIP/SigLIP 2. Search for images in your local directories using natural language queries.
- Image-text retrieval using CLIP/SigLIP 2/Other models
- Index and update local image directories using ChromaDB
- Perform natural language searches to find relevant images
- Find duplicate images in a ChromaDB database
- Web UI (Gradio)
- Python 3.10+
- PyTorch (CPU, CUDA, ROCm)
Download the standalone zip from the releases page: Releases
- Pre-downloaded package: Download per version, no setup required, and no included update script. Contains
PyTorch v2.9.1+cu128.
- Clone and enter the repo
git clone https://github.com/meangrinch/LocalLens.git
cd LocalLens- Create and activate a virtual environment (recommended)
python -m venv venv
# Windows PowerShell/CMD
.\venv\Scripts\activate
# Linux/macOS
source venv/bin/activate- Install PyTorch (see: PyTorch Install)
# Example (CUDA 12.8)
pip install torch==2.9.1+cu128 torchvision==0.24.1+cu128 --extra-index-url https://download.pytorch.org/whl/cu128
# Example (CPU)
pip install torch- Install dependencies
pip install -r requirements.txt- Select a model (automatically downloads to hugging face cache
~/.cache/huggingface/hub) - Add image directories to your Chroma database (via the "Database Management" dropdown in the UI, or via CLI)
- Enter your search query (e.g., "an orange and black butterfly") and/or upload an image (for reverse image search/combined text + image search)
- The application will display the results in order of confidence
- Update/sync indexed directories if necessary
Click "Find Duplicates" in the UI with a specified indexed image directory to return similar matching images pairs.
- Windows portable:
- Pre-downloaded Package: Download the latest version from the releases page
- Manual install: from the repo root:
git pull- License: Apache-2.0 (see LICENSE)
- Author: grinnch
- Inspired by Where's My Pic? by @Om-Alve