sakshee05 commited on
Commit
6fc464e
·
verified ·
1 Parent(s): 4cb955f

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +21 -10
README.md CHANGED
@@ -1,10 +1,21 @@
1
- ---
2
- title: LangSAM
3
- emoji: 🏃
4
- colorFrom: purple
5
- colorTo: yellow
6
- sdk: docker
7
- pinned: false
8
- ---
9
-
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Lang-SAM Deployment
2
+
3
+ Contains endpoints for Lang-SAM (Language-Segment Anything) model along with SAM2 for advanced image segmentation capabilities.
4
+
5
+ ## Features
6
+
7
+ - Language-guided image segmentation using Lang-SAM
8
+ - Advanced segmentation capabilities with SAM2
9
+ - FastAPI backend with CORS support
10
+ - OpenAI integration for product name processing
11
+
12
+ ## API Endpoints
13
+
14
+ - `GET /`: Health check endpoint
15
+ - `POST /segment/langsam`: Image segmentation endpoint. Accepts Image URL and text input (product name).
16
+ - `POST /segment/sam2`: Image segmentation endpoint. Accepts Image and point input from the UI.
17
+ - `POST /openai/chat`: Product name processing endpoint
18
+
19
+
20
+ - Lang-SAM: [GitHub Repository](https://github.com/luca-medeiros/lang-segment-anything)
21
+ - SAM2: [Original Implementation](https://github.com/facebookresearch/segment-anything)