Skip to content

Commit cc6ad7b

Browse files
Merge pull request aspose-ocr-cloud#9 from samicheemagroupdocs/master
Fixed issues in docs
2 parents b8c396b + c3a2597 commit cc6ad7b

File tree

10 files changed

+76
-37
lines changed

10 files changed

+76
-37
lines changed

ocr/developer-guide/extract-localized-text-from-an-image/_index.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Using an SDK (API client) is the quickest way for a developer to speed up the de
5353
### **SDK Examples**
5454
**Extract Localized Text from an Image**
5555

56-
{{< tabs tabTotal="4" tabID="4" tabName1="C#" tabName2="Java" tabName3="Python" tabName4="Android" >}}
56+
{{< tabs tabTotal="4" tabID="4" tabName1="C#" tabName2="Java" tabName3="Android" tabName4="Python" >}}
5757

5858
{{< tab tabNum="1" >}}
5959

@@ -69,14 +69,15 @@ Using an SDK (API client) is the quickest way for a developer to speed up the de
6969

7070
{{< tab tabNum="3" >}}
7171

72-
{{< gist "aspose-cloud" "806422f52a90ff15bbfcd268b91184a9" "Example-RecognizeFromStorageLanguage.py" >}}
72+
{{< gist "aspose-cloud" "7a771d5fa2f6ac367708ab42b9740d71" "Example-RecognizeFromStorageLanguage.java" >}}
7373

7474
{{< /tab >}}
7575

7676
{{< tab tabNum="4" >}}
7777

78-
{{< gist "aspose-cloud" "7a771d5fa2f6ac367708ab42b9740d71" "Example-RecognizeFromStorageLanguage.java" >}}
78+
{{< gist "aspose-cloud" "806422f52a90ff15bbfcd268b91184a9" "Example-RecognizeFromStorageLanguage.py" >}}
7979

8080
{{< /tab >}}
8181

82+
8283
{{< /tabs >}}

ocr/developer-guide/extract-text-from-image-using-cloud-storage/_index.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Using an SDK (API client) is the quickest way for a developer to speed up the de
5252
### **SDK Examples**
5353
**Extract OCR or HOCR Text from Images**
5454

55-
{{< tabs tabTotal="4" tabID="4" tabName1="C#" tabName2="Java" tabName3="Python" tabName4="Android" >}}
55+
{{< tabs tabTotal="4" tabID="4" tabName1="C#" tabName2="Java" tabName3="Android" tabName4="Python" >}}
5656

5757
{{< tab tabNum="1" >}}
5858

@@ -68,16 +68,17 @@ Using an SDK (API client) is the quickest way for a developer to speed up the de
6868

6969
{{< tab tabNum="3" >}}
7070

71-
{{< gist "aspose-cloud" "806422f52a90ff15bbfcd268b91184a9" "RecognizeFromStorage.py" >}}
71+
{{< gist "aspose-cloud" "7a771d5fa2f6ac367708ab42b9740d71" "Example-RecognizeFromStorage.java" >}}
7272

7373
{{< /tab >}}
7474

7575
{{< tab tabNum="4" >}}
7676

77-
{{< gist "aspose-cloud" "7a771d5fa2f6ac367708ab42b9740d71" "Example-RecognizeFromStorage.java" >}}
77+
{{< gist "aspose-cloud" "806422f52a90ff15bbfcd268b91184a9" "RecognizeFromStorage.py" >}}
7878

7979
{{< /tab >}}
8080

81+
8182
{{< /tabs >}}
8283

8384

ocr/developer-guide/extract-text-from-image-without-cloud-storage/_index.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Using an SDK (API client) is the quickest way for a developer to speed up the de
6262

6363
**Extract OCR or HOCR Text from Images without using Storage**
6464

65-
{{< tabs tabTotal="4" tabID="4" tabName1="C#" tabName2="Java" tabName3="Python" tabName4="Android" >}}
65+
{{< tabs tabTotal="4" tabID="4" tabName1="C#" tabName2="Java" tabName3="Android" tabName4="Python" >}}
6666

6767
{{< tab tabNum="1" >}}
6868

@@ -78,21 +78,22 @@ Using an SDK (API client) is the quickest way for a developer to speed up the de
7878

7979
{{< tab tabNum="3" >}}
8080

81-
{{< gist "aspose-cloud" "806422f52a90ff15bbfcd268b91184a9" "RecognizeFromContent.py" >}}
81+
{{< gist "aspose-cloud" "7a771d5fa2f6ac367708ab42b9740d71" "Example-RecognizeFromContent.java" >}}
8282

8383
{{< /tab >}}
8484

8585
{{< tab tabNum="4" >}}
8686

