Semantic image search: index local photos with CLIP + FAISS, search by text description, browse results in a Flutter UI.
cd app
pip install faiss-cpu torch transformers pillow fastapi uvicornConfigure folders in app/config.json, then build the index:
python index.pyStart the API server (required for the UI):
python api.pyOr from the repo root: scripts\start_backend.bat
API runs at http://127.0.0.1:8000
GET /health— index statusPOST /search— body:{"query": "kitchen interior"}
If anything breaks: python clear_db.py then python index.py
cd frontend\v1
flutter pub get
flutter run -d windowsEnsure the backend is running before searching.
images/ + test_media/ → index.py → FAISS + SQLite
↑
User query → Flutter UI → api.py → search.py (CLIP) → paths + scores











