# segment-anything **Repository Path**: JousenZhou/segment-anything ## Basic Information - **Project Name**: segment-anything - **Description**: 11111111111111111 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-08-30 - **Last Updated**: 2023-08-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Serving Segment Anything Web demo ## Description [segment anything model (SAM)](https://github.com/facebookresearch/segment-anything) that can reduce the resources of the server by meta. You can get image embedding in a single inference and do all the segmentation of the image on the client side. I implemented the click and hover of this model using gradio and web. And I've dockerized it so you can quickly test it out. ## Demo video Segment-Everything web demo ([youtube](https://youtu.be/4_JpPuxxoMw)) https://github.com/ming-90/segment-anything/assets/48505409/29cf2937-410b-4718-85bc-dd602e831863 ## Task - Implementation Segment Anything Model image embedding API (Done) - Implementation Segment Anything Model using Gradio (Done) - Create frontend UI for SAM ( Hover, Click inference ) (Done) - Create triton and inference server - Dockerize server - Create Docker compose ## How to use ### Server run ```bash make run-server ``` ### Gradio run ```bash make run-gradio http://localhost:7860 ``` ### Web run ```bash make run-web http://localhost:8889 ``` ## References - https://github.com/facebookresearch/segment-anything