LEGO Bricks Classification

NI Vision Assistant

LEGO Bricks Classification

Application Type Identification
Image Characteristics Color
Machine Vision Tool(s) Run LabVIEW VI; Custom Classification; Overlay

The LEGO bricks classification example demonstrates the use of the Run LabVIEW VI step. The Run LabVIEW VI step calls a custom classification algorithm written in LabVIEW to classify LEGO bricks based on the color and shape of the bricks. The Overlay step overlays the result onto the image.

Run LabVIEW VI—Calls a custom classification VI written in LabVIEW. The VI classifies the LEGO brick based on the specific features of the brick. The feature vector is made of an array containing the color spectrum of the part and a shape descriptor that recognizes the shape of the brick.

Overlay—Overlay the result of the classification onto the image without destroying the image data.