From 7c0995e9c330a7efaa5b13803e8a15dc803518cc Mon Sep 17 00:00:00 2001 From: rentainhe <596106517@qq.com> Date: Wed, 7 Aug 2024 15:51:24 +0800 Subject: [PATCH] refine file name --- README.md | 3 ++- ... => grounded_sam2_tracking_demo_custom_video_input_gd1.5.py | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename grounded_sam2_tracking_demo_with_video_input_gd1.5.py => grounded_sam2_tracking_demo_custom_video_input_gd1.5.py (100%) diff --git a/README.md b/README.md index badf7e1..91115b7 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ python grounded_sam2_tracking_demo_with_gd1.5.py Users can upload their own video file (e.g. `assets/hippopotamus.mp4`) and specify their custom text prompts for grounding and tracking with the following scripts: ```bash -python grounded_sam2_tracking_demo_with_video_input_gd1.5.py +python grounded_sam2_tracking_demo_custom_video_input_gd1.5.py ``` You can specify the params in this file: @@ -145,6 +145,7 @@ You can specify the params in this file: VIDEO_PATH = "./assets/hippopotamus.mp4" TEXT_PROMPT = "hippopotamus." OUTPUT_VIDEO_PATH = "./hippopotamus_tracking_demo.mp4" +API_TOKEN_FOR_GD1_5 = "Your API token" # api token for G-DINO 1.5 ``` After running our demo code, you can get the tracking results as follows: diff --git a/grounded_sam2_tracking_demo_with_video_input_gd1.5.py b/grounded_sam2_tracking_demo_custom_video_input_gd1.5.py similarity index 100% rename from grounded_sam2_tracking_demo_with_video_input_gd1.5.py rename to grounded_sam2_tracking_demo_custom_video_input_gd1.5.py