96
CHAPTER 13. PRODUCT LABEL INSPECTOR
Functional Requirements:
The
Product Label Inspector
will:
1. Display the webcam image at the maximum possible frame rate while the
product label is moved into position,
2. Compare the current image to the golden template image stored in the
USB flash drive and report the number of defects found when the
inspect
button is pressed,
3. Accommodate arbitrary rotation and translation of the product label,
4. Illuminate a proportional number of NI myRIO on-board LEDs as a bar-
graph to indicate the number of defects found,
5. Maintain a count of the total number of labels processed and a count of
the number of defective labels found during the current session, and
6. Display the analyzed image when
show analyzed
is pressed, otherwise
display the webcam image.
Figure 13.1 on the previous page shows the front-panel of the
Product Label
Inspector
application viewing a defect-free product label that serves as the
golden template. Figure 13.2 on the facing page shows another label with two
pencil marks as defects and the corresponding binary image produced by the
Vision Assistant analysis script.
Required Resources:
1. NI LabVIEW and NI Vision Assistant
2. NI myRIO with power supply and USB cable
3. USB webcam and tabletop camera copy stand
4. USB hub (Stratom X-HUB or equivalent)
5. USB flash drive
6. Paper product labels
7. Double-stick tape
8. Stiff paper cards
Deliverables:
1. Lab report or notebook formatted according to instructor’s requirements;
include front-panel screen shots to demonstrate that your application
meets functional specifications
Содержание NI myRIO
Страница 1: ...Ed Doering NI myRIO Vision Essentials Guide...
Страница 2: ......
Страница 11: ...Part I Machine Vision Fundamentals...
Страница 12: ......
Страница 31: ...Part II Introductory Machine Vision Projects...
Страница 32: ......
Страница 38: ...32 CHAPTER 4 CAMERA SETUP...
Страница 44: ...38 CHAPTER 5 STEREO VISION...
Страница 61: ...Part III Machine Vision Application Projects...
Страница 62: ......
Страница 72: ...66 CHAPTER 8 COIN COUNTER...
Страница 85: ...CHAPTER 10 KEYED OPTICAL LOCK 79 Figure 10 3 Typical expected results for the Geometric Matching step...
Страница 86: ...80 CHAPTER 10 KEYED OPTICAL LOCK...
Страница 92: ...86 CHAPTER 11 DMM TEST STAND...
Страница 134: ...128 CHAPTER 17 MARBLE SORTER...
Страница 135: ...Part IV Appendices...
Страница 136: ......
Страница 143: ...B MXPandMSPConnectorDiagrams Figure B 1 MXP myRIO eXpansion Port connector diagram...
Страница 144: ...138 APPENDIX B MXP AND MSP CONNECTOR DIAGRAMS Figure B 2 MSP miniSystem Port connector diagram...
Страница 148: ...142 APPENDIX D BUILD A STAND ALONE APPLICATION...
Страница 149: ...E MarbleSorterConstructionDetails To be continued...
Страница 150: ...144 APPENDIX E MARBLE SORTER CONSTRUCTION DETAILS...