Keep the format while using computer vision

Eduardo Gomez 3,416 Reputation points


I am using computer vision with Azure, to extract text
it works great, but I cannot think of a way to maintain the format

This is what I read

This is the Original, that has spaces

This is my code

    var txt = await ComputerVision.ReadText(VisionClient, url);  
                    var sb = new StringBuilder();  
                    if (txt != null) {  
                        using (UserDialogs.Instance.Loading("test")) {  
                            foreach (var r in txt) {  
                                foreach (var l in r.Lines) {  

                            await Application.Current.MainPage.DisplayAlert("",   
                            sb.ToString(), "OK");  
Azure Computer Vision
Azure Computer Vision
An Azure artificial intelligence service that analyzes content in images and video.
335 questions
{count} votes