Programming with HALCON

HDevEngine – flexible integration for evolving vision logic

HDevEngine is a runtime component of MVTec HALCON that enables direct execution of HDevelop programs inside applications. It is provided for machine vision systems that require flexible updates, fast adaptation, and long-term maintainability without recompiling or redeploying the full application.

HDevEngine separates machine vision logic from application logic and allows vision code to evolve independently over the system lifetime.

You want to convince yourself?

Try HALCON for free

Why Use HDevEngine?

HDevEngine is optimal for industrial environments where machine vision requirements change frequently.

With HDevEngine, updates to inspection logic can be applied at runtime. This reduces downtime, shortens response times to change requests, and lowers validation and maintenance effort.

Typical scenarios include

  • Rapid implementation of customer-specific changes.
  • Flexible adaptation of automated production lines to varying products.
  • Updating inspection tasks without recertifying the entire system.
  • Long-term operation of distributed or IIoT-enabled systems.

These capabilities build on the broad functionality of HALCON, including robust image processing, deep learning, and 3D vision.

How HDevEngine Works

HDevEngine is an interpreter-based library that loads and executes HDevelop programs and procedures at runtime. Vision logic is created and validated in HDevelop and then executed directly inside applications written in C++, C#, Python, or .NET languages.

This workflow is part of MVTec’s integrated approach to development tools and programming within HALCON.

Learn more about MVTec's development tools and programming

Integration Into Applications

Simplyfied integration of HDevEngine through the library export feature of HDevelop.

This export generates:

  • Ready-to-use C++ and C# wrappers for HDevelop procedures.
  • All required HDevEngine API calls.
  • CMake-based project files for common development environments such as Visual Studio.

As a result, calling HDevelop procedures from an application becomes comparable to calling native functions, with minimal integration effort.
HDevEngine complements interactive development with HDevelop and supports structured deployment workflows.

Learn more about HDevelop

Video

Please note: Once you watch the video, data will be transmitted to Youtube/Google. For more information, see Google Privacy.

Activate Video
FREE SOFTWARE EVALUATION
Try MVTec HALCON free of charge for 30 days

Explore HALCON's full capabilities in your own environment. Test key features, work with your own images, and evaluate its performance in real conditions – all with no obligation.

We also offer free student licenses for our software.

Try HALCON for free

Debugging And Remote Maintenance

Full debugging is supported for vision code executed via HDevEngine. Procedures running inside an application can be debugged directly in HDevelop, including step-by-step execution, inspection of variables, and call stack analysis. MVTec also supports remote debugging, allowing centralized maintenance of systems running in the field.
This is particularly relevant for embedded and distributed systems.

Programming And Runtime Capabilities

Using HDevEngine provides access to the full MVTec HALCON functionality. The runtime environment supports multiple programming languages, thread-safe execution, parallel processing and automatic memory and handle management.
These capabilities ensure stable operation in long-running industrial applications and align with the overall features and tools concept of HALCON.

Protection Of Know-How

Protection of intellectual property with HDevEngine.

HDevelop procedures, libraries, and complete programs can be password-protected. Serializable HALCON data, including trained deep learning models and iconic data, can be encrypted. This allows deployment of machine vision functionality without exposing proprietary algorithms or sensitive data.

Development Toolchain Support

MVTec supports professional development workflows with tooling such as the HALCON extension for Visual Studio.

This extension allows inspection of HALCON variables directly during debugging, including images, regions, XLDs, and tuple data. In combination with HDevelop and HDevEngine, this supports efficient development, testing, and long-term maintenance of machine vision applications.
 

COMPREHENSIVE SERVICES & SUPPORT

Our team is here to assist you

INDIVIDUALLY TAILORED
Individual Application Solutions

We would be happy to advise you on which technology is best for you. Together we develop individual solutions and optimize your operating procedures.

ALWAYS AVAILABLE
Our Technical Support

With a comprehensive range of services and support, MVTec helps you realize your image processing task in the best possible way. The MVTec experts are at your side during the entire project cycle.

MVTec Software