87-
{{< gist "aspose-cloud" "7a771d5fa2f6ac367708ab42b9740d71" "Example-RecognizeFromContent.java" >}}
87+
{{< gist "aspose-cloud" "806422f52a90ff15bbfcd268b91184a9" "RecognizeFromContent.py" >}}
8888

8989
{{< /tab >}}
9090

91+
9192
{{< /tabs >}}
9293

9394
**Extract OCR or HOCR Text from Image URL**
9495

95-
{{< tabs tabTotal="4" tabID="5" tabName1="C#" tabName2="Java" tabName3="Python" tabName4="Android" >}}
96+
{{< tabs tabTotal="4" tabID="5" tabName1="C#" tabName2="Java" tabName3="Android" tabName4="Python" >}}
9697

9798
{{< tab tabNum="1" >}}
9899

@@ -108,14 +109,15 @@ Using an SDK (API client) is the quickest way for a developer to speed up the de
108109

109110
{{< tab tabNum="3" >}}
110111

111-
{{< gist "aspose-cloud" "806422f52a90ff15bbfcd268b91184a9" "RecognizeFromURL.py" >}}
112+
{{< gist "aspose-cloud" "7a771d5fa2f6ac367708ab42b9740d71" "Example-RecognizeFromUrl.java" >}}
112113

113114
{{< /tab >}}
114115

115116
{{< tab tabNum="4" >}}
116117

117-
{{< gist "aspose-cloud" "7a771d5fa2f6ac367708ab42b9740d71" "Example-RecognizeFromUrl.java" >}}
118+
{{< gist "aspose-cloud" "806422f52a90ff15bbfcd268b91184a9" "RecognizeFromURL.py" >}}
118119

119120
{{< /tab >}}
120121

122+
121123
{{< /tabs >}}

ocr/developer-guide/working-with-files-and-storage-using-aspose-ocr-cloud/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ weight: 30
66
---
77

