Help Center

Train OCR

CAD drafting Train OCR 0    Ribbon: Raster – Conversion > CAD software Train OCR 1 Train OCR

CAD drawing Train OCR 2    Menu: RasterConvert > CAD drafting Train OCR 3 Train OCR…

CAD software Train OCR 4 Command line: OCRTRAIN

CAD drawing Train OCR 5   This functionality is available only in the Raster module

The standard capacities of OCR module allow to recognize English letters, digits, punctuation marks and special characters (the first half of the ASCII table).

The OCR module can be trained to recognize any character. To do this, either replenish one of the existing libraries with new letter patterns, or create your own library.

The training process creates the examples (topological model) of text characters and place them in an open letter patterns library. Several patterns can correspond to one text character. Character patterns are stored in special letter pattern file libraries. These files are located in the OCR folder by default. You can replace any patterns in the existing library with your own.

Letter pattern library

Run the Train OCR command.

In the Train OCR dialog box:

To create a new pattern library, click CAD drafting Train OCR 6 New button or to add new patterns in the existing library, click CAD software Train OCR 7 Open button, select the required library file in the dialog box and click OK.

Create new, replace or delete patterns of existing symbols.

Save the library in its own or a new file using the Save button.

Click OK.

CAD drawing Train OCR 8

Train OCR dialog box

Creation, replacement and deletion of patterns in the library is performed using the buttons of the dialog box toolbar and the Character input field.

CAD drafting Train OCR 9 CAD software Train OCR 10 CAD drawing Train OCR 11 - tools to pick a raster character.

CAD drafting Train OCR 12 CAD software Train OCR 13 - Add and Delete buttons.

Creating a new letter pattern

Enter the required letter in the Character field.

Using one of the selection tools, pick the raster character corresponding to the specified letter:

·         CAD drawing Train OCR 14 Select character by floodfill. To select, point with the cursor to an isolated raster character;

·         CAD drafting Train OCR 15 Select character by window. To select, set the opposite corners of the window that bounds the desired raster character;

·         CAD software Train OCR 16 Select character by polygon. To select, specify vertices of the polygon bounding the desired raster character; to complete the selection, press ENTER.

In case of mistake, repeat the selection procedure.

Click the Add character to library button.

The program will create a topological pattern of the letter and add it to the appropriate section of the patterns library.

The left part of the dialog box display the sections of the current pattern library: digits, English capital, English small, special, national capital, national small. Closed and non-empty sections are marked with “+” sign.

CAD drawing Train OCR 17

Sections of the current pattern letter library

The box to the left of the section name, when checked, connects all patterns in this section for recognition. Clearing the checkbox removes the connection of all patterns in this section. Any section can be opened by clicking on the field with the “+” sign, and enable or disable the necessary patterns located in this subsection. In order to connect/disconnect the patetrn, check/clear the checkbox to the left of the pattern name.

Multiple patterns can be specified for each letter. For example, as shown in the following illustration for the letter “a”. The pattern set corresponding to this letter can be expanded by clicking “+”. The pattern can be selected by clicking on it with the mouse. When you select a pattern, its shape is displayed in the field on the right side of the window.

 CAD drafting Train OCR 18

Creating a letter pattern

Patterns can be both disabled (in this case they will not be used for recognition), and removed.

Removing a letter pattern

     

1.    select the required pattern.

2.    click CAD software Train OCR 19 Remove character button.

 

 

Info: NanoCAD is an easy-to-use, cheap, and yet powerful, CAD app for Windows, that allows a great user experience by providing enhanced performance, full capability, a classic interface and native.dwg format support. nanoCAD has been built to deliver design and project documentation for all industries. nanoCAD includes a full suite of basic and advanced CAD tools for 2D/3D drafting and creating industry-standard DWG-compatible CAD files. Our program supports groundbreaking, collaborative and customizable features to boost your efficiency, and includes a few API's, allowing anything from routine task automation to complex CAD software development. You may download nanoCad for free, using the links below, and purchase later, if you like it.
We collect Cookies
We use cookies to ensure that we give you the best experience on our website. By clicking “Accept”, you agree to our website’s cookie use as described in our Privacy Statement.