35 lines
1.1 KiB
JSON
35 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://cognitum.one/schemas/cog-pose-estimation-config-v1.json",
|
|
"title": "Pose Estimation Cog Runtime Config",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"sensing_url": {
|
|
"type": "string",
|
|
"format": "uri",
|
|
"default": "http://127.0.0.1:3000/api/v1/sensing/latest",
|
|
"description": "URL of the local sensing-server's latest-snapshot endpoint."
|
|
},
|
|
"model_path": {
|
|
"type": "string",
|
|
"description": "Filesystem path to the model weights (safetensors or Hailo HEF). Resolved relative to /var/lib/cognitum/apps/pose-estimation/ when not absolute."
|
|
},
|
|
"poll_ms": {
|
|
"type": "integer",
|
|
"minimum": 10,
|
|
"maximum": 1000,
|
|
"default": 40,
|
|
"description": "How often to poll the sensing-server in milliseconds."
|
|
},
|
|
"min_confidence": {
|
|
"type": "number",
|
|
"minimum": 0,
|
|
"maximum": 1,
|
|
"default": 0.3,
|
|
"description": "Drop frames where the inferred pose confidence is below this threshold."
|
|
}
|
|
},
|
|
"required": ["model_path"]
|
|
}
|