Community

How to send files from folder

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

Was this article helpful?

0 out of 0 found this helpful

Comments

1 comment

  • Avatar
    Permanently deleted user

    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.

    0

Please sign in to leave a comment.