Open
Description
Describe the bug
Select_Text_From_ImageSample, TextRecognition.xaml.cs, When a file is selected, soems times FontSize is zero, the app crash
To Reproduce
Steps to reproduce the behavior:
- start Select_Text_From_ImageSample
- Click on 'from file '
- select the image
- app crash
Expected behavior
Screenshots
Please complete the following information:
- App Version [e.g. 0.4.2.0 from the Microsoft Store]:
Additional context
FontSize = Math.Abs((int)line.BoundingBox.TopRight.Y - (int)line.BoundingBox.BottomRight.Y) * .85,
some case line.BoundingBox.TopRight.Y == (int)line.BoundingBox.BottomRight.Y then FontSize = 0;
then app crash