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

Weitere Stories

MVTec HALCON product icon
Projektion der von einer Kamera erkannten Pupillenkoordinaten auf das Bild einer zweiten Kamera zur exakten Bestimmung der Glasposition.
Image Processing Automates Eyeglass Fitting for Rodenstock
Imagine that you wear varifocal glasses and need new ones. You go to an optometrist and, without time-consuming adaptations, measuring or trying on frame after frame, you look at yourself in a mirror and - voila! - your chosen frame is on your nose.
Show full Story
HALCON
Glass, Metal, Paper, Foil & Printing
Classification
Matching
Measuring
MVTec HALCON product icon
Visualisierung eines People-Counting-Systems am Gebäudeeingang mit 3D-Erfassungsbereich, Ein- und Ausgangsmarkierungen sowie Anzeige zur aktuellen Personenzahl zur sicheren Zutrittskontrolle.
Simple and reliable control of the number of persons within a building with MVTec HALCON
Strelen Control Systems GmbH is a Certified Integration Partner of MVTec with seat in Büttelborn, close to Darmstadt, Germany. The solutions developed by Strelen are suitable for the inspection and analysis as well as for the automation and regulatio…
Show full Story
HALCON
Security & Surveillance
Blob Analysis
Morphology
MVTec HALCON product icon
Battery laser welding system used in automated battery production with integrated machine vision inspection.
Full quality control with HALCON´s deep learning functions
One of the key challenges in automated battery production is achieving stable welds without damaging the housing. To meet strict automotive quality standards while reducing costs, Manz AG is developing inline inspection systems that enable full proce…
Show full Story
HALCON
Battery Production
Electric Components
Machinery
Anomaly Detection
Deep Learning
Inspection
MVTec HALCON product icon
Camera test chart with line patterns and a Siemens star used for measuring resolution, contrast, and optical performance.
DCTau: A photographer's tool for testing digital cameras based on HALCON
DCTau by Anders Uschold, Munich, provides a standardized test for evaluating digital cameras with minimal operator input. Designed for both beginners and professionals, it measures resolution, contrast, noise, sharpening, distortion, and brightness l…
Show full Story
HALCON
Education, Research & Science
Measuring
MVTec HALCON product icon
HERON - Middleware for Image Retrieval Using Graphical Features Extracted by HALCON
The interdisciplinary HERON project aims to find images in digital libraries or large archives without detailed domain knowledge. Initially applied to heraldry, the methods can also be used in medical imaging or trademark collections. HERON uses inno…
Show full Story
HALCON
Education, Research & Science
Classification
Filtering
Matching
MVTec HALCON product icon
Support of Intelligent Rooms by Image Processing
In recent years, rooms with intelligence are studied. This kind of rooms is becoming important not only for medical or welfare use, but also at offices or ordinary houses. Obviously, the man-machine interface to communicate human intention is a subst…
Show full Story
HALCON
Education, Research & Science
Classification
Filtering
MVTec HALCON product icon
Machine Vision Solves "Needle-in-a-haystack" Problem for Small Parts Manufacturer, Developed by Data Systems
Data Systems solves the “needle-in-a-haystack” challenge for a small parts manufacturer using HALCON-based machine vision. The system automatically inspects, sorts, and classifies over 300,000 part variations, checking size, type, coating, and laser…
Show full Story
HALCON
Machinery
Packaging & Logistics
Matching
OCR
MVTec HALCON product icon
Package label with barcode and printed text used for automated barcode reading and OCR.
Machine Vision Speeds Package Bar Code Reading at Quelle GmbH
At Quelle GmbH's logistics center in Leipzig, 80,000 packages are processed daily. To enhance efficiency, the company employs a combined machine vision system with barcode reading and OCR. Utilizing Baumer i-Cam 108 cameras and MVTec's HALCON softwar…
Show full Story
HALCON
Machinery
Packaging & Logistics
Bar Code & 2D Code Reading
OCR
MVTec HALCON product icon
Manual handling of a helicopter on a ship deck under rough sea conditions.
Automatic Helicopter Handling System from FHS Förder- und Hebesysteme GmbH
FHS Förder- und Hebesysteme GmbH is a leading supplier of defense technology and naval technology. The company has a long experience and competences in development and production of systems and machines with electrical hydraulical drives and control…
Show full Story
HALCON
Robotics
Calibration
Measuring
MVTec HALCON product icon
The Presetter and Measuring Machine SATURN from Zoller – Measurement of Tools with HALCON
The ZOLLER SATURN measuring machine employs HALCON for precise tool measurement in the micrometer range. Subpixel algorithms automatically extract geometric properties from the tool shape. Camera calibration ensures consistent precision across the en…
Show full Story
HALCON
Machinery
Calibration
Measuring
MVTec Software