update content

This commit is contained in:
rentainhe
2024-08-14 16:00:12 +08:00
parent 14d6e504b9
commit 303bec0406
2 changed files with 9 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ Grounded SAM 2 does not introduce significant methodological changes compared to
## Contents ## Contents
- [Installation](#installation) - [Installation](#installation)
- [Grounded SAM 2 Demo](#grounded-sam-2-demos) - [Grounded SAM 2 Demos](#grounded-sam-2-demos)
- [Grounded SAM 2 Image Demo](#grounded-sam-2-image-demo-with-grounding-dino) - [Grounded SAM 2 Image Demo](#grounded-sam-2-image-demo-with-grounding-dino)
- [Grounded SAM 2 Image Demo (with Grounding DINO 1.5 & 1.6)](#grounded-sam-2-image-demo-with-grounding-dino-15--16) - [Grounded SAM 2 Image Demo (with Grounding DINO 1.5 & 1.6)](#grounded-sam-2-image-demo-with-grounding-dino-15--16)
- [Grounded SAM 2 Video Object Tracking Demo](#grounded-sam-2-video-object-tracking-demo) - [Grounded SAM 2 Video Object Tracking Demo](#grounded-sam-2-video-object-tracking-demo)
@@ -27,6 +27,8 @@ Grounded SAM 2 does not introduce significant methodological changes compared to
- [Grounded SAM 2 Video Object Tracking with Custom Video Input (using Grounding DINO)](#grounded-sam-2-video-object-tracking-demo-with-custom-video-input-with-grounding-dino) - [Grounded SAM 2 Video Object Tracking with Custom Video Input (using Grounding DINO)](#grounded-sam-2-video-object-tracking-demo-with-custom-video-input-with-grounding-dino)
- [Grounded SAM 2 Video Object Tracking with Custom Video Input (using Grounding DINO 1.5 & 1.6)](#grounded-sam-2-video-object-tracking-demo-with-custom-video-input-with-grounding-dino-15--16) - [Grounded SAM 2 Video Object Tracking with Custom Video Input (using Grounding DINO 1.5 & 1.6)](#grounded-sam-2-video-object-tracking-demo-with-custom-video-input-with-grounding-dino-15--16)
- [Grounded SAM 2 Video Object Tracking with Continues ID (using Grounding DINO)](#grounded-sam-2-video-object-tracking-with-continuous-id-with-grounding-dino) - [Grounded SAM 2 Video Object Tracking with Continues ID (using Grounding DINO)](#grounded-sam-2-video-object-tracking-with-continuous-id-with-grounding-dino)
- [Grounded SAM 2 Florence-2 Demos](#grounded-sam-2-florence-2-demos)
- [Grounded SAM 2 Florence-2 Image Demo](#grounded-sam-2-florence-2-image-demo)
- [Citation](#citation) - [Citation](#citation)
@@ -221,6 +223,11 @@ If you want to try `Grounding DINO 1.5` model, you can run the following scripts
python grounded_sam2_tracking_demo_with_continuous_id_gd1.5.py python grounded_sam2_tracking_demo_with_continuous_id_gd1.5.py
``` ```
## Grounded SAM 2 Florence-2 Demos
### Grounded SAM 2 Florence-2 Image Demo
In this section, we will explore how to integrate the feature-rich and robust open-source models [Florence-2](https://arxiv.org/abs/2311.06242) and SAM 2 to develop practical applications.
### Citation ### Citation
If you find this project helpful for your research, please consider citing the following BibTeX entry. If you find this project helpful for your research, please consider citing the following BibTeX entry.

View File

@@ -173,7 +173,7 @@ def object_detection_and_segmentation(
if __name__ == "__main__": if __name__ == "__main__":
image_path = "/comp_robot/rentianhe/code/Grounded-SAM-2/notebooks/images/groceries.jpg" image_path = "./notebooks/images/groceries.jpg"
# pipeline-1: detection + segmentation # pipeline-1: detection + segmentation
object_detection_and_segmentation( object_detection_and_segmentation(