【发布时间】:2019-07-15 01:44:22
【问题描述】:
我使用此处提供的 PixelAnnotationTool 注释图像:https://github.com/abreheret/PixelAnnotationTool 并使用提供的字典:
{
"labels": {
"unlabeled": {
"categorie": "void",
"color": [
0,
0,
0
],
"id": 0,
"id_categorie": 0,
"name": "unlabeled"
},
"bicycle_motorcycle": {
"categorie": "bicycle_motorcycle",
"color": [
119,
11,
32
],
"id": 1,
"id_categorie": 1,
"name": "bicycle_motorcycle"
},
"bus": {
"categorie": "bus",
"color": [
102,
51,
0
],
"id": 2,
"id_categorie": 2,
"name": "bus"
},
.... }
我想将这些 RGB 掩码转换为 json 多边形格式,以便我可以在 Mask R-CNN 中使用它们。这个怎么做?
【问题讨论】:
-
确定需要提供图片吗?
标签: python image image-processing deep-learning mask