You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The font detection module does not currently work as intended.
The purpose of the module is to be able to detect the font and font size of the texts in the image. It is almost nearly impossible to detect font style so fixing this is not a priority currently.
Currently, the module is not calculating the original font size correctly. The algorithm works as follows currently:
Set left = MINIMUM_FONT_SIZE * scale, right = MAXIMUM_FONT_SIZE * scale
Binary search the right font size using the comparator is_font_size_small and is_font_size_big.
Return the found font_size
However, the issue lies inside is_font_size_small and is_font_size_big which needs to be further investigated and fixed asap.
The text was updated successfully, but these errors were encountered:
The font detection module does not currently work as intended.
The purpose of the module is to be able to detect the font and font size of the texts in the image. It is almost nearly impossible to detect font style so fixing this is not a priority currently.
Currently, the module is not calculating the original font size correctly. The algorithm works as follows currently:
left = MINIMUM_FONT_SIZE * scale
,right = MAXIMUM_FONT_SIZE * scale
is_font_size_small
andis_font_size_big
.However, the issue lies inside
is_font_size_small
andis_font_size_big
which needs to be further investigated and fixed asap.The text was updated successfully, but these errors were encountered: