Detection of Tomato Fruit from RGBD Images Using Color-Spaces and Geometry

M.V. Afonso*, H.M.J. Fonteijn, A. Mencarelli, Dick Lensink, Marcel Mooij, Nanne Faber, G. Polder, H.R.M.J. Wehrens

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference paperAcademicpeer-review

Abstract

Detection of fruits and other plant parts using computer vision is an important step in automating tasks like harvesting,
phenotyping, and yield prediction. This kind of image analysis is being used increasingly in agriculture since it is quick,
non-destructive, and can avoid time-consuming and labor-intensive manual measurements. Segmenting tomatoes from
images taken in a production greenhouse is difficult, a.o., because of occlusions, overlap of the fruit color with other
plant parts, and illumination variations. Recent approaches to detecting fruits mostly focus on supervised and deep
learning methods, in which a large number of images need to be annotated to train the algorithm to be able to decide
what is a fruit. While these methods have the advantage of not having to hand-craft discriminative features, annotating
hundreds of images to obtain a workable training set is very labor intensive. In this work, we developed a method for
the detection of tomatoes, which does not require a training dataset containing labelled fruits. We used an Intel
RealSense TM D435 camera which provides pixel registered depth and color images, mounted on a trolley that
autonomously navigates through the greenhouse and images all plants at regular intervals. First, the depth is used to
extract the front row plants from the RGB image. The intensity of fruit pixels is then enhanced by grayscale transforms.
The fruit pixels are then segmented by thresholding. Next, the watershed algorithm is applied to separate contiguous
regions. Finally, regions above a certain size and whose perimeters approximately fit a circle are selected as individual
fruit instances. Experimental results over 123 images acquired in a greenhouse show that this approach could detect
tomatoes with a recall of 0.8 and a precision of 0.6. In addition to being applicable in a practical context in itself, this
approach has potential for use as a tool to generate data to train supervised (deep) machine learning methods.
Original languageEnglish
Title of host publicationProceedings of the European Conference on Agricultural Engineering AgEng 2021
EditorsJ. C. Barbosa, L.L. Silva, P. Lourenço, A. Sousa, V.F. Cruz, F. Baptista
PublisherEurAgEng, Cranfield
Pages29-34
Publication statusPublished - 4 Jul 2021
EventEuropean Conference on Agricultural Engineering AgEng 2021 - Evora, Portugal
Duration: 4 Jul 20218 Jul 2021

Conference

ConferenceEuropean Conference on Agricultural Engineering AgEng 2021
Country/TerritoryPortugal
CityEvora
Period4/07/218/07/21

Fingerprint

Dive into the research topics of 'Detection of Tomato Fruit from RGBD Images Using Color-Spaces and Geometry'. Together they form a unique fingerprint.

Cite this