アノテーションのダウンロード
3 分
アノテーションのダウンロード
シーンに対してアノテーションが発注されると、Kognicプラットフォーム内で作成、レビュー、および品質管理が行われます。
アノテーションが納品準備完了となりエクスポートされると、OpenLABEL形式OpenLABEL形式でダウンロードできます。
シーンのアノテーション
from kognic.io.client import KognicIOClient
client = KognicIOClient()
for annotation in client.annotation.get_annotations_for_scene(scene_uuid=scene_uuid):
openlabel_dict = annotation.content
# ...このメソッドは、シーンのUUIDを使用して、OpenLABEL JSONを含むAnnotationオブジェクトの形式で、納品済みのすべてのアノテーションを返します。
プロジェクトまたはバッチのアノテーション
from kognic.io.client import KognicIOClient
client = KognicIOClient()
# Get generator with annotations
annotations = client.annotation.get_project_annotations(project="project-identifier",
batch="batch-identifier")
for annotation in annotations:
openlabel_dict = annotation.content
# ...指定したprojectおよびbatchについて、納品済みのすべてのアノテーションのAnnotationオブジェクトを取得します。