답변: 이미지 및 테두리 상자 크기 조정 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/
Reference
이 문제에 관하여(답변: 이미지 및 테두리 상자 크기 조정 re: 이미지 및 테두리 상자 크기 조정), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://dev.to/aniketmaurya/answer-resizing-image-and-its-bounding-box-5c5d
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
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())
pip install chitra
</p>
Reference
이 문제에 관하여(답변: 이미지 및 테두리 상자 크기 조정 re: 이미지 및 테두리 상자 크기 조정), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://dev.to/aniketmaurya/answer-resizing-image-and-its-bounding-box-5c5d텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)