Data Collection and Pre-processing

The images were collected from various sources, some lifted from the internet and some photographed from the fields of Central Luzon State University. Our criteria for gathering images are: (1) the image contains only a single cacao pod; (2) the infected cacao pod has visible manifestations of the disease, e.g. spotting, rotting, or discoloring; (3) the image size is at least 360x480 pixels; and (4) the cacao pod occupies approximately 75% or more of the image. Figure \ref{fig:sampleData} shows some images of the diseased cacao pods. We collected 35 images, 30 for training, and 5 for testing. The background of the images were manually removed to eliminate its effect on the training and evaluation of the framework for measuring the infestation level of cacao pods.