11OCR (Optical Character Recognition)

OCR (Optical Character Recognition) is machine vision software that translates images of characters into text. To identify characters in an image, the LabVIEW software needs to be trained to identify each character. A data set of trained characters is created and saved as a character set file in advance. The set of trained characters are compared with character objects in an image for recognition.

The example of OCR provided in LabVIEW can be found from the following folders:

Figure 11.1 shows the screen-captured image of the example OCR.vi. In this example, characters in the image are recognized and converted into a character string.

img

Figure 11.1 Example VI for OCR.

Some industrial applications of OCR for machine vision include inspecting labels, sorting, tracking packages, and verifying parts during manufacturing process.

11.1 OCR Using Vision Assistant

11.1.1 Character Training Using Vision Assistant

The OCR function using Vision Assistant offers an excellent procedure to train the software to recognize the imaged characters. For this ...

Get Practical Guide to Machine Vision Software: An Introduction with LabVIEW now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.