From b8fe1927ef0862d02d0db49d354455a4a494a92e Mon Sep 17 00:00:00 2001 From: Abbyy Date: Tue, 10 Jan 2012 14:48:37 +0400 Subject: [PATCH] Tips for first-time users. Set credentials and recognition language. --- Android/README | 19 +++++++++++++++++++ Java/README | 12 ++++++++++++ WindowsPhone/CloudDemo/ProcessingPage.xaml.cs | 1 + WindowsPhone/README | 10 ++++++++++ iPhone/OcrSdkDemo/README | 12 ++++++++++++ 5 files changed, 54 insertions(+) create mode 100644 Android/README create mode 100644 Java/README diff --git a/Android/README b/Android/README new file mode 100644 index 0000000..29fdc03 --- /dev/null +++ b/Android/README @@ -0,0 +1,19 @@ +This folder contains demo sample for Android + +!!! IMPORTANT !!! + +== Access credentials == + +Please modify src/android/demoActivity.java before running the program. + +You need to provide your credentials to connect to Cloud OCR SDK. +See run() method. + +== Recognition language == + +The sample is pre-configured to recognize English texts. If you +recognize text in other language, you need to change the behaviour using +ProcessingSettings.AsUrlParams() method. + +See src/com/abbyy/ocrsdk/ProcessingSettings.java + diff --git a/Java/README b/Java/README new file mode 100644 index 0000000..8093403 --- /dev/null +++ b/Java/README @@ -0,0 +1,12 @@ +This folder contains demo sample for Java + +!!! IMPORTANT !!! + +== Recognition language == + +The sample is pre-configured to recognize English texts. If you +recognize text in other language, you need to change the behaviour using +ProcessingSettings.AsUrlParams() method. + +See src\com\abbyy\ocrsdk\ProcessingSettings.java + diff --git a/WindowsPhone/CloudDemo/ProcessingPage.xaml.cs b/WindowsPhone/CloudDemo/ProcessingPage.xaml.cs index 44e1f23..7a98e02 100644 --- a/WindowsPhone/CloudDemo/ProcessingPage.xaml.cs +++ b/WindowsPhone/CloudDemo/ProcessingPage.xaml.cs @@ -27,6 +27,7 @@ public ProcessingPage() InitializeComponent(); RestServiceClient syncClient = new RestServiceClient(); + // !!!! Provide your credentials here !!!! syncClient.ApplicationId = ""; syncClient.Password = ""; diff --git a/WindowsPhone/README b/WindowsPhone/README index 8a4efe5..1ea554b 100644 --- a/WindowsPhone/README +++ b/WindowsPhone/README @@ -1,8 +1,18 @@ This folder contains demo sample for Windows Phone !!! IMPORTANT !!! + +== Access credentials == + Please modify CloudDemo\ProcessingPage.xaml.cs before running the program You need to provide your credentials to connect to Cloud OCR SDK. See ProcessingPage() constuctor +== Recognition language == + +The sample is pre-configured to recognize English and Russian texts. If you +recognize text in other language, you need to change the behaviour using +ProcessingSettings.SetLanguage() method. +See CloudDemo\ProcessingPage.xaml.cs\PhoneApplicationPage_Loaded() + diff --git a/iPhone/OcrSdkDemo/README b/iPhone/OcrSdkDemo/README index 4693648..50f7ad1 100644 --- a/iPhone/OcrSdkDemo/README +++ b/iPhone/OcrSdkDemo/README @@ -1,8 +1,20 @@ This folder contains ABBYY Cloud OCR SDK demo sample for iPhone !!! IMPORTANT !!! + +== Access credentials == + Please modify Sources\RecognitionViewController.m before running the program You need to provide your credentials to connect to Cloud OCR SDK. See MyApplicationID and MyPassword variables +== Recognition language == + +The sample is pre-configured to recognize English texts. If you +recognize text in other language, you need to change the behaviour using +ProcessingParams.urlString + +See Sources\ProcessingParams.m + +