mirror of
https://github.com/azaion/detections.git
synced 2026-04-22 08:56:32 +00:00
[AZ-173] [AZ-174] Stream-based detection API and DB-driven AI config
Made-with: Cursor
This commit is contained in:
+2
-13
@@ -20,20 +20,9 @@ def _make_jwt() -> str:
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def video_events(warm_engine, http_client, video_short_path):
|
||||
def video_events(warm_engine, http_client):
|
||||
media_id = f"video-{uuid.uuid4().hex}"
|
||||
body = {
|
||||
"probability_threshold": 0.25,
|
||||
"frame_period_recognition": 4,
|
||||
"frame_recognition_seconds": 2,
|
||||
"tracking_distance_confidence": 0.1,
|
||||
"tracking_probability_increase": 0.1,
|
||||
"tracking_intersection_threshold": 0.6,
|
||||
"altitude": 400.0,
|
||||
"focal_length": 24.0,
|
||||
"sensor_width": 23.5,
|
||||
"paths": [video_short_path],
|
||||
}
|
||||
body = {}
|
||||
token = _make_jwt()
|
||||
|
||||
collected: list[tuple[float, dict]] = []
|
||||
|
||||
Reference in New Issue
Block a user