ISR / inference.py

Commit History

fix: clean up video display — remove track ID labels, smaller fonts, masks-only for segmentation
08b5641

Zhen Ye Claude Opus 4.6 (1M context) commited on

feat(inspection): persist RLE masks during segmentation inference
1bdac0d

Zhen Ye Claude Opus 4.6 (1M context) commited on

feat(isr): store latest frame in writer thread for ISR cropping
a47699c

Zhen Ye Claude Opus 4.6 commited on

feat: add TTFS instrumentation to run_inference pipeline
e6f81f2

Zhen Ye Claude Opus 4.6 commited on

fix: steady 24fps MJPEG streaming with no frame drops
7640b62

Zhen Ye Claude Opus 4.6 commited on

fix: weight download race condition + rewrite CLAUDE.md
bfc6bae

Zhen Ye Claude Opus 4.6 commited on

refactor: remove first-frame tab and simplify to video-only UI
562781d

Zhen Ye Claude Opus 4.6 commited on

refactor: strip threat fields from all frontend and backend code
f90111a

Zhen Ye Claude Opus 4.6 commited on

feat: add GPT vision-based mission relevance assessment
5170b0a

Zhen Ye Claude Opus 4.6 commited on

fix: hide instance_id from segmentation overlay labels
04c92f3

Zhen Ye Claude Opus 4.6 commited on

Eliminate redundant JPEG frame loading via shared frame store
c97a5f9

Zhen Ye commited on

feat(ttfs): instrument segmentation time-to-first-stream
301e154

Zhen Ye commited on

refactor: rename hf_yolov8 → yolo11 across codebase
f89fa0b

Zhen Ye Claude Opus 4.6 commited on

chore: remove dead code and unused frontend modules
d74c718

Zhen Ye commited on

refactor(gsam2): make SAM2 detector-agnostic
21c29ae

Zhen Ye commited on

fix: replace gated GSAM2 streaming with adaptive-rate publisher thread
f09ca9c

Zhen Ye Claude Opus 4.6 commited on

perf: defer GPU->CPU mask transfer to render thread via LazyFrameObjects
a1ae44f

Zhen Ye Claude Opus 4.6 commited on

fix: correct benchmark metrics — remove double-counting and add missing timers
2f284f5

Zhen Ye Claude Opus 4.6 commited on

perf: pipeline GSAM2 tracking + rendering with startup buffer
7124ca1

Zhen Ye Claude Opus 4.6 commited on

removed extra bbox lable and track id
882ee33

Zhen Ye commited on

feat: add num_maskmem parameter to /benchmark endpoint
1c6c619

Zhen Ye Claude Opus 4.6 commited on

perf: GPU-resident tensor pipeline for SAM2 video propagation
5aec47c

Zhen Ye Claude Opus 4.6 commited on

feat: add detailed timing metrics to GroundedSAM2 segmenter
74ae00c

Zhen Ye commited on

feat: add job processing timing and latency measurements to backend and frontend
517108e

Zhen Ye commited on

feat(backend): enhance inference pipeline with GLM logic and structured outputs
bb6e650

Zhen Ye commited on

Suppress labels for non-relevant objects in visualization
b3371b1

Zhen Ye commited on

Fix GSAM2 label rendering double-draw and sync GPT enrichment to job storage
87cfe90

Zhen Ye commited on

Handle GPT refusal paths and preserve assessment status
aadca27

Zhen Ye commited on

Fix segmentation mission routing and first-frame GPT alignment
d73eff6

Zhen Ye commited on

Fix GSAM2 GPT writer state safety and background call args
8e10ddb

Zhen Ye commited on

Fix cross-GPU mask device mismatch in GSAM2 reconciliation
968c327

Zhen Ye commited on

Harden GSAM2 parallel pipeline and tracking reconciliation
c90fe44

Zhen Ye commited on

Refine Grounded-SAM2 tracking behavior and video frame handling
032b60f

Zhen Ye commited on

Remove SAM3 and standardize segmentation on Grounded-SAM2
3fde4e4

Zhen Ye commited on

Fix Grounding DINO load reliability and writer error handling
a7f0600

Zhen Ye commited on

Add diagnostic logging to pinpoint tracker dropping detections
a70bcf5

Zhen Ye Claude Opus 4.6 commited on

Fix GPT thread safety, improve relevance logic, and add caching for COCO matching
374a0ef

Zhen Ye commited on

Async GPT enrichment: fire-and-forget background task updates track cards from UNASSESSED to ASSESSED
1a9b396

Zhen Ye commited on

Simplify first-frame processing, replace depth pre-scan with incremental stats, add GPT enrichment thread
6375955

Zhen Ye commited on

Add StreamingVideoWriter (ffmpeg pipe), reuse first-frame GPT results in inference pipeline
4977275

Zhen Ye commited on

Update overlays, tracker, GPT reasoning, and threat chat improvements
0c01887

Zhen Ye commited on

feat: Add LLM post-processing relevance gate for broad detection
624478a

Zhen Ye Claude Opus 4.6 commited on

feat: Add mission-driven object relevance abstractions
a2ca6f9

Zhen Ye Claude Opus 4.6 commited on

fix: Remove chat emojis, improve tracker GPT metadata sync
d2acfa9

Zhen Ye commited on

chore(forensics): finalize verification and trace validation\n\n- Fix unreachable background reasoning in inference.py\n- Enable enabling GPT reasoning by default in frontend\n- Verify correct data mapping for 15 naval fields\n- Clean up legacy code paths and ensure backward compatibility
2fb805f

Zhen Ye commited on

feat(threat-assessment): implement naval threat analysis with GPT-4o\n\n- Rename utils/gpt_distance.py to utils/gpt_reasoning.py and update logic for 15 naval threat features\n- Add Pydantic schemas for NavalThreatAssessment in utils/schemas.py\n- Update backend (app.py, inference.py) to use new threat estimation and pass full metadata\n- refactor(frontend): render threat level badges and detailed feature table in UI
8094b21

Zhen Ye commited on

feat: replace SimpleTracker with ByteTrack
6896025

Zhen Ye commited on

Refine overlays: Hide on first frame and remove speed from labels
7a7588e

Zhen Ye commited on

Respect CUDA_VISIBLE_DEVICES env var (do not delete it)
d3c7792

Zhen Ye commited on

Fix NameError: import set_track_data in inference.py
03a0884

Zhen Ye commited on