← Latest papers
💻 computer science

Vine2Graph - An algorithm for defining 2D grapevine structures

This paper introduces Vine2Graph, a graph-based algorithm that converts 2D image data of grapevines into structured, rooted tree representations with parametric cane trajectories to facilitate precision viticulture and robotic pruning, achieving high accuracy in node assignment and segment connection with real-time processing speeds.

Original authors: Francisco Oliveira, Daniel Queirós da Silva, Mário Cunha, José Boaventura Cunha, Filipe N. Santos

Published 2026-11-23
📖 5 min read🧠 Deep dive

Original authors: Francisco Oliveira, Daniel Queirós da Silva, Mário Cunha, José Boaventura Cunha, Filipe N. Santos

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the quiet rows of a vineyard, the work of pruning is a delicate, human art. It requires a worker to look at a single grapevine, understand its unique history of growth, and decide which branches to keep and which to cut away to ensure a healthy harvest. This task is not just about trimming; it is about managing the plant's future shape and yield. However, finding skilled workers for this labor-intensive job is becoming increasingly difficult, and the natural world offers no two vines that look exactly alike. To bring robots into the vineyard to help, engineers face a significant hurdle: a machine cannot simply "see" a vine the way a human does. A camera captures a flat image, but a robot needs to understand the three-dimensional structure hidden within that picture—the main trunk, the permanent horizontal arms, and the new, flexible shoots that need cutting. Without a clear map of how these parts connect, a robot cannot make the smart decisions required to prune effectively.

Researchers have developed a new method called Vine2Graph to solve this problem of turning a flat picture into a usable map. The system acts as a translator, taking the raw visual data from a camera—specifically, a list of where the small growth points, or nodes, are located, and a digital outline of the different parts of the plant—and converting it into a structured diagram. Imagine this diagram as a family tree for the vine, where every branch is a line connecting specific points, and the entire structure is rooted at the main trunk. This digital tree preserves the relationships between the different parts of the plant, telling the robot exactly which shoot belongs to which permanent arm, and in what order the growth points appear along the stem.

The process begins when the algorithm receives these visual inputs. It first identifies the main reference point, usually the center of the trunk, and uses it as the starting place for the entire structure. It then groups the detected nodes into individual shoots, or canes, based on which ones fall inside the digital outline of that specific shoot. The system carefully orders these points from the base of the vine outward, connecting them in a sequence that mimics the natural growth of the plant. If the system detects a node that does not belong to the main vine, perhaps because it is part of a neighboring plant, it filters that information out to keep the map clean and accurate. Once the connections are made, the system adds a layer of smoothness to the map. Instead of drawing straight, rigid lines between the points, it uses a mathematical smoothing technique to create gentle curves that follow the actual, wavy shape of the living wood. This ensures the robot sees the vine as it truly is, with all its natural bends and turns, rather than a simplified, blocky version.

The researchers tested this approach on fifteen different grapevines from three distinct regions, each with unique training styles and growth patterns. The results showed that the system was highly effective at its job. In nearly every case, the algorithm correctly identified which growth point belonged to which shoot, achieving an accuracy of nearly 98 percent. When it came to connecting these points in the right order, the system was even more precise, getting the connections right more than 99 percent of the time. While the system successfully rebuilt the entire structure of a shoot in about 84 percent of the cases, the few times it missed a complete reconstruction were often due to complex overlaps where parts of the vine were hidden from the camera. Even in these challenging scenarios, the system maintained a high level of accuracy in how it traced the path of the wood, with the smooth curves staying within the actual boundaries of the plant 99.5 percent of the time.

Beyond just accuracy, the speed of the system makes it practical for real-world use. The entire process of turning a picture into a structured map takes less than a fifth of a second on a standard laptop, allowing the system to generate these maps at a rate of up to 24 times per second. This speed is fast enough to keep up with a robot moving through a vineyard. Because the system is designed to work with any camera or sensor that can provide the basic outlines and node locations, it is flexible enough to be paired with different types of robotic equipment. The output is a digital file that can be easily shared with other parts of a robot's software, allowing the machine to use this detailed understanding of the vine to make pruning decisions. By providing a clear, structured view of the plant, Vine2Graph bridges the gap between a simple photograph and the complex, intelligent action required to tend a vine, offering a promising step toward automating one of viticulture's most difficult tasks.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →