cleanup and files added
This commit is contained in:
@@ -0,0 +1,125 @@
|
||||
{
|
||||
"multi_camera_config": {
|
||||
"enabled": true,
|
||||
"max_cameras": 4,
|
||||
"camera_positions": ["north", "east", "south", "west"],
|
||||
"synchronized_processing": true,
|
||||
"frame_rate": 15,
|
||||
"resolution": "1920x1080"
|
||||
},
|
||||
"pipeline_server_config": {
|
||||
"queue_maxsize": 50,
|
||||
"auto_start": true,
|
||||
"inference_interval": 1,
|
||||
"detection_model": "intersection_optimized",
|
||||
"metadata_policies": ["detectionPolicy", "reidPolicy", "classificationPolicy"]
|
||||
},
|
||||
"camera_definitions": {
|
||||
"camera1": {
|
||||
"id": "intersection-cam1",
|
||||
"position": "north",
|
||||
"video_source": "camera_north.mp4",
|
||||
"metadata_policy": "detectionPolicy",
|
||||
"calibration": {
|
||||
"intrinsics": [],
|
||||
"position": {"x": 0, "y": -50, "z": 10},
|
||||
"rotation": {"pitch": -15, "yaw": 0, "roll": 0}
|
||||
}
|
||||
},
|
||||
"camera2": {
|
||||
"id": "intersection-cam2",
|
||||
"position": "east",
|
||||
"video_source": "camera_east.mp4",
|
||||
"metadata_policy": "detectionPolicy",
|
||||
"calibration": {
|
||||
"intrinsics": [],
|
||||
"position": {"x": 50, "y": 0, "z": 10},
|
||||
"rotation": {"pitch": -15, "yaw": -90, "roll": 0}
|
||||
}
|
||||
},
|
||||
"camera3": {
|
||||
"id": "intersection-cam3",
|
||||
"position": "south",
|
||||
"video_source": "camera_south.mp4",
|
||||
"metadata_policy": "detectionPolicy",
|
||||
"calibration": {
|
||||
"intrinsics": [],
|
||||
"position": {"x": 0, "y": 50, "z": 10},
|
||||
"rotation": {"pitch": -15, "yaw": 180, "roll": 0}
|
||||
}
|
||||
},
|
||||
"camera4": {
|
||||
"id": "intersection-cam4",
|
||||
"position": "west",
|
||||
"video_source": "camera_west.mp4",
|
||||
"metadata_policy": "detectionPolicy",
|
||||
"calibration": {
|
||||
"intrinsics": [],
|
||||
"position": {"x": -50, "y": 0, "z": 10},
|
||||
"rotation": {"pitch": -15, "yaw": 90, "roll": 0}
|
||||
}
|
||||
}
|
||||
},
|
||||
"detection_config": {
|
||||
"model_config": {
|
||||
"batch_size": 1,
|
||||
"inference_batch_size": 1,
|
||||
"confidence_threshold": 0.5,
|
||||
"nms_threshold": 0.4
|
||||
},
|
||||
"label_schema": {
|
||||
"detection_labels": ["vehicle", "pedestrian"],
|
||||
"vehicle_types": ["car", "truck", "bus", "motorcycle"],
|
||||
"pedestrian_types": ["person", "cyclist"]
|
||||
}
|
||||
},
|
||||
"scene_analytics": {
|
||||
"object_tracking": {
|
||||
"max_unreliable_frames": 10,
|
||||
"non_measurement_frames_dynamic": 8,
|
||||
"non_measurement_frames_static": 16,
|
||||
"baseline_frame_rate": 30,
|
||||
"tracking_threshold": 100
|
||||
},
|
||||
"roi_definitions": {
|
||||
"crosswalk_north": {
|
||||
"type": "rectangle",
|
||||
"coordinates": {"x": 400, "y": 200, "width": 200, "height": 50},
|
||||
"analytics": ["pedestrian_safety", "crossing_time"]
|
||||
},
|
||||
"crosswalk_south": {
|
||||
"type": "rectangle",
|
||||
"coordinates": {"x": 400, "y": 600, "width": 200, "height": 50},
|
||||
"analytics": ["pedestrian_safety", "crossing_time"]
|
||||
},
|
||||
"lane_north_bound": {
|
||||
"type": "rectangle",
|
||||
"coordinates": {"x": 450, "y": 250, "width": 100, "height": 300},
|
||||
"analytics": ["vehicle_count", "dwell_time", "speed_estimation"]
|
||||
},
|
||||
"lane_south_bound": {
|
||||
"type": "rectangle",
|
||||
"coordinates": {"x": 350, "y": 250, "width": 100, "height": 300},
|
||||
"analytics": ["vehicle_count", "dwell_time", "speed_estimation"]
|
||||
},
|
||||
"intersection_center": {
|
||||
"type": "rectangle",
|
||||
"coordinates": {"x": 350, "y": 350, "width": 200, "height": 200},
|
||||
"analytics": ["conflict_detection", "traffic_flow"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"data_processing": {
|
||||
"enable_real_time_analytics": true,
|
||||
"enable_historical_data": true,
|
||||
"analytics_refresh_rate": 1000,
|
||||
"data_retention_hours": 24
|
||||
},
|
||||
"performance_optimization": {
|
||||
"gpu_acceleration": true,
|
||||
"parallel_processing": true,
|
||||
"memory_optimization": true,
|
||||
"target_fps": 30,
|
||||
"max_processing_latency_ms": 100
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user