How to send files from folder

  • 1.1K Views
  • Last Post 25 March 2014
Denis92 posted this 24 March 2014

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);

Anastasia Galimova posted this 25 March 2014

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.

Close