mmocr
mmocr copied to clipboard
add if condition to visualize the kie output only when the output argument is supplied
Motivation
Improve the MMOCR package.
Modification
this prevents ImageFont OSError: unknown file format in production, when visualization is not required, as well as saves resources producing more efficient functionality to when required.
BC-breaking (Optional)
MINOR logical update
Use cases (Optional)
--output argument should be supplied to get the visualized KIE output
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
Hi @nabilragab !We are grateful for your efforts in helping improve this open-source project during your personal time. Welcome to join OpenMMLab Special Interest Group (SIG) private channel on Discord, where you can share your experiences, ideas, and build connections with like-minded peers. To join the SIG channel, simply message moderator— OpenMMLab on Discord or briefly share your open-source contributions in the #introductions channel and we will assist you. Look forward to seeing you there! Join us :https://discord.gg/UjgXkPWNqA If you have a WeChat account,welcome to join our community on WeChat. You can add our assistant :openmmlabwx. Please add "mmsig + Github ID" as a remark when adding friends:) Thank you again for your contribution❤