Skip to content

Commit

Permalink
Hot fix example mode
Browse files Browse the repository at this point in the history
 - add propagate_labels option to default_config
 - fix label and class config
 - fix default config
 - stricter version requirements
  • Loading branch information
ch-sa committed Feb 25, 2023
1 parent ea9c8ab commit ccc463a
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 10 deletions.
2 changes: 1 addition & 1 deletion labelCloud/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.0"
__version__ = "1.0.1"
6 changes: 5 additions & 1 deletion labelCloud/resources/default_classes.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,9 @@
],
"default": 0,
"type": "object_detection",
"format": "centroid_rel"
"format": "centroid_abs",
"created_with": {
"name": "labelCloud",
"version": "1.0.1"
}
}
2 changes: 2 additions & 0 deletions labelCloud/resources/default_config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ std_rotation = 0.5
std_scaling = 0.03
; minimum value for the length, width and height of a bounding box
min_boundingbox_dimension = 0.01
; propagate labels to next point cloud if it has no labels yet
propagate_labels = False

[USER_INTERFACE]
; only allow z-rotation of bounding boxes. set false to also label x- & y-rotation
Expand Down
8 changes: 4 additions & 4 deletions labelCloud/resources/examples/exemplary.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
{
"name": "cart",
"centroid": {
"x": -0.20347,
"y": -0.216727,
"z": 0.065128
"x": -0.1908196,
"y": -0.23602801,
"z": 0.08046184
},
"dimensions": {
"length": 0.75,
Expand All @@ -18,7 +18,7 @@
"rotations": {
"x": 0,
"y": 0,
"z": 236
"z": 235
}
}
]
Expand Down
14 changes: 12 additions & 2 deletions labels/_classes.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
{
"classes": [
{
"name": "cart",
"name": "unassigned",
"id": 0,
"color": "#9da2ab"
},
{
"name": "cart",
"id": 1,
"color": "#f156ff"
},
{
"name": "box",
"id": 2,
"color": "#f156ff"
}
],
Expand All @@ -11,6 +21,6 @@
"format": "centroid_abs",
"created_with": {
"name": "labelCloud",
"version": "1.0.0"
"version": "1.0.1"
}
}
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ packages =
labelCloud.view
labelCloud.view.startup
install_requires =
numpy
numpy>1.20.0
open3d
PyOpenGL
PyOpenGL-accelerate
PyQt5
PyQt5>=5.15.7
python_requires = >=3.7

[options.entry_points]
Expand Down

0 comments on commit ccc463a

Please sign in to comment.