metadata
license: mit
sdk: docker
title: Lang-SAM Deployment
colorFrom: blue
pinned: false
short_description: 'Contains endpoints for Lang-SAM (Language-Segment Anything) '
Lang-SAM Deployment
Contains deployment of the Lang-SAM (Language-Segment Anything) model along with SAM2 for advanced image segmentation capabilities. The project provides a FastAPI backend with a web interface for easy interaction.
Features
- Language-guided image segmentation using Lang-SAM
- Advanced segmentation capabilities with SAM2
- FastAPI backend with CORS support
- OpenAI integration for product name processing
API Endpoints
GET /: Health check endpointPOST /segment/langsam: Image segmentation endpoint. Accepts Image URL and text input (product name).POST /segment/sam2: Image segmentation endpoint. Accepts Image and point input from the UI.POST /openai/chat: Product name processing endpointLang-SAM: GitHub Repository
SAM2: Original Implementation