Downloads · 30 days
34
23% of all-time downloads
perseusdg/doorway-door-people-window-seg
doorway-door-people-window-seg is a image segmentation model from perseusdg. Use it for the image segmentation task on the model card, and read the license before you ship it in a product. It is set up for ultralytics. The card lists the license as agpl-3.0.
A tiny (3.1 M-param) instance-segmentation model for indoor navigation, distilled from SAM 3 (offline concept-prompt teacher) into a Jetson-deployable YOLO26n-seg student.
Downloads · 30 days
34
23% of all-time downloads
All-time downloads
150
Public
Repo size
17.6 MB
Likes
1
Public
Click a slice to open those files.
.onnx11.1 MB · 63%
From the Hugging Face model README
A tiny (3.1 M-param) instance-segmentation model for indoor navigation, distilled from SAM 3 (offline concept-prompt teacher) into a Jetson-deployable YOLO26n-seg student.
| id | class | meaning |
|---|---|---|
| 0 | doorway | passable opening — open/ajar door (incl. open glass door), framed hole you can walk through |
| 1 | door | closed door slab (incl. closed glass door) |
| 2 | people | any person |
| 3 | window | windows / glass surfaces (glass walls, panels) — not mirrors |
Class 4 = mirror is internal: it is detected but never output — used at inference to
suppress door/doorway/window predictions that fall on a mirror (reflections are
phantom obstacles). Run predictions through mirror_suppress.finalize().
door: ~79–82% (conference-room case).doorway_seg_yolo26n.pt — Ultralytics weights (train/val/predict).doorway_seg_yolo26n.onnx — NMS-free ONNX (opset 17, 640×640) for TensorRT/ONNXRuntime; build the Jetson engine on-device with trtexec.mirror_suppress.py — inference post-process: mirror suppression + portal de-dup (finalize).predict.py — demo: run on image/video/webcam with the post-process applied.from ultralytics import YOLO
from mirror_suppress import finalize, dets_from_result # from this repo
model = YOLO("doorway_seg_yolo26n.pt")
r = model.predict("frame.jpg", conf=0.10, imgsz=640)[0] # predict low; finalize re-thresholds
dets = finalize(dets_from_result(r), out_conf=0.35) # 4-class output, reflections dropped
# dets: [{"cls":0..3, "box":[x1,y1,x2,y2], "conf":...}, ...]
ADE20K, DoorDetect, COCO-person (capped), Trans10K-v2 (glass door/window), + active-learning
from office/corridor/industrial and university walkthrough videos. ADE20K ground-truth mirror
masks provide the internal mirror class. Quantization: FP16 lossless; INT8 PTQ ≈ −3 mAP pts.
doorway is the rarest/hardest class (small AP); open passages viewed straight-on can read as door.Distilled with SAM 3 (Meta). Student: Ultralytics YOLO26n-seg.