Comprehensive understanding of Asprise OCR: Image/Barcode Recognition tool

Source: Internet
Author: User

Comprehensive understanding of Asprise OCR: Image/Barcode Recognition tool

1. Introduction to OCR

OCR (optical Character recognition)-refers to an electronic device (such as a scanner or digital camera) that checks the printed characters on the paper, determines its shape by detecting dark, bright patterns, and then translates the shape into computer text using character recognition methods; The text data is scanned, then the image file is analyzed and processed, and the process of text and layout information is obtained. How to debug or use auxiliary information to improve the correct rate of recognition is the most important subject of OCR. (Excerpt from Baidu Encyclopedia)

In short, OCR is a technique that converts picture format information into editable text, while Asprise OCR is a software component that embeds High-performance OCR engines, supports rapid development of image recognition systems, and allows developers to use multiple languages, such as Vb,vb.net,vc++,vc.net,c #,java,delphi and so on.

2. Characteristics of Asprise OCR

-Easy to use

-High accuracy rate

-Barcode Recognition supported

-High recognition speed

-Keep the original document format

-Multi-platform support

3. Asprise OCR installation and development environment configuration

3.1 In order to facilitate the use of Asprise OCR in the development of the system, there is no doubt that the first step requires proper installation, the installation steps are as follows:

1 the website download asprise OCR SDK,HTTP://ASPRISE.COM/PRODUCT/OCR, you can choose the SDK that matches with the development language that you use.

2) Decompression SDK

3 Copy DLL file to%path% path, such as Windows, can be copied to C:\Windows\System32

4 Run the executable file in the Extract file 9来 Verify the installation is successful

At this point, the installation is complete, the process is quite simple.

3.2 Configuring the development environment

Asprise OCR supports a variety of development languages, while the environment configuration of various development languages is similar. Because this article uses the CSharp language, and does not need to provide the additional environment configuration, therefore, does not repeat the environment configuration process, proposed the reference official website introduction.

4. Asprise OCR API

In order to complete various OCR work, the Asprise OCR API should be introduced briefly.

[String] OCR ([String]imagepath, [int] imagefiletype)

Note: The exact image file path and format, which returns the content of the picture as a string, automatically determines the file format if the type parameter is set to -1,asprise OCR. Asprise

OCR supports a wide range of picture formats, such as. Bmp,.ico,.jpg,.jpeg,.png,.pic,.jng,.gif and more than 30 kinds of picture formats.

[String] Ocrpart ([String]imagepath, [int] imagefiletype, [int] startx, [int] starty, [int] width, [int]height)

Note: Part of the picture is performed on an OCR task, where (startx, starty) corresponds to the upper-left area of the image, the width and height of the corresponding area (width, height).

[String] Ocrbarcodes ([string] imagepath, [int] imagefiletype)

Note: Identify the bar code in the picture, when there are more than one bar code, will be separated by line feed

[String] Ocrpartbarcodes ([string] imagepath, [int] imagefiletype, [int] startx, [Int]starty, [int] width, [int] height)

Note: Identify parts of the barcode in the picture

5. Example Development and verification

Refer to Asprise OCR official website provided the user manual, the CSharp language to write a simple picture and barcode recognition tool to verify the Asprise OCR work, in the code need to introduce Asprise OCR DLL, add code as follows.



In the Baidu picture download and save a section of scanned files, as shown in the following figure. By the way, this paragraph of text is said to be excerpted from Lin Juemin "and wife book", it is estimated that English version of it, anyway, I can not understand what to say, haha.



Import the file into the gadget, prompt to use Asprise OCR version for trial version, because just learn, point "no (N)" can.



The image recognition gadget output is as follows, it can be seen that the accuracy of recognition can be.



6. Summary

At this point, about the introduction of ASPRISEOCR has been introduced, interested friends can go to the official website to continue to find information, learning, I just out of curiosity, by the way superficial research, a good point.

In addition, Asprise OCR does not support Chinese, the English and the verification code, such as the anti-interference ability of the image is not enough, such as text distortion, the image more noise will greatly reduce the accuracy of recognition, this may also need to continue to strengthen the place.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.