-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Motivaition
The Applab show the list of the bricks (with minimal information)
When the user clicks on a single brick, the details of the brick are shown.
Only in the brick details we see the compatible model
Changes
- remove the
modelsfrom thev1/bricksendpoint. It is not currenlty used; it should be safe to remove.
curl 127.0.0.1:8800/v1/bricks
{
"bricks": [
"id": "arduino:object_detection",
"name": "Object Detection",
"author": "Arduino",
"description": "",
"category": "video",
"status": "installed",
"models": [
"face-detection",
"yolox-object-detection"
]
},- add the
modelsinto the brick details
GET /v1/bricks/{brickID}"
{
"id": "arduino:object_detection",
"name": "Object Detection",
"author": "Arduino",
"description": "",
"category": "video",
"status": "installed",
...other
// the list of compatible models for the brick with minimal info.
"models":[
{
"id": "yolox-object-detection",
"name": "General purpose object detection - YoloX",
"description": "",
// TODO: what to show in the "more info" button? Maybe only the "url"?
},
{
"id": "face-detection",
"name": "Lightweight-Face-Detection",
"description": "Face bounding box detection. This model is trained on the WIDER FACE dataset and can detect faces in images.",
},
]
}Metadata
Metadata
Assignees
Labels
No labels