Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimSearch

Semantic image search: index local photos with CLIP + FAISS, search by text description, browse results in a Flutter UI.

Quick start

1. Backend (Python)

cd app
pip install faiss-cpu torch transformers pillow fastapi uvicorn

Configure folders in app/config.json, then build the index:

python index.py

Start the API server (required for the UI):

python api.py

Or from the repo root: scripts\start_backend.bat

API runs at http://127.0.0.1:8000

  • GET /health — index status
  • POST /search — body: {"query": "kitchen interior"}

If anything breaks: python clear_db.py then python index.py

2. Frontend (Flutter)

cd frontend\v1
flutter pub get
flutter run -d windows

Ensure the backend is running before searching.

Architecture

images/ + test_media/  →  index.py  →  FAISS + SQLite
                              ↑
User query  →  Flutter UI  →  api.py  →  search.py (CLIP)  →  paths + scores

Benchmarks

Local Processing

CPU

Local CPU Benchmark Results Task Manager CPU Logical Processors

GPU

Local GPU Benchmark Results Task Manager GPU Utilization History

NPU

Local NPU Benchmark Results Task Manager NPU Utilization Active Task Manager NPU Utilization History Task Manager NPU Compilation Idle

NPU Tooling & Compilation: IDE NPU Compilation Start IDE NPU Fallback

Cloud Processing (Google Colab - CUDA T4)

Colab CUDA T4 Benchmark - 96 Images Colab CUDA T4 Benchmark - 100 Images (High Res)

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages