Skip to content

Commit dcb61c0

Browse files
author
shuichi
committed
add comments
1 parent de5b9ca commit dcb61c0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

examples/visual_inspection_ai.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import json
22

3-
# いろいろなフォーマットを受け取って、VisualInspectionAiのjsonlで出力するのが責務
4-
53

4+
# visualInspectionAiの一要素として表せる図形の情報。
5+
# jsonl型として出力するのが責務
66
class VisualInspectionAiFigure:
77
def __init__(self, vertex, project_type):
88
self.vertex = vertex
@@ -52,6 +52,8 @@ def __make_vi_annotations_jsonl(self) -> dict:
5252
}
5353

5454

55+
# いろいろなフォーマットを受け取って、VisualInspectionAiのjsonlで出力するのが責務
56+
5557
class VisualInspectionAi:
5658
def __init__(self, figures):
5759
self.figures = figures

0 commit comments

Comments
 (0)