Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add Support for Diacritical Mark, and fix stroke being crop#341

Open
samx81 wants to merge 1 commit intoBelval:masterBelval/TextRecognitionDataGenerator:masterfrom
samx81:feat/support-diacritical-markssamx81/TextRecognitionDataGenerator:feat/support-diacritical-marksCopy head branch name to clipboard
Open

Add Support for Diacritical Mark, and fix stroke being crop#341
samx81 wants to merge 1 commit intoBelval:masterBelval/TextRecognitionDataGenerator:masterfrom
samx81:feat/support-diacritical-markssamx81/TextRecognitionDataGenerator:feat/support-diacritical-marksCopy head branch name to clipboard

Conversation

@samx81
Copy link
Copy Markdown

@samx81 samx81 commented May 22, 2024

  • feat: combines diacritical mark with its previous character to proper draw diacritical chars
  • fix: wider stroke can be correctly draw without cutting off

Before:

Text: 佇咧麵擔仔的kha̋ng-páng頂懸

wrong_dia

wrong and ugly cut off under "麵擔仔的"
wrong_stroke

After:

correct_dia

…er draw diacritical chars

- fix: wider stroke can be correctly draw without cutting off
@samx81 samx81 changed the title Add Support for Diacritical Mark, and fix stroke being cut off Add Support for Diacritical Mark, and fix stroke being crop May 23, 2024
@samx81
Copy link
Copy Markdown
Author

samx81 commented May 23, 2024

I realize that word_split options can solve diacritical mark problem too, however stroke cropping problem can still be solved by this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.