  Visual reconstruction of tomato plants by a robot is extremely challenging
due to the high levels of variation and occlusion in greenhouse environments.
The paradigm of active-vision helps overcome these challenges by reasoning
about previously acquired information and systematically planning camera
viewpoints to gather novel information about the plant. However, existing
active-vision algorithms cannot perform well on targeted perception objectives,
such as the 3D reconstruction of leaf nodes, because they do not distinguish
between the plant-parts that need to be reconstructed and the rest of the
plant. In this paper, we propose an attention-driven active-vision algorithm
that considers only the relevant plant-parts according to the task-at-hand. The
proposed approach was evaluated in a simulated environment on the task of 3D
reconstruction of tomato plants at varying levels of attention, namely the
whole plant, the main stem and the leaf nodes. Compared to pre-defined and
random approaches, our approach improves the accuracy of 3D reconstruction by
9.7% and 5.3% for the whole plant, 14.2% and 7.9% for the main stem, and 25.9%
and 17.3% for the leaf nodes respectively within the first 3 viewpoints. Also,
compared to pre-defined and random approaches, our approach reconstructs 80% of
the whole plant and the main stem in 1 less viewpoint and 80% of the leaf nodes
in 3 less viewpoints. We also demonstrated that the attention-driven NBV
planner works effectively despite changes to the plant models, the amount of
occlusion, the number of candidate viewpoints and the resolutions of
reconstruction. By adding an attention mechanism to active-vision, it is
possible to efficiently reconstruct the whole plant and targeted plant parts.
We conclude that an attention mechanism for active-vision is necessary to
significantly improve the quality of perception in complex agro-food
environments.
