Browse our Products

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.

Aspose.OCR Cloud Micro App

Extract text from scans and photos quickly and easily with Aspose.OCR Cloud. Requires minimal resources and works efficiently on entry-level devices.


Product page | Documentation | Demos | Blog | Free support | Terms of service

This minimalistic (less that 2MB), fast and resource-wise utility offers a convenient way to interact with the Aspose.OCR Cloud API right from a command-line, eliminating the need to write any code. It can be started from the Windows terminal or PowerShell console, providing the versatile integration into batch files or automated workflows.

Aspose.OCR Cloud offers optical character recognition as a service. With it, you can easily add OCR functionality to almost any device or platform, from netbooks and mini PCs to entry-level smartphones. Resource-intensive operations are offloaded to high-performance servers, guaranteeing the fastest possible speed and minimal load.

Download the source code from our repository to get acquainted with Aspose.OCR Cloud SDKs and swiftly and effortlessly develop your own applications.

Installation

  1. Download the latest release from the link below or clone the repository.
  2. Extract the archive (if necessary).
  3. Run the utility (Aspose.OCR.Cloud.CommandLineTool.exe) from the command prompt or PowerShell (see command-line parameters below).

Signing up

In order to use Aspose.OCR Cloud service, you must be signed up for Aspose.OCR Cloud:

  1. Sign up for Aspose Cloud API.

  2. Go to Applications page.

  3. Click Create New Application button.

  4. Give the application an easily recognizable name so it can be quickly found in a long list, and provide an optional detailed description.

  5. Create the cloud storage by clicking the plus icon and following the required steps. You can also reuse existing storage, if available.
    Aspose.OCR Cloud uses its own internal storage, so you can provide the bare minimum storage options:

    • Type: Internal storage
    • Storage name: Any name you like
    • Storage mode: Retain files for 24 hours
  6. Click Save button.

  7. Click the newly created application and copy the values from Client Id and Client Secret fields.

Check out more information about available subscription plans and a free tier limits.

Usage

Follow the instructions below to get started with Aspose.OCR Cloud Micro App.

First run

At the first run, you must configure the credentials (see Signing up chapter above) the app will use to access Aspose.OCR Cloud.

Aspose.OCR.Cloud.CommandLineTool.exe config -clientid <your Client Id> -secret <your Client Secret>

The credential are saved to AsposeOCRCloudCLIConfig user environment variable. To update credentials, run the same command with the new Client Id and Client Secret.

Recognize an image and save result to file

IMPORTANT: Make sure to configure access credentials before performing OCR! See First run chapter.

Aspose.OCR.Cloud.CommandLineTool.exe recognizeimage -f image.jpg -o recognition.pdf -lang Portuguese

Command-line parameters:

  • -f {source image path} (required) - absolute or relative path to the image file. The utility supports JPEG, PNG, single-page TIFF, GIF and BMP images.
  • -o {target file path} (required) - absolute or relative path to the file in which the recognition results will be saved.
    Important: If the file extension does not match the file type specified in the -resultType parameter, the appropriate extension will be appended to the file name.
  • -lang {language code} (optional) - recognition language code, for example Portuguese or HWT_eng.
    By default, image text is treated as English.
  • -resultType {see values below} (optional) - format of the recognition result (by default, the results are saved as plain text):
    • Text - save recognition results to plain text file with line breaks. The extension of a file provided in -o parameter should be .txt. If the results file extension is different, the appropriate extension will be appended after it.
    • Pdf - the source image will be placed into PDF file with a transparent text overlay above it. The text will be selectable, searchable and indexable. The extension of a file provided in -o parameter should be .pdf. If the results file extension is different, the appropriate extension will be appended after it.
    • Hocr - save recognition results to hOCR file. The extension of a file provided in -o parameter should be .html. If the results file extension is different, the appropriate extension will be appended after it.
  • -makeBinarization false (optional) - use this parameter to disable automatic conversion of the image to black-and-white.
    By default, the image is always converted to improve recognition accuracy.
  • -makeSkewCorrection (optional) - set this flag to force automatic straightening of rotated images. By default, skew angle correction is disabled.
  • -makeUpsampling (optional) - set this flag to automatically increase image resolution and enhance the contrast of text details. By default, smart upsampling is disabled.
  • -dsrMode (optional) - specify document structure analysis algorithm:
    • DsrPlusDetector (default) - the combination of complex structure analysis and text area analysis.
    • DsrAndFilter - detect large blocks of text, such as paragraphs and columns. Optimal for multi-column documents with illustrations.
    • DsrNoFilter - do not analyze document structure for small images to maximize recognition speed; use complex structure analysis for large images only.
    • TextDetector - find small text blocks (individual words, phrases, or lines) inside complex images and then position these blocks relative to each other in recognition results. Works best with sparse irregular text and low-quality photos.
    • PolygonalTextDetector - automatically straighten curved or distorted lines and find small text blocks (individual words, phrases, or lines) inside the resulting image.
    • NoDsrNoFilter - Do not analyze document structure.

System requirements

Since all OCR tasks are executed in the cloud, the utility does not impose any specific hardware requirements.

The executable can run under the following operating systems:

  • Microsoft Windows 10 or above.
  • Microsoft Windows Server 2016 or above.

It requires .NET 6.0 to be installed. Other than that, it does not require any third-party components.

IMPORTANT: The host must have access to the Internet (api.aspose.cloud domain) and the application must be allowed through a firewall (outbound rule).

Direct Download

Aspose.OCR Cloud Micro App

Command-line utility for optical character recognition via Aspose.OCR Cloud

Added: 9/2/2024 Downloads:

Download

File Size: 1.62MB