Customer SolutionsDeveloping an Optical Character Recongition System with NI LabVIEW, Motion, and Vision
Author(s):Steve McCool, Graftek Imaging
Industry:Life Science
Product:Data Acquisition, LabVIEW, Motion Control, PXI/CompactPCI, Vision
The Challenge:Developing a quality assurance process to guarantee accurate labeling of medical and pharmaceutical products.
The Solution:Building a LabVIEW-based system -- far exceeding human visual inspection -- that integrates image processing, motion control, and optical character recognition.Introduction The products to be inspected, destined for hospital use, are produced in "layups," physically connected sets of from two to eight units. Inspection of the label content and color for these multiproduct layups was the challenge presented to Graftek. Because of the high resolution required to identify label content, it proved to be most economical to successively move each individual product into the camera field of view for inspection. Hence the need for LabVIEW-based motion control. In operation, the LabLRead system is highly automated. The operator places the multiproduct layup in a fixture and scans a computer-generated work order, which specifies the correct contents of a particular product run and the text that should be present on product labels. This work order contains either a printed product description or barcoded information. Once LabLRead recognizes the content of the work order, it begins to inspect the actual product to compare product labeling with the specified content. Both label text content and color regions are inspected to assure accuracy. Via LabVIEW motion control, the product layup is moved laterally until the next product is directly under the cameras. This process repeats until the entire layup has been inspected. After completion of the inspection process, a test report label is automatically printed from LabVIEW on a miniature printer. The label contains product run identification information, the status of product inspection (pass or fail), and the reason for failure if any. This label is affixed by the operator on the work order as a permanent record documenting that the inspection was performed and archiving the results of the test. The entire process is completed in approximately 8 seconds. The system uses an industrial computer, an Appro Pentium 166 (32 MB RAM), running Windows NT. Windows NT is becoming the operating system of choice for LabVIEW industrial applications. Installed in the computer are the PCI-1408 image acquisition board and an AT-MIO-16E-10 data acquisition board used for position sensing and motion control. The LabLRead system illustrates the synergy of integrated image processing, motion control, and OCR all within the LabVIEW environment. Such a seamless, reliable, yet flexible inspection system could not have been readily developed outside of the LabVIEW environment. This application demonstrates once again that National Instruments-based systems are able to meet the challenges of critical industrial inspection. Moreover, we estimate that LabLRead was built at a savings of $60,000 versus off-the-shelf turnkey technologies. For more information, contact Steve McCool at Graftek Imaging, Inc., 1825 Fortview Road, Suite 109, Austin, TX 78704, tel (512) 416-1099, fax (512) 416-1014, e-mail: mccool@graftek.com, web www.graftek.com. View the entire user solution in Adobe Acrobat PDF format. |
