add open-vocab demo

This commit is contained in:
rentainhe
2024-08-19 00:22:47 +08:00
parent 5f886743d9
commit afa91ca407
2 changed files with 92 additions and 1 deletions

View File

@@ -283,6 +283,13 @@ python grounded_sam2_image_demo_florence2.py \
--text_input "The left red car."
```
**Open-Vocabulary Detection and Segmentation**
```bash
python grounded_sam2_image_demo_florence2.py \
--pipeline open_vocabulary_detection_segmentation \
--image_path ./notebooks/images/cars.jpg \
--text_input "two cars"
```
### Citation