HYPJUDY / A4-paper-sheet-detection-and-cropping

Document Scanner. Automatically detect paper and crop. Writing in C++ from scratch.
https://hypjudy.github.io/2017/03/28/cvpr-A4-paper-sheet-detection-and-cropping/
MIT License
50 stars 11 forks source link

Not able to load .Jpg image file.. #2

Closed ganeshoab closed 6 years ago

ganeshoab commented 6 years ago

I want to load .jpg format image. Because I have .bmp image file larger than 1920*1080 resolution and size is greater than 5 mb. So I need to load .jpg file. Could you please advise me to how can I load .jpg image file?

Thanks, Ganesh

HYPJUDY commented 6 years ago

Since this code only support bmp format input, can you try to convert your jpg format image into bmp format? (e.g. convert by ImageMagick) Considering your large resolution image, you can resize it firstly.

ganeshoab commented 6 years ago

Thank you.


From: Yupan notifications@github.com Sent: Tuesday, May 8, 2018 7:49:49 AM To: HYPJUDY/A4-paper-sheet-detection-and-cropping Cc: Ganesh Ghube; Author Subject: Re: [HYPJUDY/A4-paper-sheet-detection-and-cropping] Not able to load .Jpg image file.. (#2)

Since this code only support bmp format input, can you try to convert your jpg format image into bmp format? (e.g. convert by ImageMagickhttps://www.imagemagick.org/script/index.php) Considering your large resolution image, you can resize it firstly.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/HYPJUDY/A4-paper-sheet-detection-and-cropping/issues/2#issuecomment-387263627, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AhGsUnwAOz3GVlMyrwdxIvLkDb9o62bgks5twQDFgaJpZM4Tp_vN.