88
## **Introduction**
9-
Aspose.OCR Cloud provides helper functions to work with files uploaded to Aspose.OCR Cloud Storage or any other Cloud Storage of your choice. If you need any help getting started with setting third party storage please refer to [Aspose Cloud UI Help Topics](https://docs.aspose.cloud/display/totalcloud/Aspose+Cloud+UI+Help+Topics).
9+
Aspose.OCR Cloud provides helper functions to work with files uploaded to Aspose.OCR Cloud Storage or any other Cloud Storage of your choice. If you need any help getting started with setting third party storage please refer to [Aspose Cloud UI Help Topics](https://docs.aspose.cloud/total/getting-started/dashboard/how-to-configure-3rd-party-cloud-storages/).
1010
### **Download a file from Cloud Storage**
1111
#### **API Information**
1212

ocr/getting-started/available-sdks/_index.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,36 @@ url: /available-sdks/
55
weight: 40
66
---
77

8-
# **Aspose.OCR Cloud SDKs**
8+
## **Aspose.OCR Cloud SDKs**
99
Aspose.OCR Cloud is a modern REST-oriented API, that allows easy integration into existing systems.
1010
### **Why use an SDK?**
1111
Using an SDK (API client) is the quickest way for a developer to speed up the development. An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project.
1212
### **SDK benefits**
1313
Our supported SDKs are 100% tested and out of the box running. These SDKs are open source and have the MIT license. You can use them and even customize them for absolutely free of charge.
14-
# **Supported SDKs**
15-
{{< tabs tabTotal="1" tabID="1" tabName1=".NET" >}}
14+
## **Supported SDKs**
15+
{{< tabs tabTotal="4" tabID="4" tabName1="C#" tabName2="Java" tabName3="Android" tabName4="Python" >}}
1616

1717
{{< tab tabNum="1" >}}
1818

19-
**Aspose.OCR Cloud SDK for .NET** allows you to work with Aspose.OCR Cloud REST APIs in your .NET applications quickly and easily, with zero initial cost:
19+
Completes source code of Aspose.OCR Cloud SDK for .NET is freely available on the [GitHub](https://github.com/aspose-ocr-cloud/aspose-ocr-cloud-dotnet).
2020

21-
- <https://github.com/aspose-ocr-cloud/aspose-ocr-cloud-dotnet>
21+
{{< /tab >}}
22+
23+
{{< tab tabNum="2" >}}
24+
25+
Completes source code of Aspose.OCR Cloud SDK for Java is freely available on the [GitHub](https://github.com/aspose-ocr-cloud/aspose-ocr-cloud-java).
26+
27+
{{< /tab >}}
28+
29+
{{< tab tabNum="3" >}}
30+
31+
Completes source code of Aspose.OCR Cloud SDK for Android is freely available on the [GitHub](https://github.com/aspose-ocr-cloud/aspose-ocr-cloud-android).
32+
33+
{{< /tab >}}
34+
35+
{{< tab tabNum="4" >}}
36+
37+
Completes source code of Aspose.OCR Cloud SDK for Python is freely available on the [GitHub](https://github.com/aspose-ocr-cloud/aspose-ocr-cloud-python).
2238

2339
{{< /tab >}}
2440

ocr/getting-started/how-to-run-the-examples/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ weight: 50
66
---
77

88
## **Running Aspose.OCR Cloud Examples**
9-
All examples of Aspose.OCR Cloud are hosted on [Github](https://github.com/aspose-ocr-cloud). Examples are located in the **Examples** folder.
9+
All examples of Aspose.OCR Cloud are hosted on [Github](https://github.com/aspose-ocr-cloud).
1010
## **Contribute**
1111
If you like to add or improve an example, we encourage you to contribute to the project. All examples and showcase projects in this repository are open source and can be freely used in your own applications.
1212

ocr/getting-started/overview/_index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Aspose.OCR Cloud is a REST API for optical character recognition and documents s
2020
The characters of different languages have different representations. If we combine the languages with the font types and styles - it makes a large set of characters to be recognized from an image. Aspose.OCR Cloud handles this task very precisely. It can recognise text in English, French and German languages at the moment.
2121

2222
{{% /alert %}}
23-
### **Cloud SDKs**
23+
## **Cloud SDKs**
2424
Cloud SDKs are wrappers around REST APIs in various programming languages, allowing you to process documents in language of your choice quickly and easily, gaining all benefits of strong types and IDE highlights. Please check [Aspose.OCR GitHub repository](https://github.com/aspose-ocr-cloud/) for SDKs along with working examples, to get you started in no time.
25-
### **API Explorer**
25+
## **API Explorer**
2626
[Aspose.OCR Cloud API Reference](https://apireference.aspose.cloud/ocr/) is the easiest way to try out our APIs right away in your browser! It allows you to effortlessly interact and try out every single operation our APIs exposes.
27-
### **Security and Authentication**
28-
The Aspose.OCR Cloud APIs are secured and requires authentication. Please [create your Aspose for Cloud account](https://docs.aspose.cloud/display/storagecloud/Creating+and+Managing+Account) (if not already created), [Create new app and Get your App Key and App SID](https://docs.aspose.cloud/display/storagecloud/Create+New+App+and+Get+App+Key+and+SID). Aspose Cloud REST APIs can be authenticated using either OAuth 2.0 or URL Signing. Please check [Authenticating API Requests](https://docs.aspose.cloud/display/storagecloud/Authenticating+API+Requests) article for more details.
27+
## **Security and Authentication**
28+
The Aspose.OCR Cloud APIs are secured and requires authentication. Please [create your Aspose for Cloud account](https://docs.aspose.cloud/storage/creating-and-managing-account/) (if not already created), [Create new app and Get your App Key and App SID](https://docs.aspose.cloud/storage/create-new-app-and-get-app-key-and-sid/). Aspose Cloud REST APIs can be authenticated using either OAuth 2.0 or URL Signing. Please check [Authenticating API Requests](https://docs.aspose.cloud/storage/authenticating-api-requests/) article for more details.

ocr/getting-started/quickstart/_index.md

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ weight: 30
66
---
77

88
## **Create an account**
9-
For details on how to create a new account please check [Create a new Account](https://docs.aspose.cloud/display/storagecloud/Creating+and+Managing+Account).
9+
For details on how to create a new account please check [Create a new Account](https://docs.aspose.cloud/storage/creating-and-managing-account/).
1010
## **Create an API Client App**
11-
Before you can make any requests to Aspose Cloud APIs you need to [create an API Client App](https://docs.aspose.cloud/display/storagecloud/Create+New+App+and+Get+App+Key+and+SID).
11+
Before you can make any requests to Aspose Cloud APIs you need to [create an API Client App](https://docs.aspose.cloud/storage/create-new-app-and-get-app-key-and-sid/).
1212

1313
This will give you **App SID** and **App key (secret key)** which you can use to invoke Aspose Cloud APIs.
1414
## **Install the SDK of your choice**
@@ -24,12 +24,31 @@ The GitHub repository for Aspose.OCR Cloud has a complete set of examples, demon
2424

2525
**Extract OCR or HOCR Text from Images**
2626

27-
{{< tabs tabTotal="1" tabID="1" tabName1="C#" >}}
27+
{{< tabs tabTotal="4" tabID="4" tabName1="C#" tabName2="Java" tabName3="Python" tabName4="Android" >}}
2828

2929
{{< tab tabNum="1" >}}
3030

31-
{{< gist "" "57478ed06c916935a61af824d90b28e0" "Examples-DotNET-CSharp-ExtractingManagingOCR-CloudStorage-ExtractOCRorHOCRTextFromSpecificBlockImage-1.cs" >}}
31+
{{< gist "aspose-cloud" "0f9e9de5290f0fcdfd93517225f2b66a" "Example-RecognizeFromStorage.cs" >}}
32+
33+
{{< /tab >}}
34+
35+
{{< tab tabNum="2" >}}
36+
37+
{{< gist "aspose-cloud" "723802ba0a961dac4b73a96f1932469c" "Example-RecognizeFromStorage.java" >}}
38+
39+
{{< /tab >}}
40+
41+
{{< tab tabNum="3" >}}
42+
43+
{{< gist "aspose-cloud" "806422f52a90ff15bbfcd268b91184a9" "RecognizeFromStorage.py" >}}
44+
45+
{{< /tab >}}
46+
47+
{{< tab tabNum="4" >}}
48+
49+
{{< gist "aspose-cloud" "7a771d5fa2f6ac367708ab42b9740d71" "Example-RecognizeFromStorage.java" >}}
3250

3351
{{< /tab >}}
3452

3553
{{< /tabs >}}
54+

ocr/getting-started/supported-file-formats/_index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ weight: 20
66
---
77

88
## **Input Image Formats**
9-
- [JPEG](https://wiki.fileformat.com/Image/JPEG/)
10-
- [PNG](https://wiki.fileformat.com/Image/PNG/)
11-
- [GIF](https://wiki.fileformat.com/Image/GIF/)
12-
- [BMP](https://wiki.fileformat.com/Image/BMP/)
13-
- [TIFF](https://wiki.fileformat.com/Image/TIFF/)
9+
- [JPEG](https://docs.fileformat.com/image/jpeg/)
10+
- [PNG](https://docs.fileformat.com/image/png/)
11+
- [GIF](https://docs.fileformat.com/image/gif/)
12+
- [BMP](https://docs.fileformat.com/image/bmp/)
13+
- [TIFF](https://docs.fileformat.com/image/tiff/)

ocr/technical-articles/recognize-text-in-photos-on-android-device/_index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ Before you start:
1515
1. Download, install and configure ADT on your computer.
1616
1. Create and configure an Android Virtual Device or connect a real Android device with your computer for testing.
1717
1. Set up a complete working and testing environment.
18-
### **Create a project**
18+
## **Create a project**
1919
1. From the **File** menu, select **New**, then **Android Application Project**.
2020
The **New Android Application** dialog is displayed.
2121
1. Enter **Application Name**, **Project Name** and **Package Name**. Leave the other settings as default.
2222
1. Click **Next**, **Next**, **Next** and **Next**.
2323
1. Click **Finish**.
24-
### **Application UI**
24+
## **Application UI**
2525
In **Project Explorer** double click *res/layout/activity_main.xml*. *activity_main.xml* is the UI of our application. Right-click it and select **Change Layout** option. Choose **LinearLayout (Vertical)** from the list and click **OK**. From the **Palette** drag a **Button** and a **TextView** to the white background area. Adjust their width, height and position using mouse as shown in the following screenshot:
2626

2727
![todo:image_alt_text](recognize-text-in-photos-on-android-device_1.png)
@@ -53,7 +53,7 @@ We want to access the *TextView* within our code, so we must add some identifier
5353
```
5454

5555
Click the newly added button to select and go to the **Properties** window in the right side. Edit the **Text** property and change its value to *Take Photo*. Updating the property will change the label/caption of the button. Scroll down and find another property **On Click**. Change it's value to *captureImage*. We want to associate a Java method called captureImage with the *click* event of this button. We shall discuss the code of the method later below.
56-
### **Application permissions**
56+
## **Application permissions**
5757
Our application will use some features provided by the system, that is the camera, storage and internet connection. We have to acquire permissions for these resources. Locate the file *AndroidManifest.xml* in **Project Explorer** window and double-click to open it. Add the following code under the <manifest> element.
5858

5959
**AndroidManifest.xml**
@@ -81,7 +81,7 @@ Our application will use some features provided by the system, that is the camer
8181
</manifest>
8282

8383
```
84-
### **Implementation**
84+
## **Implementation**
8585
Our code has four major parts.
8686

8787
1. captureImage Send request to camera to capture photo and save it on external device
@@ -436,5 +436,5 @@ public class MainActivity extends ActionBarActivity {
436436
```
437437

438438
Putting all things together, we have captured an image using device camera, saved the image in a temporary file on external storage, used Aspose.OCR Cloud to recognize text in that image, used AsyncTask for REST API, displayed the results on the screen. User can copy the text and paste it in any other application.
439-
### **Download**
439+
## **Download**
440440
Download the complete working project from [Github repository](https://github.com/AsposeSocialMedia/PhotoOCR_for_Android). You will need appSID and appKey to run this application. Sign up at <https://dashboard.aspose.cloud/> for free to get them.

0 commit comments

Comments
 (0)