MVTEC HALCON

Vision System Simplifies Robotic Fruit Picking – ACRO Institute

The ACRO Institute developed a mobile apple-picking robot equipped with a camera inside the gripper and MVTec HALCON image processing software. The robot identifies ripe apples, calculates their position, and performs precise gripping movements. This enables efficient and reliable fruit harvesting, addressing the challenges of seasonal labor shortages.
HALCON
Robotics
Agriculture
Food & Beverage
Packaging & Logistics
3D Vision
Classification
Filtering
Matching
Measuring

In response to Belgian farmers' problem to find reliable seasonal workers, the Automation Centre for Research and Education (ACRO) Institute developed a robotic apple harvester. ACRO is a spin-off company and technical consultant to the Catholic University College of Limburg, Belgium, and also provides PLC and machine-vision technical training and research to the European community.

The European standard height of fruit trees on professional plantations must be between two and three meters. The Automation Centre for Research and Education (ACRO) automated fruit-picking machine (AFPM) harvester uses a unique vacuum-gripper design to pick the fruit and ease coordination between the vision system and robot controller. Mounted behind a common agriculture tractor, the AFPM platform supports a Panasonic industrial robot to "pick" the fruit (see Fig. 1).

The AFPM apple harvester also consists of a generator for power supply, a horizontal stabilization unit, a seventh external vertical axis to enlarge the operation range, a SICK safety scanning device, a Siemens central control unit, and touch panel PC with human-machine interface (HMI). MVTec's HALCON image processing software provides the robot guidance coordinates, while a canopy and curtain, which can be folded up during transportation, reduce the affects of ambient light (see Fig. 2). The AFPM needs one driver on the tractor while it effectively handles the workload of six workers.

One of the most challenging problems was the design of the fruit gripper. The final gripper design is a combination of a white flexible silicone cone surrounding an IDS UI-2230RE-C uEye USB 2.0 color camera. The cone is fed by a reversible vacuum/blower (see Fig. 3).

By placing the camera inside the gripper, the position of the camera is fully controllable. The camera can point its optical axis at the apple, reducing image distortion and eliminating repetitive calibration steps during apple picking. A final advantage is that the camera is protected against collisions or bad weather conditions, as well as against direct sunlight.

Once the apple harvester is moved in front of the tree and its canopy opened around the AFPM platform (see Fig. 4), the harvester has to be actively stabilized with different hydraulic foot and elevator systems. After the rig is automatically adjusted, the camera scans the tree from 40 preprogrammed positions. Thus, each tree is divided into 40 sectors or images.

Vacuum gripper with integrated USB camera used for vision-guided apple picking.
Fig. 3: Vacuum gripper unit of the AFPM has a USB 2.0 camera inside.
Robotic apple harvester picking apples in an orchard with a canopy to control lighting conditions.
Fig. 4: The AFPM picks apples in the orchard. The canopy covers an apple tree against intense sunlight.

The programmed location and orientation of the robotic arm is stored with each image. Location data is stored in the PC's RAM. For each sector, all ripe apples are identified by the image processing software, listed, and picked one by one in a looped task.

The platform was designed to control the lighting conditions to the greatest extent possible, using a canopy to cover the entire tree and the AFPM platform to reduce the effects of changing ambient lighting conditions and provide a uniform background (blue) to ease locating the (red and green) apples.

Image processing is conducted on an industrial PC with 2 GHz Pentium IV microprocessor and 1 GByte RAM running Windows XP. For image-processing software, the AFPM designers elected the standard machine vision library HALCON 7.1 from MVTec because of its accuracy and reliability, according to Eric Claesen, lead designer for the project at ACRO. The system can pick 85% of all apples of a tree, similar to the achievements of manual picking operations.

During system calibration, the first step is to train the system on the color of the apple tree's leaves and the blue background canopy. A series of color thresholding steps are used to filter out these unwanted features. First the blue is filtered out of each of the 40 images, and then the leaves are filtered out. The green and the red parts of the apples' surfaces are located via color thresholding. After noise reduction, using HALCON's opening_circle and select_shape convolutions and filling holes in the images, the apples' positions are clearly emerged (see Fig. 5). After separating the individual apples from clusters (when present) by watershed-filtering, each apple is selected and transformed into a circle.

