Exercise R2: Recognize Hand-Printed Text

In this exercise you change hand-printed raster text to AutoCAD text in your drawing.

The general process is as follows:

Related Exercises

Before doing this exercise, ensure that AutoCAD Raster Design toolset options are set as described in the exercise Exercise A1: Setting AutoCAD Raster Design Toolset Options.

Open the drawing file for this exercise

Exercise

  1. In the ..\Program Files\Autodesk\ApplicationPlugins\RasterDesign2024.Bundle\Contents\Tutorials\Tutorial9 folder, open the drawing file textrec_03.dwg.

    Choose an image to insert

  2. To display the Insert Image dialog box, on the ribbon, click Raster Tools tab Insert & Write panel Insert .
  3. In the Insert Image dialog box, from the Files of Type list, select All Image Files.
  4. If necessary, navigate to the ..\Program Files\Autodesk\ApplicationPlugins\RasterDesign2024.Bundle\Contents\Tutorials\Tutorial9 folder. Select the image file text_rec_hand.tif.
  5. In the Insert Options area, click Quick Insert and Zoom to Image. Click Open.

    The image is inserted.

    Convert hand-printed raster text to AutoCAD MText

  6. To display the Text Recognition Setup dialog box, on the ribbon, click Raster Tools tab Vectorize & Recognize Text panel OCR drop-down menu Optical Character Recognition (OCR) Setup .
  7. In the Text Recognition Setup dialog box, under the Input section, select the following settings:
    • Selection Shape is Polygonal.
    • Select the Spelling dictionary.
    • Select English in the Spelling Language list.
    • Select the AutoCAD Custom dictionary.
    • Click Language Character Set and select English.
    • In the Recognize section, select Upper Case, Numbers, Punctuation and Miscellaneous.
  8. In the AutoCAD Output section, select the following settings:
    • Output Type is MText.
    • Text Height is Style Height.
    • AutoCAD Style is Note.
    • Removal Method is Rub.
  9. In the Verification Display section, clear the check boxes for Italic, Underline, and Enable Verifier.
  10. Click OK.
  11. On the ribbon, click Raster Tools tab Vectorize & Recognize Text panel OCR drop-down menu Recognize Text .
  12. Zoom to the handwritten note in the upper right section of the drawing.
  13. Enter a at the command line for angle and enter 339 for the rotation angle of the text.
  14. Draw a polygon around the text within the border, then press Enter to finish the polygon.

    The Verify Text window opens.

  15. Review the areas of highlighted text in the Edit pane (lower pane). You can revise text directly in the Edit pane, or use the editing buttons. Click Find Next to display the first suspect word or rejected character in the Change To box. Select a word from the Change To list or enter the correct word in the box and click Replace. Click Add to Dictionary if you want to add the word or acronym to the recognition dictionary. When you click OK, you are prompted to add the word to the AutoCAD custom dictionary too.
    Attention: Because no recognition engine is 100% accurate, you should carefully review the results in the Edit pane, not just the highlighted areas, and make all necessary changes.
  16. Click OK to insert the new note in the drawing and then press Esc to end the command.

    If necessary, you can use standard AutoCAD commands to move or edit the text.

  17. Close the drawing without saving changes.