Repository navigation
add sam3-server: HTTP API + web UI for SAM3/SAM2 inference - #37
Open
ivanovalex32 wants to merge 1 commit into
Open
ivanovalex32 wants to merge 1 commit into
ivanovalex32 wants to merge 1 commit into
Conversation
- HTTP server (httplib.h) with /health /models /segment /track /video/* endpoints - Web UI canvas (index.html inlined via gen_webui.py) - sam3_video_decoder_* + sam3_postprocess_mask public API for video/mask handling - scripts: validate_case.py / validate_cases.sh / server_smoke.sh - tests/cases: 5 detect+aggregate cases with reference masks (IoU >= 0.9) - docs/SERVER.md
ivanovalex32
force-pushed
the
pr-sam3-server
branch
from
November 13, 2026 20:41
3553a61 to
1d64a3c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a dependency-free HTTP inference server (
sam3-server) with a browser UI for SAM3/SAM2 models.What is included
examples/sam3-server/— httplib-based server:/health,/models,/segment(point/mask PVS),/track(memory-bank tracking sessions),/video/upload|open|info|frame|track(video decoding + propagation)index.htmlviascripts/gen_webui.py)sam3.h:sam3_video_decoder_*andsam3_postprocess_mask(fill holes + remove sprinkles)scripts/validate_case.py,scripts/validate_cases.sh,scripts/server_smoke.shdocs/SERVER.mdValidation
#ifndef _WIN32for<dirent.h>/models listing)Notes