Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Dec 14:52:109952.
doi: 10.1016/j.dib.2023.109952. eCollection 2024 Feb.

Coffee and cashew nut dataset: A dataset for detection, classification, and yield estimation for machine learning applications

Affiliations

Coffee and cashew nut dataset: A dataset for detection, classification, and yield estimation for machine learning applications

Rahman Sanya et al. Data Brief. .

Abstract

Conventional methods of crop yield estimation are costly, inefficient, and prone to error resulting in poor yield estimates. This affects the ability of farmers to appropriately plan and manage their crop production pipelines and market processes. There is therefore a need to develop automated methods of crop yield estimation. However, the development of accurate machine-learning methods for crop yield estimation depends on the availability of appropriate datasets. There is a lack of such datasets, especially in sub-Saharan Africa. We present curated image datasets of coffee and cashew nuts acquired in Uganda during two crop harvest seasons. The datasets were collected over nine months, from September 2022 to May 2023. The data was collected using a high-resolution camera mounted on an Unmanned Aerial Vehicle . The datasets contain 3000 coffee and 3086 cashew nut images, constituting 6086 images. Annotated objects of interest in the coffee dataset consist of five classes namely: unripe, ripening, ripe, spoilt, and coffee_tree. Annotated objects of interest in the cashew nut dataset consist of six classes namely: tree, flower, premature, unripe, ripe, and spoilt. The datasets may be used for various machine-learning tasks including flowering intensity estimation, fruit maturity stage analysis, disease diagnosis, crop variety identification, and yield estimation.

Keywords: Cashew apple; Coffee cherry; Image classification; Object detection; Yield estimation.

PubMed Disclaimer

Figures

Fig 1
Fig. 1
Sample coffee images showing the different coffee class labels.
Fig 2:
Fig. 2
Sample cashew images showing the five class labels.
Fig 3:
Fig. 3
Aerial view of the Block 13 demonstration farm at the National Coffee Research Institute (Latitude 0o 15` 30.696” N and Longitude 32o 47` 25.266” E) where the coffee images were collected.
Fig 4
Fig. 4
A coffee tree in Block 13 with a label for image data collection.
Fig 5:
Fig. 5
Example of cashew nut image annotation.
Fig 6:
Fig. 6
Example of coffee image annotation.

References

    1. Ti Z., Vail S., Duddu H.S.N., Parkin I.A.P., Guo X., Johnson E.N., Shirtliffe S.J. Phenotyping flowering in canola (brassica napus l.) and estimating seed yield using an unmanned aerial vehicle-based imagery. Front. Plant Sci. 2021;12 - PMC - PubMed
    1. Uganda Coffee Development Authority (UCDA) 2020. Uganda Coffee Profiles.https://ugandacoffee.go.ug/sites/default/files/Uganda_Coffee_Profiles.pdf (n.d) (Accessed 24 August 2022)
    1. Olenskyj A.G., Sams B.S., Fei Z., Singh V., Raja P.V., Bornhorst G.., Earles J.M. End-to-end deep learning for directly estimating grape yield from ground-based imagery. Comput. Electron. Agric. 2022;198 doi: 10.1016/j.compag.2022.107081. ISSN 0168-1699. - DOI
    1. Sozzi M., Cantalamessa S., Cogato A., Kayad A., Marinello F. Automatic bunch detection in white grape varieties using YOLOv3, YOLOv4, and YOLOv5 deep learning algorithms. Agronomy. 2022:12319. doi: 10.3390/agronomy12020319. - DOI
    1. Yang Q., Shi L., Han J., Zha Y., Zhu P. Deep convolutional neural networks for rice grain yield estimation at the ripening stage using UAV-based remotely sensed images. Field Crops Res. 2019;235:142–153. doi: 10.1016/j.fcr.2019.02.022. ISSN 0378-4290. - DOI

LinkOut - more resources