Spaces:
Sleeping
Sleeping
Commit History
3 days ago
-
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