-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: centralize edge_orchestrator conf as JSON only
- Loading branch information
Baptiste O'Jeanson
committed
Sep 7, 2023
1 parent
23e7d72
commit 8f70696
Showing
69 changed files
with
1,286 additions
and
759 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"infra": { | ||
"binary_storage": { | ||
"type": "filesystem", | ||
"params": { | ||
"src_directory": "/tmp/vio/edge_orchestrator/data/storage" | ||
} | ||
}, | ||
"metadata_storage": { | ||
"type": "filesystem" | ||
}, | ||
"mode1_forward": { | ||
"type": "fake" | ||
}, | ||
"telemetry_sink": { | ||
"type": "fake" | ||
}, | ||
"cameras": [ | ||
{ | ||
"name": "camera_#1", | ||
"type": "fake", | ||
"source": "marker_images", | ||
"position": "back", | ||
"exposition": 100 | ||
} | ||
] | ||
}, | ||
"domain": { | ||
"camera_rules": [ | ||
{ | ||
"name": "camera_#1", | ||
"models_graph": [ | ||
{ | ||
"name": "marker_quality_control", | ||
"category": "classification", | ||
"version": "1", | ||
"class_names": [ | ||
"OK", | ||
"KO" | ||
], | ||
"image_resolution": [ | ||
224, | ||
224 | ||
], | ||
"depends_on": [] | ||
} | ||
], | ||
"rule": { | ||
"name": "expected_label_rule", | ||
"parameters": { | ||
"expected_label": [ | ||
"OK" | ||
] | ||
} | ||
} | ||
} | ||
], | ||
"item_rule": { | ||
"name": "min_threshold_KO_rule", | ||
"params": { | ||
"threshold": 1 | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
77 changes: 56 additions & 21 deletions
77
edge_orchestrator/config/station_configs/marker_classification_with_1_fake_camera.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,63 @@ | ||
{ | ||
"cameras": { | ||
"camera_id4": { | ||
"type": "fake", | ||
"source": "marker_images", | ||
"position": "back", | ||
"exposition": 100, | ||
"models_graph": { | ||
"model_id4": { | ||
"name": "marker_quality_control", | ||
"depends_on": [] | ||
} | ||
}, | ||
"camera_rule": { | ||
"name": "expected_label_rule", | ||
"parameters": { | ||
"expected_label": ["OK"] | ||
} | ||
"infra": { | ||
"binary_storage": { | ||
"type": "filesystem", | ||
"params": { | ||
"src_directory": "/tmp/vio/edge_orchestrator/data/storage" | ||
} | ||
}, | ||
"metadata_storage": { | ||
"type": "filesystem" | ||
}, | ||
"model_forward": { | ||
"type": "fake" | ||
}, | ||
"telemetry_sink": { | ||
"type": "fake" | ||
}, | ||
"cameras": { | ||
"camera_#1": { | ||
"type": "fake", | ||
"source": "marker_images", | ||
"position": "back", | ||
"exposition": 100 | ||
} | ||
} | ||
}, | ||
"item_rule": { | ||
"name": "min_threshold_KO_rule", | ||
"parameters": { | ||
"threshold": 1 | ||
"domain": { | ||
"cameras": { | ||
"camera_#1": { | ||
"models_graph": { | ||
"model_#4": { | ||
"name": "marker_quality_control", | ||
"category": "classification", | ||
"version": "1", | ||
"class_names": [ | ||
"OK", | ||
"KO" | ||
], | ||
"image_resolution": [ | ||
224, | ||
224 | ||
], | ||
"depends_on": [] | ||
} | ||
}, | ||
"camera_rule": { | ||
"name": "expected_label_rule", | ||
"parameters": { | ||
"expected_label": [ | ||
"OK" | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"item_rule": { | ||
"name": "min_threshold_KO_rule", | ||
"parameters": { | ||
"threshold": 1 | ||
} | ||
} | ||
} | ||
} |
18 changes: 15 additions & 3 deletions
18
edge_orchestrator/config/station_configs/marker_classification_with_1_picamera.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 15 additions & 3 deletions
18
edge_orchestrator/config/station_configs/marker_classification_with_1_usbcamera.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 45 additions & 6 deletions
51
edge_orchestrator/config/station_configs/marker_classification_with_2_fake_cameras.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 12 additions & 2 deletions
14
edge_orchestrator/config/station_configs/pin_detection_with_1_usbcamera.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.