Skip to content

Conversation

@shuCrane
Copy link

@shuCrane shuCrane commented Sep 30, 2024

概要

表題の通り、segementationに関してもyolo形式でexportできるようにしました。

動作確認

  • ブラウザ版からexportしたyoloファイルと、sdkでexportしたyoloファイルが一致することを確認
    *classのアノテーションの順番や、行の順序に関してはばらつきがあるものの、座標部分の全てと個数が一致することを確認
  • class指定をしてexportした場合にも同様に値が一致することを確認

y = (ymin + ymax) / 2
w = xmax - xmin
h = ymax - ymin

Copy link
Author

Choose a reason for hiding this comment

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

__coco2yolo_rect に関しては既存の部分を切り出しただけ

objs.append(" ".join(obj))
return objs


Copy link
Author

Choose a reason for hiding this comment

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

ここ以下も既存部分を切り出しただけ

@shuCrane shuCrane self-assigned this Sep 30, 2024
@takahiro-tamenishi takahiro-tamenishi merged commit ede99a6 into main Dec 17, 2024
1 check passed
@takahiro-tamenishi takahiro-tamenishi deleted the feature/export-yolo branch December 17, 2024 05:35
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.

4 participants