Yolo-to-COCO-format-converter icon indicating copy to clipboard operation
Yolo-to-COCO-format-converter copied to clipboard

imagesize library not supported 'bmp' image

Open kkt8282 opened this issue 2 years ago • 1 comments

First of all, thank you for providing a great source code!!

I'm using an image with 'bmp' extension.

The latest version uses the imagesize library.

But libraries do not support extensions.

Why are you using 'imagesize' instead of 'imread -> img.shape'??

kkt8282 avatar Jun 24 '22 01:06 kkt8282

Hi, @kkt8282

I merged PR #12 because of the image loading speed.

If you want to use imread function, you just fixed some codes referring to this.

Maybe, when you use bmp extenstion, you add some codes like this.

Thanks,

Taeyoung96 avatar Jun 24 '22 09:06 Taeyoung96