OCR Example for LabVIEW

NI OCR Training Interface

OCR Example for LabVIEW

You can use the OCR example for LabVIEW to perform OCR on an image using the character set file you created with the OCR Training Interface Tutorial.

Complete the following steps to use the OCR example for LabVIEW:

  1. Navigate to <LabVIEW>\examples\Vision\2.Functions\OCR\OCR First Example.llb and open the OCR First Example VI, where <LabVIEW> is the location to which you installed LabVIEW.
  2. Run the VI.
  3. Click Open Character Set File and open the NIOCRTutorial.abc file you created upon completing the OCR Training Interface Tutorial.
  4. Click Open Image, select one of the NIOCRExample* image files, and click Open.
  5. Draw an ROI on the image and click Read.
    • Read String displays the recognized characters and the substitution character.
    • Time (ms) displays the amount of time it took OCR to read the image.
  6. Click Return to exit the example.