MCPcopy Index your code
hub / github.com/abhishekkrthakur/sam3-playground

github.com/abhishekkrthakur/sam3-playground @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
48 symbols 153 edges 5 files 15 documented · 31% updated 7mo ago★ 33
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

SAM3 Playground

Fun with SAM3

UI Preview

SAM3 Playground UI

Setup

Prerequisites

  1. Create and activate a virtual environment with uv: bash uv venv source .venv/bin/activate

  2. Export your Hugging Face token that has access to SAM3 model files: bash export HF_TOKEN=your_token_here

  3. Install transformers from git: bash uv pip install git+https://github.com/huggingface/transformers.git

  4. Run uv sync

  5. Install project dependencies (editable): bash uv pip install -e .

Quickstart

  • Start UI: uvicorn sam3.ui:app --reload

UI info

Most of it was created by gemini 3

Core symbols most depended-on inside this repo

showEmptyState
called by 7
src/sam3/scripts/app.js
setStatus
called by 6
src/sam3/scripts/app.js
renderBoxes
called by 6
src/sam3/scripts/app.js
_encode_image
called by 5
src/sam3/ui.py
resetResultState
called by 4
src/sam3/scripts/app.js
_generate_colors
called by 3
src/sam3/utils.py
normalizedPoint
called by 3
src/sam3/scripts/app.js
hideContextMenu
called by 3
src/sam3/scripts/app.js

Shape

Function 45
Route 3

Languages

TypeScript60%
Python40%

Modules by API surface

src/sam3/scripts/app.js29 symbols
src/sam3/ui.py12 symbols
src/sam3/utils.py4 symbols
src/sam3/main.py3 symbols

For agents

$ claude mcp add sam3-playground \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact