WebSAM-for-UKHC
Fork A fork of Kingfish404/segment-anything-webui; the README may describe the upstream project.
Overview
WebSAM for UKHC is a three part package:
WebSAM for UKHC leverages Segment Anything to provide in-browser image segmentations. It consists of a ReactJS frontend, and a FastAPI python backend which contains API functions for saving and loading images, generating segmentation masks, and uploading JSON files with points to replicate results.
To create a segmentation, all you have to do is upload a file, click, and then when done clicking you can save the image to the database. Additionally, the threshold slider allows you to tweak segmentation around the click points.
There is a tab which only shows up when an image is uploaded and the first point has been placed. The button is Download Results which allows you to download the file, generate and save a mask file, and save a json file with the points used to create the segmentation to the WebSAM Image Database.
WebSAM Image Database Repository
From the project’s README on GitHub.
At a glance
| Repository | Kentucky-Open-Science/WebSAM-for-UKHC |
|---|---|
| Research area | Forks of other projects |
| Primary language | Python |
| Languages | Python 68.6%, TypeScript 30.3%, Dockerfile 0.5%, JavaScript 0.4%, CSS 0.2% |
| License | None specified |
| Stars / forks | 0 / 1 |
| Open issues and pull requests | 18 |
| Created | 2023-05-23 |
| Last push | 2026-02-14 |
| Default branch | main |
| Forked from | Kingfish404/segment-anything-webui — Yet another SAM webui + CLIP |
What the README covers
Top contributors
- @NCPE227 (50 commits)
- @Kingfish404 (5 commits)
- @codybum (4 commits)
Get the code
git clone https://github.com/Kentucky-Open-Science/WebSAM-for-UKHC.git