To pick one apple, the robot has to determine the distance between the camera and the apple and the path to get there. The camera measures this distance by triangulation. The measuring is done in several steps. The camera first acquires an image, and then the camera is turned so that the apple is situated in the center (see Fig. 6). The camera then acquires a second image, and finally the diameter is calculated by processing these two images. At this point, the vision system determines if the apple falls within the acceptable size range. If so, a signal is sent across a Profibus connection to the robot controller, and the robot arm is allowed to continue toward the apple.

While approaching the apple, several images are processed to calculate by triangulation the remaining distance to the apple while air is blowing through the gripper at about 300 m³/min to free the fruit from leaves that might conceal it. With each image acquired, the system calculates the remaining distance using a proprietary formula. Since the apple remains centered in the image, the correlation of a given apple in subsequent images is trivial. When the selected apple is approached, air blows through the picking device to clear the apple from leaves. Once the apple is within a well-defined range of the gripper, the vacuum device is activated. If a vacuum is detected, the apple is rotated and tilted softly, picked and then put beside.

Diagram illustrating distance measurement between camera and apple for vision-guided picking.
Fig. 6: Distance between camera and apple

Features, advantages, benefits

Says ACRO's Eric Claesen, "The goal, at the beginning - three years ago - of the project, was to research if it was possible to pick an apple with the technology of today. Now at the end of the project we can say that the project succeeded. We can detect and pick 85% of the apples in a tree correctly. At the moment the picking machine picks an apple every 8 s but this will be reduced to 6 or 5 s after the pick season in 2007.

The designers believe that this time span can be lowered to about 5 s, chiefly by reducing the communication bottleneck between the vision system and the central controller unit. The designers are also planning to better the automation of the navigation through the orchard and to make the device suitable for picking other fruit, such as pears."

Author: Dr. Lutz Kreutzer

All product names, trademarks and images of the products/trademarks are copyright by their holders. All rights reserved.

Published on: August 21, 2013

Further News

