update sensor bench

This commit is contained in:
ykcheungab
2026-09-01 11:14:56 +08:00
parent ef3ee84a68
commit 8cacb12abc
55 changed files with 4032 additions and 323 deletions
+8 -1
View File
@@ -1,15 +1,22 @@
#!/usr/bin/env python3
"""Launch Sensor Bench without installing the package.
"""Launch the public Sensor Bench exhibition app without installing the package.
Usage (from the repository root):
python run.py
Private operator UI:
python internal/run_operator.py
"""
from __future__ import annotations
import os
import sys
from pathlib import Path
# Must be set before importing OpenCV / sensor_bench modules that import cv2.
os.environ.setdefault("OPENCV_VIDEOIO_MSMF_ENABLE_HW_TRANSFORMS", "0")
ROOT = Path(__file__).resolve().parent
SRC = ROOT / "src"
if str(SRC) not in sys.path: