BBox to Polygon
This layer (bbox2poly) converts rectangles ("bounding boxes") to polygons.
1
{
2
"action": "bbox2poly",
3
"src": ["$sample1"],
4
"dst": "$sample2",
5
"settings": {
6
"classes_mapping": {
7
"awesome-rect": "awesome-poly"
8
}
9
}
10
}
Copied!

Settings

  • classes_mapping โ€” dict where keys are existing classes of shape rectangle, and values are new names of classes.
Last modified 1yr ago
Copy link
Contents
Settings