Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OCR API for Windows Phone 8

Is there any 3rd Party OCR library compatible with windows phone 8 or 7

I have used Hawaii Project its not working ,, properly ,, is there any other library which I can use ., ??

..... I have Used OCR - IT and i dont know why .. result is giving me webException .. which means there is nothing in response or ,, the requested uri is not valid ..... can any1 help .................

public void SendToOCRIt() { string imageUrl = "xxxxxxxxxxxxxxx"; // i cant disclose the location of the image

        XElement xe = new XElement("Job",new XElement("InputURL", imageUrl));

        WebClient wc = new WebClient();

        wc.Headers[HttpRequestHeader.ContentType] = "text/xml";

        wc.UploadStringAsync(new Uri("https://svc.webservius.com/v1/wisetrend/wiseocr/submit?wsvKey=OZSpgQ6RF7C8xYYYYTpif6E2XXXXXXXXXX", UriKind.RelativeOrAbsolute),"POST", "<Job><InputURL>xxxxxxxxxxxxxxxxxxxxxx</InputURL></Job>");

        wc.UploadStringCompleted += new UploadStringCompletedEventHandler((sender, e) =>
            {
                if (e.Error != null)
                {
                    Dispatcher.BeginInvoke(() =>
                        {
                            MessageBox.Show(e.Error.ToString());
                        });
                }

                else
                {
                    ResponseText.Text = e.Result.ToString();
                }

            });
    }
like image 534
Ankit Avatar asked Nov 02 '22 23:11

Ankit


1 Answers

You can check Microsoft's OCR library. It works for WP8.
It is available through NuGet https://www.nuget.org/packages/Microsoft.Windows.Ocr/.

like image 133
Nikola Nikolic Avatar answered Nov 12 '22 17:11

Nikola Nikolic