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

RepositoryKentucky-Open-Science/WebSAM-for-UKHC
Research areaForks of other projects
Primary languagePython
LanguagesPython 68.6%, TypeScript 30.3%, Dockerfile 0.5%, JavaScript 0.4%, CSS 0.2%
LicenseNone specified
Stars / forks0 / 1
Open issues and pull requests18
Created2023-05-23
Last push2026-02-14
Default branchmain
Forked fromKingfish404/segment-anything-webui — Yet another SAM webui + CLIP

What the README covers

Top contributors

Get the code

git clone https://github.com/Kentucky-Open-Science/WebSAM-for-UKHC.git