Skip to content

Conversation

grzegorz-roboflow
Copy link
Contributor

Description

Extend PolygonZoneAnnotator to let user to set opacity when drawing zone on the scene. Default setting (opacity == 0) results in unchanged behavior. When opacity is greater than 0 then zone is filled with opacity.

polygon_zone_annotator_opacity

Type of change

  • New feature (non-breaking change which adds functionality)

How has this change been tested, please provide a testcase or example of how you tested the change?

Added unit test covering PolygonZoneAnnotator.annotate

Any specific deployment considerations

N/A

Docs

Added opacity to PolygonZoneAnnotator docstring

@LinasKo
Copy link
Contributor

LinasKo commented Sep 19, 2024

Tested in Colab.

Looks good! Thanks @grzegorz-roboflow!

@LinasKo LinasKo merged commit fdda725 into develop Sep 19, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants