Create README.md
Browse files
README.md
CHANGED
@@ -1,10 +1,21 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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)
|