
CHAPTER 13. PRODUCT LABEL INSPECTOR
99
to learn how to use the
Particle Analysis
step to count the remaining particles
(now assumed to represent the product label defects) and to report their areas.
LabVIEW Techniques
The following LabVIEW techniques are required for this project:
•
– Use an
Invoke Node
to reset the numerical
front-panel indicators when the application starts up, and
•
– Use a
Property Node
to select either the “Grayscale”
or “Binary” palette for the image display; the
Particle Filter
step produces
a binary output that appears like an all-black screen unless the “Binary”
palette is selected.
13.2
Development Tips
Representative Images
•
Use double-sided tape to bond the defect-free paper product label to a
stiff paper card or piece of cardboard. The product label need to be as flat
as possible when presented to the camera, and mounting the label to a
card makes handling more convenient and prevents wrinkling.
•
Create additional product label cards in which you introduce defects such
as pencil mark smudges, tears, and holes of varying degrees of severity.
•
Set up the camera on a table-top camera copy stand and adjust the field
of view to accommodate a single product label. Allow for the label to be
tilted and translated somewhat. Adjust the camera mode to obtain rea-
sonably high resolution and the camera attributes to obtain good contrast
without over or underexposure.
IMPORTANT
:
Ensure that the camera’s physical setup remains
undisturbed throughout this project! The conditions under which you
create the golden template image must be identical to the way that
your finished vision application collects images of the product label.
•
Collect one image to serve as the basis of your golden template. The
product label must be free of defects. Align the product label with the
pixel array to the best of your ability.
(1:49)
(2:09)
Содержание 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...