Spaces:
Sleeping
Sleeping
Commit History
3 days ago
-
ui: dark theme by default; theme-neutral styling; consistent violation colours
5c87d90 -
fix: Streamlit Cloud cv2 import error; redesign UI and remove layout jitter
- requirements: ultralytics-opencv-headless (plain ultralytics pulls opencv-python, which needs libGL and failed to import cv2 on Streamlit Cloud); opencv-headless <5 - UI: light theme, plain sidebar menu, settings in a popover, KPI strip, compact violation cards in a fixed-height list, records table with row selection - jitter: results are drawn on a fresh rerun with fixed-size images and fixed-height lists, the camera editor sends JPEG instead of uncompressed PNG and only renders when opened; tools/ui_probe.py measures layout stability in Chromea2c8572
4 days ago
-
feat: Bengaluru-ready detection pipeline with retrained models
- UVH-26 vehicle detector (IISc, Bengaluru Safe-City CCTV) replaces COCO - photo-mode rider model (two-wheeler + riders: helmet / no helmet / triple riding); train split de-duplicated against valid/test by image-embedding similarity - retrained head-level helmet detector (YOLO11-S, 640) and plate localiser (YOLO11-S) - fine-tuned Indian plate OCR (ONNX) with legal-format decoding and multi-frame voting - rewritten rules: lane-direction wrong-side, stop-line/red-light crossing, timed parking - Streamlit UI rebuild: scene editor, violation cards, debug view, model performance page - 69 tests; tools/evaluate.py reports valid and test splits separately - requirements: fast-plate-ocr[onnx], imageio-ffmpeg; easyocr dropped (benchmark only)29088fd
-
fix: add lapx to fix tracking dependency failure on streamlit cloud
61c009e -
fix: remove libglib2.0-0 from packages.txt due to broken Streamlit Cloud apt repo
9754912 -
fix: add packages.txt for opencv system dependencies on streamlit cloud
fc4c2ef -
chore: force CPU pytorch and headless opencv for fast HF Space startup
988c8fa
-
Revert "fix: nuclear - remove two-column layout, feed now stacks below player, zero reflow possible"
This reverts commit 8143d802e2ee52487f98aa38d35a399b8a0ab5a9.e1249fe -
fix: nuclear - remove two-column layout, feed now stacks below player, zero reflow possible
8143d80 -
fix: eliminate layout shake by replacing empty()+container() with in-place placeholder writes and CSS column height anchors
580dc46 -
Fix flicker with CSS anchor + lower TTL to 3 frames for faster DB commits
5611a38 -
Fix: add streamlit-image-coordinates to requirements
b48dea3 -
Fix UI jitter: throttle all frame updates to every 5 frames
0aa4e54 -
Fix UI shaking: only re-render live feed when new alerts arrive
1c9037b -
Fix image mode: use flush_all_incidents to properly write to DB
ba9396e -
Fix bug: force flush violations at video end
7196a40
-
Initial clean commit with models
6aee097