{"id":20541583,"url":"https://github.com/coffeevampir3/grounding-sam2-demo","last_synced_at":"2025-04-14T09:05:05.623Z","repository":{"id":251115687,"uuid":"836436872","full_name":"CoffeeVampir3/grounding-sam2-demo","owner":"CoffeeVampir3","description":"A simple demo for utilizing grounding dino and segment anything v2 models together","archived":false,"fork":false,"pushed_at":"2024-07-31T22:24:51.000Z","size":497,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-02T01:26:41.397Z","etag":null,"topics":["demo-app","gradio","grounding","grounding-dino","machine-learning","segment","segment-anything","segmentation"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CoffeeVampir3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-31T21:06:31.000Z","updated_at":"2024-08-02T00:09:13.000Z","dependencies_parsed_at":"2024-08-01T01:25:15.596Z","dependency_job_id":"c7858601-d082-4f0b-bd1c-106e9339c2ba","html_url":"https://github.com/CoffeeVampir3/grounding-sam2-demo","commit_stats":null,"previous_names":["coffeevampir3/grounding-sam2-demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoffeeVampir3%2Fgrounding-sam2-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoffeeVampir3%2Fgrounding-sam2-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoffeeVampir3%2Fgrounding-sam2-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoffeeVampir3%2Fgrounding-sam2-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CoffeeVampir3","download_url":"https://codeload.github.com/CoffeeVampir3/grounding-sam2-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224865311,"owners_count":17382663,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["demo-app","gradio","grounding","grounding-dino","machine-learning","segment","segment-anything","segmentation"],"created_at":"2024-11-16T01:24:45.702Z","updated_at":"2024-11-16T01:24:46.233Z","avatar_url":"https://github.com/CoffeeVampir3.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## How 3:\n\n`pip install -r requirements.txt`\n`python download_models.py`\n`python interface.py`\n\nThe text box controls the grounding, and is what gives you the mask. Type something in and hit ground image. The 2nd from the right image can place control points, you can switch the control points be positive (include this part of the image) or negative (exclude this part of the image.) Control points are optional but will give SAM2 a better chance of segmenting well if you pick good points.\n\n- Grounds things with \u003chttps://github.com/IDEA-Research/GroundingDINO\u003e\n- Segments things with \u003chttps://github.com/facebookresearch/segment-anything-2\u003e\n![image](https://github.com/user-attachments/assets/848c0895-a1e9-466a-ab9c-a7411f8e973c)\n![image](https://github.com/user-attachments/assets/5a1dc0d9-9cd6-45ae-9124-dd412381e19a)\n![image](https://github.com/user-attachments/assets/900daf09-b435-474e-8cac-356d4452218e)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoffeevampir3%2Fgrounding-sam2-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoffeevampir3%2Fgrounding-sam2-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoffeevampir3%2Fgrounding-sam2-demo/lists"}