
Calculations and Judgments Using Inspection Item Data
FQ2-S/CH User’s Manual
325
4
Setting Up Inspect
ions
Examples for Calculation
Example 1: Finding the distance between two measured points
This example finds edge position 2 by detecting the two edge positions of inspection item 0 and inspection item
1, and calculates the distance between the two points.
• Region 0 (edge position coordinates of inspection item 0): (I0.X,I0.Y)
• Region 1 (edge position coordinates of inspection item 1): (I1.X,I1.Y)
• Distance between two points = DIST (I0.X,I0.Y,I1X,I1.Y)
Example 2: Finding the lowest similarity of characters read with OCR inspection items
OCR items in inspection items 0 and 1 are used to find the lowest similarity of characters read.
• Region 0 (similarity from OCR item in inspection item 0): (I0.SIM)
• Region 1 (similarity from OCR item in inspection item 1): (I1.SIM)
• Lowest similarity from OCR items in inspection items 0 and 1: min(I0.SIM,I1.SIM)
Calculate this distance.
Region 0
Region 1
Edge position
Edge position
Region 0
Region 1
ABC
DEF
Summary of Contents for FQ2-S/CH Series
Page 1: ...User s Manual Smart Camera FQ2 S CH Series Cat No Z337 E1 06...
Page 12: ...10 FQ2 S CH User s Manual MEMO...
Page 74: ...Setting Up Ethernet 72 FQ2 S CH User s Manual MEMO...
Page 366: ...Editing the Model Region Measurement Region from Run Mode 364 FQ2 S CH User s Manual MEMO...
Page 432: ...Functions Related to the System 430 FQ2 S CH User s Manual MEMO...
Page 587: ...Index FQ2 S CH User s Manual 585 Index 9...
Page 589: ......