Hi.

I developing an metro app for using ABBYY Cloud OCR SDK service. My question is. How can i send image from folder to your API?

        string ID = "id";
        string geslo = "password";
        slika = url_slike.Text; //the url image from textbox

        string glavni_url = "http://cloud.ocrsdk.com/";
        string url = String.Format("{0}/processImage?profile=barcodeRecognition&exportFormat=xml", glavni_url);

        HttpWebRequest zahteva = (HttpWebRequest)HttpWebRequest.Create(url);

        string URLstreznika1 = "";
        if (URLstreznika1.StartsWith(glavni_url, StringComparison.CurrentCultureIgnoreCase))
            zahteva.Credentials = new System.Net.NetworkCredential(ID, geslo);

asked 24 Mar '14, 15:09

Denis92's gravatar image

Denis92
113

edited 25 Mar '14, 17:09

Anastasia%20Galimova's gravatar image

Anastasia Ga... ♦♦
790112


You can send an image with specified path. It is implemented in our code samples, for example, ConsoleTestApp from C# sample: http://ocrsdk.com/documentation/quick-start/cs/

Sending images from a specified folder is not implemented on our side, you can do it yourself.

link

answered 25 Mar '14, 09:17

Anastasia%20Galimova's gravatar image

Anastasia Ga... ♦♦
790112

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×158
×30
×4

Asked: 24 Mar '14, 15:09

Seen: 1,009 times

Last updated: 25 Mar '14, 17:09

© 2016 ABBYY. All rights Reserved. www.ABBYY.com | Privacy Policy | Legal