-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
motivation
Add the required model boolean into the brick list installed into the app.
- add the
require_modeinto the app brick list
curl 127.0.0.1:8800/v1/apps/ZXhhbXBsZXM6dmlkZW8tZmFjZS1kZXRlY3Rpb24/bricks
{
"bricks": [
{
"id": "arduino:video_object_detection",
"name": "Video Object Detection",
"author": "Arduino",
"category": "",
"status": "installed",
"model": "face-detection"
...other
// added
"require_model": true
},
{
"id": "arduino:web_ui",
"name": "WebUI - HTML",
"author": "Arduino",
"category": "ui",
"status": "installed"
...other
// added
"require_model": false // TODO or omitting if it is not requried a ai model
}
]
}- add the
require_model
curl 127.0.0.1:8800/v1/apps/ZXhhbXBsZXM6dmlkZW8tZmFjZS1kZXRlY3Rpb24/bricks/arduino:video_object_detection
{
"id": "arduino:video_object_detection",
"name": "Video Object Detection",
"author": "Arduino",
"category": "",
"status": "installed",
"model": "face-detection"
...other
// added
"require_model": true
}Metadata
Metadata
Assignees
Labels
No labels