
CHAPTER 14. COMPONENT PLACEMENT INSPECTOR
103
Figure 14.2: Analyzed output from the vision script with a board that is tilted
and missing a red brick and a yellow brick.
14.1
Technical Approach
NI Vision Assistant Script
The NI Vision Assistant
Color Matching
step compares a region of interest (ROI)
to a color and indicates whether or not the ROI matches the expected color. This
step can accommodate a compound ROI, therefore multiple sites can be checked
within a single script step. When packaged in a Vision Assistant Express VI
the
Color Matching
step can generate both a
Match Flag
(Boolean pass/fail
indicator) and a
Match Score
(numerical value between 0 and 1000). Study
the tutorial video
to learn how to set up the
Color
Matching
step to check multiple component sites for an expected color.
NOTE
:
The ROIs defined in the
Color Matching
step depend on a
specific camera resolution, therefore, settle on a resolution early in your
development process to avoid having to redefine the color matching ROIs.
(3:23)
Summary of Contents for NI myRIO
Page 1: ...Ed Doering NI myRIO Vision Essentials Guide...
Page 2: ......
Page 11: ...Part I Machine Vision Fundamentals...
Page 12: ......
Page 31: ...Part II Introductory Machine Vision Projects...
Page 32: ......
Page 38: ...32 CHAPTER 4 CAMERA SETUP...
Page 44: ...38 CHAPTER 5 STEREO VISION...
Page 61: ...Part III Machine Vision Application Projects...
Page 62: ......
Page 72: ...66 CHAPTER 8 COIN COUNTER...
Page 86: ...80 CHAPTER 10 KEYED OPTICAL LOCK...
Page 92: ...86 CHAPTER 11 DMM TEST STAND...
Page 134: ...128 CHAPTER 17 MARBLE SORTER...
Page 135: ...Part IV Appendices...
Page 136: ......
Page 143: ...B MXPandMSPConnectorDiagrams Figure B 1 MXP myRIO eXpansion Port connector diagram...
Page 144: ...138 APPENDIX B MXP AND MSP CONNECTOR DIAGRAMS Figure B 2 MSP miniSystem Port connector diagram...
Page 148: ...142 APPENDIX D BUILD A STAND ALONE APPLICATION...
Page 149: ...E MarbleSorterConstructionDetails To be continued...
Page 150: ...144 APPENDIX E MARBLE SORTER CONSTRUCTION DETAILS...