Bead Inspection improved in HALCON 12

Have you ever used HALCON to inspect a bead of dispensed epoxy or a weld seam? If so, you may have done this using HALCON’s XLD contours. With the release of HALCON 12, MVTec offers you new a tool to solve this task more easily.

find-the-edge-300x208HALCON 12’s new bead inspection tool works under the basic idea that you define a reference contour (for example the path along which some adhesive needs to be dispensed) as well as a tolerance for the position and thickness of the dispensed adhesive. This is done by calling:

create_bead_inspection_model (ReferenceContour, TargetWidth, WidthTolerance, PositionTolerance, ‘dark’, [], [], BeadInspectionModel).

The reference contour, which you can import from a CAD file for example, is passed as an XLD. To perform the actual inspection, simply pass the image to the operator:

apply_bead_inspection_model (Image, LeftContour, RightContour, ErrorSegment, BeadInspectionModel, ErrorType)

failed-bead-inspection-300x208failed-bead-inspection2-300x208The operator returns the actual edge of the bead on both sides as well as a separate contour array for segments that do not conform to your spec. In addition, the error classification is returned (bead “too thick/too thin”, “bead missing”, “incorrect position”).

Find out more about HALCON 12 here