주요 콘텐츠

AI 모델 훈련에 Ground Truth 사용하기

AI 모델의 훈련 및 평가를 위해 ground truth 데이터 전처리, 증강 및 분할

레이블이 지정된 ground truth 데이터는 객체 검출, 의미론적 분할, 영상 분류, 비디오 행동 인식 등 다양한 컴퓨터 비전 작업에서 지도 학습 AI 모델을 훈련시키는 데 필수적입니다. Computer Vision Toolbox™는 관련 레이블을 선택하고, 파일 경로를 수정하고, ground truth 객체를 병합하고, 훈련 및 평가를 위한 데이터 세트를 구성함으로써, 레이블이 지정된 ground truth 데이터를 딥러닝 훈련에 사용할 수 있도록 준비하는 툴을 제공합니다.

영상 레이블 지정기 앱과 비디오 레이블 지정기 앱은 레이블이 지정된 ground truth 데이터를 groundTruth 객체 형식으로 내보냅니다. 레이블이 지정된 ground truth를 AI 모델과 호환되는 형식으로 변환하여 훈련 데이터 세트를 생성하려면 objectDetectorTrainingData, pixelLabelTrainingData, sceneLabelTrainingData와 같은 함수를 사용하십시오. 이러한 함수는 객체 검출 작업, 분할 작업, 분류 작업을 지원합니다. 자세한 내용은 Training Data for Object Detection and Semantic Segmentation 항목과 Postprocess Exported Labels for Instance Segmentation Training 항목을 참조하십시오. polyToBlockedImage를 사용하여 블록 형식 영상 표현을 만들어 대규모 영상을 효율적으로 처리할 수도 있습니다.

ground truth 데이터에서 특정 레이블을 선택하고 작업 요구 사항에 따라 주석을 필터링 및 구성하려면 selectLabelsByGroup, selectLabelsByType 또는 selectLabelsByName과 같은 함수를 사용하십시오. 또한 이 툴박스는 여러 ground truth 객체를 결합하는 merge, 데이터 세트 참조를 업데이트하는 changeFilePaths, 레이블 정보를 추출하는 gatherLabelData와 같은 함수를 사용하여 레이블이 지정된 데이터의 후처리를 지원합니다. 비디오 데이터의 경우, writeVideoScenessceneTimeRanges와 같은 유틸리티는 장면 수준 주석을 관리하는 데 도움을 줍니다.

영상 레이블을 동료와 공유하고 함께 검토하려면 영상 레이블 지정기 앱에서 팀 프로젝트를 만들어 보십시오. 자세한 내용은 Get Started with Team-Based Labeling 항목을 참조하십시오.

영상 레이블 지정기컴퓨터 비전 응용 분야에서 영상에 레이블 지정
비디오 레이블 지정기Label video for computer vision applications

함수

모두 확장

selectLabelsByGroupSelect ground truth labels by label group
selectLabelsByTypeSelect ground truth labels by label type
selectLabelsByNameSelect ground truth labels by label name

레이블이 지정된 Ground Truth 저장

groundTruthGround truth label data
pixelLabelDatastoreDatastore for pixel label data
boxLabelDatastoreDatastore for bounding box label data

레이블이 지정된 Ground Truth 객체 후처리

mergeMerge two or more ground truth objects (R2023b 이후)
changeFilePathsChange file paths in ground truth data
writeVideoScenesWrite video sequence to video file (R2021b 이후)
sceneTimeRangesTime ranges of scene labels from ground truth data (R2021b 이후)
gatherLabelDataGather label data from ground truth

레이블 데이터저장소 후처리

combine여러 데이터저장소의 데이터 결합
transform데이터저장소 변환
splitlabelsFind indices to split labels according to specified proportions
countlabelsCount number of unique labels
countEachLabelCount occurrence of pixel or box labels
folders2labelsGet list of labels from folder names
objectDetectorTrainingDataCreate training data for an object detector
pixelLabelTrainingDataCreate training data for semantic segmentation from ground truth
sceneLabelTrainingDataCreate training data for scene classification from ground truth (R2022b 이후)
polyToBlockedImageCreate labeled blockedImage object from set of ROIs (R2021b 이후)
mergeMerge two or more ground truth objects (R2023b 이후)
attributeTypeAttribute type enumerations for labeling
labelTypeLabel type enumerations for labeling

도움말 항목

추천 예제