17.12.2018 Views

Image Acquisitionand Proces

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

224 <strong>Image</strong> Acquisition <strong>Proces</strong>sing with LabVIEW<br />

and background is at least 30, and each digit to be detected is larger than 18 ¥ 12<br />

pixels, IMAQ Read LCD is generally successful.<br />

As described previously, using the Vision Toolkit LCD VIs is quite simple. Figure<br />

8.5 is an example application. As you can see, the user has deÞned the ROI to<br />

encompass the two digits on the right, and IMAQ Get LCD ROI has detected two<br />

digits within the ROI. IMAQ Read LCD has then successfully determined that the<br />

two digits are both eights. This example was achieved using the code shown in<br />

Figure 8.6.<br />

FIGURE 8.5 Interactive 7-segment LCD example.<br />

FIGURE 8.6 Interactive 7 segment LCD example — wiring diagram.<br />

8.2.2 BARCODES<br />

Labeling parts with machine-readable codes has become extremely common in<br />

recent years. From every packaged product in a supermarket, to library books, and<br />

even employee cards, barcodes are one of the cheapest and easiest systems that we<br />

can introduce. LED or laser handheld barcode scanners are inexpensive and are<br />

simple to interface to computers either through the PC’s serial port or in line with<br />

the output of the keyboard (often known as a keyboard wedge). The Vision Toolkit<br />

includes VIs that can resolve and read barcodes that are part of an image. If you are<br />

already acquiring an image of an object for other vision-based reasons, it makes

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!