workflows / configs /license_plates.json
SkalskiP's picture
initial commit
63a1180
{
"specification":{
"version":"1.0",
"inputs":[
{
"type":"InferenceImage",
"name":"image"
}
],
"steps":[
{
"type":"ObjectDetectionModel",
"name":"plates_detector",
"image":"$inputs.image",
"model_id":"vehicle-registration-plates-trudk/2"
},
{
"type":"DetectionOffset",
"name":"offset",
"predictions":"$steps.plates_detector.predictions",
"offset_x":200,
"offset_y":40
},
{
"type":"Crop",
"name":"cropping",
"image":"$inputs.image",
"detections":"$steps.offset.predictions"
},
{
"type":"OCRModel",
"name":"step_ocr",
"image":"$steps.cropping.crops"
}
],
"outputs":[
{
"type":"JsonField",
"name":"predictions",
"selector":"$steps.plates_detector.predictions"
},
{
"type":"JsonField",
"name":"image",
"selector":"$steps.plates_detector.image"
},
{
"type":"JsonField",
"name":"recognised_plates",
"selector":"$steps.step_ocr.result"
},
{
"type":"JsonField",
"name":"crops",
"selector":"$steps.cropping.crops"
}
]
}
}