ViDiELRead

The ViDiELRead tool enables automatic recognition of text, including letters, numbers, and symbols, from images or live camera feeds. It offers two operational modes:

  • User-Trained: allows you to define specific text patterns by labeling examples and is ideal for achieving higher accuracy on user-specific characters or fonts.

  • Pre-Trained: uses built-in models for immediate deployment.

Additionally, the tool supports three fielding options to accurately detect and interpret text within different image contexts.

To add the ViDiELRead tool:

  1. Drag and drop ViDiELRead to your Spreadsheet.

  2. The Property Sheet pops up.

  3. To specify the fixture region, either:
    1. Click on Insert Absolute Reference in the upper left corner of the pane.
    2. Double click on Fixture.

  4. Select the fixture coordinates from the Spreadsheet and click Accept changes.

  5. Double click on Region and position the Search Region. To resize the search box, click and drag the corners. To rotate the search box, click and drag the rotate button.

    Note:
    • The search region cannot exceed the image boundary. Otherwise, the tool returns #ERR.

    • Modifying the search region width and height parameters from the Spreadsheet during run-time can take up significant processing time, which can result in missed triggers or timeouts. When possible, modify the search region width and height parameters only when the vision system is Offline.

  6. Open the Training Mode dropdown and select the training mode you want to use:

    • User-Trained: allows you to manually train the ViDiELRead function by individually labeling the characters in each training image. Use this setting for higher accuracy reads on user-specific characters and fonts. For automatic character recognition, select one of the pre-trained models instead.

    • Pre-Trained v1 Standard: this model requires a tight bounding box for character size, and is best for monospace fonts. Supports uppercase characters, numerical digits, and the following special characters: ‘:’, ‘/’, ‘-‘, ‘+’, ‘&’

    • Pre-Trained v2 Standard: this model can recognize fonts with variable character size, and requires an input character size that fits the average character size. Supports uppercase characters, numerical digits, and the following special characters: ‘:’, ‘/’, ‘-‘, ‘+’, ‘&’

    • Pre-Trained v2 Complete: this model provides additional character support on top of the V2 Standard model. Supports uppercase and lowercase characters, numerical digits, all printable ASCII symbols and the character.

    By default, Training Mode is set to Pre-Trained Model v2 Standard.

  7. Define the character size:

    1. Click on the edit button next to Character Size and position the character size box so that it surrounds one of the characters you want to find. To resize the character size box, click and drag the corners. Place the character size box around the character. To accept the changes, click on the check mark icon.

    2. Alternatively, if you have selected a pre-trained model for Training Mode, you can define the character size with the External Character Size property in the property list by using a cell reference in Spreadsheet with one of the following methods:

      Note: If you are using the External Character Size property to define the character size, make sure that both Character Height and Character Width are defined, otherwise the function returns an #ERR.

      Alternatively, if you are using one of the v2 pre-trained models, you can click Optimize Character Size to automatically get the optimal character size for the selected ROI.

      Note:
      • If you define the Character Width and Character Height properties, the Optimize Character Size option is disabled.

      • Modifying the Character Width and Character Height properties from the Spreadsheet during run-time can take up significant processing time, which can result in missed triggers or timeouts. When possible, modify the Character Width and Character Height properties only when the vision system is Offline.

  8. If you have selected the User-Trained setting for Training Mode, click on the edit button next to Train. Type in the corresponding characters for the selected letters and numbers on each image. Label and train all expected characters (A-Z, 0-9) for your application. To jump to a new image, click on Next Image. You need to train at least 3 images. The more images and characters you train, the higher the quality of your output is.

  9. Select OK. The output of the function appears on the Spreadsheet. 

To learn more about ViDiELRead functions and settings, see the expandable sections below.