MVTec MERLIC 26.03 is available now
With MERLIC 26.03, developing and operating machine vision applications becomes more consistent and scalable. The release introduces the unified MVTec versioning format (YY.MM) and a simplified, package-based licensing model with flexible add-ons.
Read more
MERLIC
New version of the Deep Learning Tool significantly boosts Deep OCR performance
With Deep OCR Alignment and other improvements, Deep Learning Tool 26.03 enhances speed and efficiency for OCR applications. New models, optimized training, and CUDA 12.8 support bring higher performance with lower memory usage.
Read more
Deep Learning Tool
New MVTec Academy course: Mosaicking – stitching images with HALCON
This basic training introduces you to the mosaicking technologies in HALCON. The course shows you how to combine several images into one large mosaic image. Thus, this technology enables you to create a large image of an object or scene that would ot…
Read more
Academy
HALCON
New MVTec Academy course: Parallel programming with HALCON
This advanced training introduces you to the concept of parallel programming with HALCON. The application of parallel programming allows you to optimize the performance of your HALCON program and take full advantage of multicore or multiprocessor ha…
Read more
Academy
HALCON
Opticum d.o.o. becomes a MVTec Certified Integration Partner
The company based in Vojnik, Slovenia, specializes in industrial printing, machine vision, weighing, labeling, and traceability, serving primarily the pharmaceutical industry.
Read more
Certified Integration Partner
VST Taiwan becomes a new member of MVTec’s partner network
The automated optical inspection (AOI) specialist VST Taiwan has joined the MVTec Certified Integration Partner Program and offers services in optical system design, mechanical structure planning, and key vision components.
Read more
Certified Integration Partner
New version 1.6.5 of the MVTec Software Manager
The latest version of the MVTec Software Manager is now available and brings several enhancements to improve usability and performance.
Read more
MVTec
New MVTec Academy course "Develop a custom tool for MERLIC"
This advanced training introduces you to the development of custom tools for MERLIC to extend the existing MERLIC tool library.
Read more
Academy
MERLIC
New version 25.12 of the MVTec License Server released
With MVTec License Server Cloud-Ready 25.12, HALCON licenses can be borrowed, enabling operation during network failures and offline.
Read more
MVTec
MVTec Deep Learning Tool 25.12 is out now
On December 4, 2025, we released the new version 25.12 of the MVTec Deep Learning Tool and thus consistently further developed our portfolio for AI-based machine vision.
Read more
Deep Learning Tool
MVTec welcomes new partner Micro-Epsilon
We are pleased to welcome Micro-Epsilon, a globally operating specialist in high-precision sensor and measurement technology, to our Technology Partner Program.
Read more
Technology Partner
New MVTec Academy course "Image acquisition: The interface for modern camera technology"
This training course will introduce you to the new image acquisition operators. Through practical exercises, you will learn the necessary technical terms and concepts, and deepen your knowledge.
Read more
Academy
HALCON
HALCON 25.11 is available now
The new version of MVTec HALCON is now available for download. This version again brings some improvements as well as new features, such as Continual Learning – Classification, a new technology that makes training and maintaining classification model…
Read more
HALCON
DISYS joins MVTec Partner Network with expertise in advanced vision systems
The company from Schio, Italy, develops fully customized AI-powered solutions for diverse industries, from manufacturing to pharma, automotive, packaging, and food & beverage.
Read more
Certified Integration Partner
New MVTec Academy course "Code integration with language interfaces"
This advanced training course covers the integration and use of the HALCON library in software projects written in C, C++, C#, Visual Basic .NET, and Python.
Read more
Academy
HALCON
New MVTec Academy course "Image acquisition with GigE Vision"
This advanced course provides in-depth information on using GigE Vision cameras with HALCON.
Read more
Academy
HALCON
VRAiA CORP S.L. joins the MVTec Partner Network
The company from Aspe (Alicante, Spain) applies robotics and machine vision in tire production, focusing on final inspection and quality assurance.
Read more
Certified Integration Partner
robomotion strengthens the MVTec Partner Network
The German company specializes in customized automation solutions for demanding applications in food, medical technology, packaging, and plastics industries.
Read more
Certified Integration Partner
Halley Informatica strengthens the MVTec Partner Network
The division Halley Machine Vision specializes in 3D vision and robot guidance solutions for industrial automation and quality control.
Read more
Certified Integration Partner
Trifid Automation s.r.o. joins the MVTec Partner Network
The company from Slovakia provides advanced machine vision solutions for quality control and inspection across automotive, rubber, engineering, and wood industries.
Read more
Certified Integration Partner
MVTec MERLIC 5.8 is available now
MVTec MERLIC 5.8 makes developing and operating vision applications easier than ever, with improved error handling, centralized recipe management, and faster, more flexible deployment.
Read more
MERLIC
GosTech Kft. joins the MVTec Partner Network
With expertise in machine vision, optical and electrical measurement, and automation, GosTech Kft. delivers high-value solutions across multiple industries.
Read more
Certified Integration Partner
Digiinov SA adds industrial software and machine vision know-how to the MVTec Partner Network
The Swiss company supports machine builders with industrial software development and customized machine vision solutions based on HALCON.
Read more
Certified Integration Partner
New MVTec Academy course "Hand-eye calibration"
In this advanced course, you will learn how to perform hand-eye calibration using HALCON.
Read more
Academy
HALCON
SIGA Vision Ltd joins the MVTec Partner Network
Backed by the Mpac group, SIGA Vision delivers seamless vision systems and turnkey solutions for food and beverage, consumer goods, and healthcare industries.
Read more
Certified Integration Partner
VISOR – AOI and automation specialist joins the MVTec Partner Network
Founded in 2007, VISOR develops customized AOI and automation solutions and is today a leading provider of industrial vision systems in Southeastern Europe.
Read more
Certified Integration Partner
Smart Services becomes a new member of MVTec’s partner network
Smart Services has joined the MVTec Certified Integration Partner Program, offering machine vision solutions for identification, measurement, object and position detection, and quality inspection.
Read more
Certified Integration Partner
Herzog VSA becomes a certified integration partner of MVTec
The Herzog VSA specialises in challenging machine vision projects, with a strong focus on 3D data processing, line scan camera applications, and hybrid 2D/3D systems.
Read more
Certified Integration Partner
Agmanic Vision becomes a new member of MVTec’s partner network
Computer vision specialist Agmanic Vision has joined the MVTec Certified Integration Partner Program and delivers AI-driven solutions for quality control, robotics, and embedded applications.
Read more
Certified Integration Partner
New version 25.08 of the MVTec License Server released
The update makes it easier to run the License Server as a Windows system service and provides improved access to documentation.
Read more
MVTec
MVTec welcomes Optotune as new partner
MVTec is pleased to welcome Optotune Switzerland AG as the latest company to join its Technology Partner Program. Through this collaboration, MVTec’s powerful machine vision software is complemented by Optotune’s cutting-edge focus-tunable lenses and…
Read more
Technology Partner
Certified Integration Partner Autolab becomes a new member of MVTec’s partner network
Autolab GmbH is the latest addition to MVTec's Certified Integration Partner Program, delivering advanced solutions for visual quality inspection and inline measurement using deep learning and classical machine vision.
Read more
Certified Integration Partner
New MVTec Academy course "Inspect the print quality of bar and 2D data codes"
In this advanced training course, you will learn how to perform print quality inspection for bar and data codes using HALCON and MERLIC.
Read more
Academy
HALCON
MERLIC
Preview version of HDevelopEVO: new update now available
Faster, more intuitive, and interactive programming: All HALCON users can now download the new IDE preview version.
Read more
HALCON
New MVTec Academy course "Defect detection"
This basic training introduces you to defect detection with MVTec HALCON. In this training, you learn different approaches and what to consider when developing a defect detection application. Then, you solve some challenging applications with differe…
Read more
Academy
HALCON
Visione Artificiale srl becomes a new member of MVTec’s partner network
Visione Artificiale srl has joined the MVTec Certified Integration Partner Program, offering turnkey vision solutions for quality control, defect detection, robot guidance, and process optimization.
Read more
Certified Integration Partner
Bertram Elektrotechnik becomes a new member of MVTec's partner network
Automation specialist Bertram Elektrotechnik adds its expertise in robotics, test engineering, and image processing to the MVTec Certified Integration Partner Program.
Read more
Certified Integration Partner
New MVTec Academy course "Working with regions"
This basic training introduces you to the concept of regions in HALCON. You learn how to create regions manually as well as by different segmentation approaches, process regions, and access different features of regions.
Read more
Academy
HALCON
New MVTec Academy course "Speed up deep learning with AI²"
his advanced training shows you how to optimize your deep learning applications in terms of inference runtime and memory requirements using MVTec’s AI Accelerator Interface (AI²).
Read more
Academy
HALCON
MERLIC
MVTec HALCON software box with surfer – new version
HALCON 25.05 is available now
The new version of MVTec HALCON is now available for download. With this release, MVTec focuses on improving HALCON’s ease-of-use and rule-based machine vision.
Read more
HALCON
Advancing Anomaly Detection: VAND 2025 Challenge at CVPR 2025
We’re thrilled to announce the Visual Anomaly and Novelty Detection (VAND) 2025 challenge, a premier event at CVPR 2025. Sponsored by Voxel51, Intel, and MVTec, this challenge aims to push the boundaries of anomaly detection in industrial application…
Read more
MVTec
MVTec Deep Learning Tool 25.04 is out now
On April 30, 2025, we released the new version 25.04 of the MVTec Deep Learning Tool and thus consistently further developed our portfolio for AI-based machine vision.
Read more
Deep Learning Tool
MVTec on Campus celebrates 5 years with Vision Hero campaign
MVTec Software GmbH is proud to announce the 5-year anniversary of its successful educational initiative MVTec on Campus. To mark this special milestone, MVTec is launching a unique and engaging campaign: Vision Heroes – Saving Yogurt Village.
Read more
MVTec
MVTec MERLIC 5.7 is available now
With the new version MERLIC 5.7, MVTec continues their established path with MERLIC – easy process integration combined with powerful machine vision methods. The new version improves the usability of MERLIC Runtime Environment (RTE) and optimizes the…
Read more
MERLIC
New MVTec Academy course "Read bar codes"
This basic training teaches you how to read bar codes with HALCON and MERLIC.
Read more
Academy
HALCON
MERLIC
Mission Accomplished: MVTec's Christmas Quiz
As we wrap up our Christmas quiz, we’re excited to share the fantastic results.
Read more
MVTec
MVTec Software