Merge in RR/vidocp from poly_to_rects_segmentation to master
Squashed commit of the following:
commit 3dffe067ef0bb4796eab22007eb6970b29f47822
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date: Sat Feb 5 16:10:28 2022 +0100
readme updated
commit 448517205259134a8427b48d86d0d5331b726487
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date: Sat Feb 5 16:09:35 2022 +0100
restructured dirs
commit 058c2971631c71d520b1a94ea75e249f9234ad87
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date: Sat Feb 5 15:57:08 2022 +0100
renaming
commit 4e64a3d07f1dad76775955639157ec7b60e6ad38
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date: Sat Feb 5 15:46:03 2022 +0100
readme updated
commit 728bedb13a2769b4652fd674ef26988efebcc7dc
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date: Sat Feb 5 15:33:42 2022 +0100
added DVC
commit e2d5594afd6683d8207007d3a85d178dd0a3e546
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date: Sat Feb 5 14:49:09 2022 +0100
renaming
117 lines
3.6 KiB
JSON
117 lines
3.6 KiB
JSON
{
|
|
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
|
|
"data": {
|
|
"values": "<DVC_METRIC_DATA>"
|
|
},
|
|
"title": "<DVC_METRIC_TITLE>",
|
|
"width": 300,
|
|
"height": 300,
|
|
"layer": [
|
|
{
|
|
"encoding": {
|
|
"x": {
|
|
"field": "<DVC_METRIC_X>",
|
|
"type": "quantitative",
|
|
"title": "<DVC_METRIC_X_LABEL>"
|
|
},
|
|
"y": {
|
|
"field": "<DVC_METRIC_Y>",
|
|
"type": "quantitative",
|
|
"title": "<DVC_METRIC_Y_LABEL>",
|
|
"scale": {
|
|
"zero": false
|
|
}
|
|
},
|
|
"color": {
|
|
"field": "rev",
|
|
"type": "nominal"
|
|
}
|
|
},
|
|
"layer": [
|
|
{
|
|
"mark": "line"
|
|
},
|
|
{
|
|
"selection": {
|
|
"label": {
|
|
"type": "single",
|
|
"nearest": true,
|
|
"on": "mouseover",
|
|
"encodings": [
|
|
"x"
|
|
],
|
|
"empty": "none",
|
|
"clear": "mouseout"
|
|
}
|
|
},
|
|
"mark": "point",
|
|
"encoding": {
|
|
"opacity": {
|
|
"condition": {
|
|
"selection": "label",
|
|
"value": 1
|
|
},
|
|
"value": 0
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"transform": [
|
|
{
|
|
"filter": {
|
|
"selection": "label"
|
|
}
|
|
}
|
|
],
|
|
"layer": [
|
|
{
|
|
"mark": {
|
|
"type": "rule",
|
|
"color": "gray"
|
|
},
|
|
"encoding": {
|
|
"x": {
|
|
"field": "<DVC_METRIC_X>",
|
|
"type": "quantitative"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"encoding": {
|
|
"text": {
|
|
"type": "quantitative",
|
|
"field": "<DVC_METRIC_Y>"
|
|
},
|
|
"x": {
|
|
"field": "<DVC_METRIC_X>",
|
|
"type": "quantitative"
|
|
},
|
|
"y": {
|
|
"field": "<DVC_METRIC_Y>",
|
|
"type": "quantitative"
|
|
}
|
|
},
|
|
"layer": [
|
|
{
|
|
"mark": {
|
|
"type": "text",
|
|
"align": "left",
|
|
"dx": 5,
|
|
"dy": -5
|
|
},
|
|
"encoding": {
|
|
"color": {
|
|
"type": "nominal",
|
|
"field": "rev"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|