You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2020/11/09 17:01:23 UTC
[incubator-streampipes] branch STREAMPIPES-234 updated: Fix image
labeling component
This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch STREAMPIPES-234
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git
The following commit(s) were added to refs/heads/STREAMPIPES-234 by this push:
new 80396a8 Fix image labeling component
80396a8 is described below
commit 80396a82b5001673cb60d4cc21e840621b57bfa6
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Mon Nov 9 18:01:06 2020 +0100
Fix image labeling component
---
ui/src/app/core-ui/image/image-labeling/image-labeling.component.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/src/app/core-ui/image/image-labeling/image-labeling.component.ts b/ui/src/app/core-ui/image/image-labeling/image-labeling.component.ts
index 5e47381..9d789b9 100644
--- a/ui/src/app/core-ui/image/image-labeling/image-labeling.component.ts
+++ b/ui/src/app/core-ui/image/image-labeling/image-labeling.component.ts
@@ -176,7 +176,7 @@ export class ImageLabelingComponent implements OnInit {
const points = this.polygonLabelingService.endLabeling(position);
const coco = this.cocoFile;
const annotation = this.cocoFormatService.addPolygonAnnotationFirstImage(coco, points,
- this.selectedLabel.categoryId, this.selectedLabel.name);
+ this.selectedLabel.categoryId, this.selectedLabel.name, this.selectedLabel.name);
this.polygonLabelingService.draw(layer, shift, annotation, this.imageView);
}
}