Skip to content

Commit 69f7172

Browse files
committed
Fix fise
1 parent 344a43e commit 69f7172

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/superannotate/lib/core/usecases/images.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -838,11 +838,10 @@ def execute(self):
838838
color = class_color_map.get(instance["className"])
839839
if not color:
840840
class_color_map[instance["className"]] = self.generate_color()
841-
fill_color = (
842-
*class_color_map[instance["className"]],
843-
self.TRANSPARENCY,
844-
)
845841
for image in images:
842+
fill_color = (
843+
*class_color_map[instance["className"]], 255 if image.type == "fuse" else self.TRANSPARENCY
844+
)
846845
if instance["type"] == "bbox":
847846
image.content.draw_bbox(
848847
**instance["points"],

0 commit comments

Comments
 (0)