Color Pencil Inspection

NI Vision Assistant

Color Pencil Inspection

Application Type Inspection
Image Characteristics Color
Machine Vision Tool(s) Color Matching; Pattern Matching

The color pencil inspection example determines if manufactured colored pencils meet specifications. This application compares the pencil lead color to the color of the pencil shaft using the Color Matching function, and uses the Pattern Matching function to ensure that the tip of the pencil is not broken.

Color Matching—Determines if the color of the pencil tip is the same color as the shaft.

Color Plane Extraction: HSL—Luminance—Extracts the luminance plane from the color image.

Pattern Matching—Verifies that the tip of the pencil is not broken.