コミュニティ

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

この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

1件のコメント

  • 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

サインインしてコメントを残してください。