Examples For Calculation - Omron FQ2-S/CH Series User Manual

Smart camera
Hide thumbs Also See for FQ2-S/CH Series:
Table of Contents

Advertisement

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)
FQ2-S/CH User's Manual
Calculate this distance.
Region 0
Edge position
Region 0
ABC
Calculations and Judgments Using Inspection Item Data
Region 1
Edge position
Region 1
DEF
325

Advertisement

Table of Contents
loading

Table of Contents