LossEndFound is an AI-powered Lost and Found application designed to help users find lost items by utilizing vector similarity search capabilities. The system leverages similarity search (using cosine) to match lost and found items based on their user's description of the Item.
- Image Upload: Users can upload images of lost or found items. (In development)
- AI-Powered Matching: The application uses Cohere's embeddings to extract features from uploaded images and ChromaDB for efficient similarity search to match lost and found items.
- FastAPI Backend: The backend of the application is built using FastAPI, offering a high-performance, easy-to-use interface.
- FastAPI is used for the backend of the application. It provides an asynchronous web framework that allows for easy API development, and it's known for its high performance and intuitive design.
- Cohere's embeddings are employed to generate embeddings. These embeddings are then used to compare and match similar items in the database.
- ChromaDB is utilized for storing the vector embeddings.
- Python serves as the core programming language for the backend, handling everything from server-side logic to managing API requests and database queries.
- Upload Lost or Found Item: Users upload images of lost or found items via the frontend.
- Embedding Generation: The image features are converted into vector embeddings using Cohere.
- Similarity Search: The generated embeddings are stored in ChromaDB, and the system runs similarity searches to match lost and found items.
- Results: Users are presented with a list of items that closely match the uploaded image based on user's description of the Item.
-
Clone the repository:
git clone https://github.com/Sudhan-Dahake/Lost_And_Found.git cd LossEndFound
-
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables for Firebase, Cohere API key, and ChromaDB in a .env file:
COHERE_API_KEY='please-get-your-own-cohere-api-key'
-
Run the application:
uvicorn main:app --host 0.0.0.0 --port 80