Skip to content

maxliu2001/SAM-ROS-Client-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 

Repository files navigation

Real-time Image Segmentation Client and Server solution for Meta SAM Model in ROS

Segment Anything in ROS

Server Branch

The server branch of this project is designed to alleviate GPU computation load when processing data stream on the client side. Sometimes it might be a good idea to let another local machine or even a cloud instance to host the SAM model and to make predictions. The server's main function is hosting the SAM model and processing segmentation API requests from the client ROS service through a python Flask server. More documentations about setting up the server could be found in the server branch.

Client Branch

The client branch consists of a ROS service allows direct input of point coordinates, point coordinate masks as well as bounding boxes in order for the model to make predictions. Additionally, it also supports direct input of segmentation masks to further narrow down the area you want to include in the mask. If you want to make a manual selection of points or bounding box, you can invoke the customizable GUI with a boolean flag which will generate the input parameters once you close it.

An example of the GUI is as follows:
Screenshot 2023-11-15 071832
More documentations about setting up the service could be found in the client branch.

About

SAM ROS service with a server component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published