mirror of
https://github.com/azaion/detections.git
synced 2026-06-21 11:41:08 +00:00
Added camera config
This commit is contained in:
@@ -37,9 +37,13 @@ erDiagram
|
||||
double tracking_intersection_threshold
|
||||
int big_image_tile_overlap_percent
|
||||
int model_batch_size
|
||||
double altitude
|
||||
bool has_camera_config
|
||||
double current_height
|
||||
double current_zoom
|
||||
double current_angle
|
||||
double focal_length
|
||||
double sensor_width
|
||||
double altitude
|
||||
}
|
||||
|
||||
AIAvailabilityStatus {
|
||||
@@ -107,7 +111,7 @@ Groups detections for a single frame or image tile.
|
||||
|
||||
### AIRecognitionConfig
|
||||
|
||||
Runtime configuration for inference behavior. Created from dict (API) or msgpack (internal).
|
||||
Runtime configuration for inference behavior. Created from dict (API). Camera values are grouped under `camera_config` at the API boundary and expanded into `current_height`, `current_zoom`, `current_angle`, `focal_length`, and `sensor_width` internally. `altitude` remains as a legacy alias for `current_height`.
|
||||
|
||||
### AIAvailabilityStatus
|
||||
|
||||
@@ -125,7 +129,7 @@ SSE event payload. Status values: AIProcessing, AIProcessed, Error.
|
||||
|
||||
### AIConfigDto
|
||||
|
||||
API input configuration. Same fields as AIRecognitionConfig with defaults.
|
||||
API input configuration. Same inference fields as `AIRecognitionConfig` with defaults, plus nested `camera_config` for GSD and physical-size filtering.
|
||||
|
||||
### HealthResponse
|
||||
|
||||
@@ -144,7 +148,7 @@ Annotation names encode media source and processing context:
|
||||
| Entity | Format | Usage |
|
||||
|--------|--------|-------|
|
||||
| Detection/Annotation | msgpack (compact keys) | `annotation.serialize()` |
|
||||
| AIRecognitionConfig | msgpack (compact keys) | `from_msgpack()` |
|
||||
| AIRecognitionConfig | Python dict | `AIRecognitionConfig.from_dict()` |
|
||||
| AIAvailabilityStatus | msgpack | `serialize()` |
|
||||
| DetectionDto/Event | JSON (Pydantic) | HTTP API responses, SSE |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user