어노테이션 다운로드
3 분
Download Annotations
씬(Scene)에 대해 어노테이션이 주문되면, Kognic 플랫폼 내에서 제작, 검토, 품질 관리 과정을 거치게 됩니다.
어노테이션이 전달 준비가 완료되어 내보내기(export)되면, 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
# ...이 메서드는 Scene 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 객체를 조회합니다.