답변: 이미지 및 테두리 상자 크기 조정 re: 이미지 및 테두리 상자 크기 조정

답: 이미지 및 경계 상자 크기 조정



2021년 7월 4일


0





이를 수행하는 또 다른 방법은 CHITRA을 사용하는 것입니다.
image = Chitra(img_path, box, label)
# Chitra can rescale your bounding box automatically based on the new image size.
image.resize_image_with_bbox((224, 224))

print('rescaled bbox:', image.bounding_boxes)
plt.imshow(image.draw_boxes())

https://chitra.readthedocs.io/en/latest/

pip install chitra



</p>





Open Full Answer




이미지와 경계 상자의 크기를 개별적으로 조정하는 것은 고통스럽고 짜증날 수 있습니다. CHITRA는 새로운 이미지 크기에 따라 경계 상자의 크기를 자동으로 재조정할 수 있는 딥 러닝용 이미지 유틸리티 라이브러리입니다.

📝 문서: https://chitra.readthedocs.io/en/latest/

좋은 웹페이지 즐겨찾기