# albumentations

1개의 포스트

Augmentation on bounding boxes

Albumentations Library를 활용한 augmentation을 계속 사용하던 중 object detection에서 bounding box를 가지고 있는 경우에 하는 augmentation과 그냥 단순히 computer vision problem에서 image를 가지고 augmentation을 하는 것이 달라서 기록차 포스트를 적어본다. Simle image Image with bounding boxes 이후에 Custom Dataset에서 transforms을 정의하고, transforms = get_transforms()를 적으면 Data augmentation을 할 수 있다. Bounding Box가 있는 경우와 없는 경우의 차이는 간단한데 bbox_params를 추가해주는 것이다. format: bounding box의 format을 지정해주는 것으로 여기서는 'pascalvoc'를 사용했다. 'pascalvoc'는

2023년 3월 12일
·
0개의 댓글
·