Southeast Asia’s Cutting Edge Technology Provider in Machine Vision, Industrial Automation and Industry 4.0

HALCON Deep Learning

HALCON Deep Learning

Deep Learning with HALCON 18.11, users are able to train their own classifier using pretrained CNNs (Convolutional Neural Networks) included in HALCON. These networks have been highly optimized for industrial applications and are based on hundreds of thousands of images.

Industry Applications:

HALCON Progress


Deep Learning
With HALCON 18.11, users are able to train their own classifier using pretrained CNNs (Convolutional Neural Networks) included in HALCON. These networks have been highly optimized for industrial applications and are based on hundreds of thousands of images. HALCON 18.11 offers a seamlessly integrated, comprehensive set of deep learning functions for

  • classifying entire images
  • object detection
  • semantic segmentation

Deep-learning-based image classification allows to easily assign images to trained classes. The low labelling effort enables particularly short set-up times, and applying the classifier to new data is especially fast.

With semantic segmentation, trained defect classes can be localized with pixel accuracy. This allows users to, e.g., solve inspection tasks, which previously could not be realized, or only with significant programming effort.

Object detection localizes trained object classes and identifies them with a surrounding rectangle (bounding box). Touching or partially overlapping objects are also separated, enabling object counting.

To maximize its potential in industrial environments, HALCON’s deep-learning-based image classification, semantic segmentation, and object detection can be performed on GPUs, as well as on x86 CPUs.

ECC 200 Code Reader Improvements

With HALCON 18.11, the data code reader for ECC 200 codes has been improved. The overall recognition rate could be increased by 5 % (data based on our internal ECC 200 benchmark consisting of more than 3,700 images from various applications). In addition, the ECC 200 reader is able to read codes with disturbed quiet zone now. Moreover, codes against complex backgrounds can be found and read faster and more robustly.

Improved Bar Code Reader

HALCON now features optimized edge detection, which improves the ability to reliably read barcodes with very small line widths as well as strongly blurred codes. Moreover, the quality of the barcodes is also verified in accordance with the most recent version of the ISO/IEC 15416 standard.

Improved Automatic Text Reader

HALCON features an improved version of the automatic text reader, which now detects and separates touching characters more robustly.

New Data Structure “Dictionaries”

HALCON 18.11 introduces a new data structure “dictionary”, which is an associative array that opens up various new ways to work with complex data.

For example, this allows bundling various complex data types (e.g., an image, cor­re­spond­ing ROIs and parameters) into a single dictionary, making it easier to structure programs when, e.g., passing many parameters to a procedure.

Dictionaries can also be read from and written to a file. This allows an engineer to bundle all information necessary to reproduce a certain application’s state (e.g., camera calibration settings, defective images, and machine parameters) into a single file. This file can then easily be shared with a machine vision expert for offline debugging.

Handle Variable Inspect in HDevelop

With HALCON 18.11, HDevelop can display detailed information on most important handle variables.

This allows developers to easily inspect the current properties of complex data structures at a glance, which is extremely useful for debugging. Double-clicking a handle variable now returns all para­meters associated with the handle and their current settings. For example, the user can now easily examine parameters of a data code handle, such as “polarity”, “symbol type” or “finder pattern tolerance”, as well as complex parameters that carry multiple key-value pairs, like for example the camera parameter of a 3D shape model handle.

Surface Fusion For Multiple 3D Point Clouds

HALCON now offers a method that fuses multiple 3D point clouds into one watertight surface. This new method is able to combine data from various 3D sensors, even from different types like a stereo camera, a time of flight camera, and fringe projection. This technology is especially useful for reverse engineering.

HDevEngine Improvements

HDevelop provides a new library export that makes the use of HALCON procedures from C++ and .NET as easy and intuitive as calling any other C++/.NET function. This is possible via a wrapper that encapsulates the necessary HDevEngine API calls. This new library export also generates CMake projects which can easily be configured to output project files for many popular IDEs, such as Visual Studio. The new functionality is accessible from the HDevelop GUI and via command line interface.

Automatic Handle Clearing

HALCON now makes it much more comfortable to work with handles by clearing these automatically once they are no longer required. This significantly reduces the risk of creating memory leaks and makes writing “safe code” much simpler.

3D Improvements

HALCON now offers optimized functions for surface-based 3D matching. These can be used to determine the position of objects in 3D space more reliably, making the development of 3D applications easier. In addition, HALCON now also includes a new helper procedure that allows developers to quickly inspect and debug parameters and results of a surface-based matching application.

Support for Hypercentric Lenses

A new camera model within HALCON now allows the corrections of distortions in images that were recorded with hypermetric (also known as pericentric) camera lenses. These lenses can depict several sides of an object simultaneously, thus enabling a convergent view of the test object. With this technology, users only need a single camera system for inspection and identification tasks, e.g., the inspection of cylindrical objects. 


HALCON 18.11 includes new operators, which enable the user to inspect specular and partially specular surfaces to detect defects by applying the principle of deflectometry. This method uses the reflections on specular objects’ surfaces by observing mirror images of known patterns and their deformations on the surface.

HALCON in Your Industrial Network

HALCON 18.11 introduces the Hilscher-cifX interface. This allows HALCON to communicate with almost all industrial field bus protocols via Hilscher cards. Among others, CC-Link, EtherCAT, EtherNet/IP, PROFIBUS, and PROFINET are supported.