Skip to content

Conversation

@takahiro-tamenishi
Copy link
Contributor

マスク画像のロジックの修正

Comment on lines +815 to +819
if not (
new_points[0] == new_points[-2]
and new_points[1] == new_points[-1]
):
new_points.extend([new_points[0], new_points[1]])
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[432, 436, 431, 437, 415, 437, 414, 438, 398, 438, 397, 439, 384, 439, 383, 440, 372,]のような形で始点と終点が異なる場合に正しくないマスク画像が出力されてしまうので修正

@takahiro-tamenishi takahiro-tamenishi merged commit b8f1bb9 into main Oct 22, 2024
1 check passed
@takahiro-tamenishi takahiro-tamenishi deleted the fix-mask-export branch October 22, 2024 10:17
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.

3 participants