Team project

Jan 2023 – Apr 2023

Semantic Segmentation of Crops Using Deep Learning

Built and labeled a self-developed tomato, capsicum and chili image dataset and compared U-Net, SegNet and FCN variants for semantic segmentation in natural farm environments.

Machine LearningU-NetSegNetFCN32MATLAB
Tomato test image and SegNet overlay reproduced from the project report.
Tomato test image and SegNet overlay reproduced from the project report.
Dataset
1,085 images
Classes
Tomato / capsicum / chili
Architectures
U-Net / SegNet / FCN
Tools
MATLAB labeling + DL
On this page

01 / Context

Overview

The project develops semantic-segmentation models for tomato, capsicum, and chili plants in natural farm environments. A self-developed dataset of 1,085 images was collected and manually labeled, creating a challenging problem because the crops often share similar colors with surrounding vegetation and are partially occluded.

U-Net, SegNet, and FCN-based architectures were compared. Dataset imbalance, data augmentation, class-specific training, model size, and generalization to images outside the test set were all examined rather than treating segmentation accuracy as a single-number problem.

Project work

  • Collected and labeled farm images for three crop classes using MATLAB Image Labeler.
  • Prepared training/validation/testing splits and examined the effects of class imbalance.
  • Compared U-Net, SegNet, and FCN-family architectures using IoU, precision, recall, and F1 score.

02 / Approach

Methods & diagrams

01

Dataset Development

Tomato, capsicum, and chili images were collected under varying angle, distance, magnification, and lighting conditions and manually segmented.

02

Segmentation Networks

Encoder-decoder models including U-Net and SegNet were compared with FCN-based segmentation.

03

Evaluation

IoU, precision, recall, F1 score, class imbalance, and generalization to external images were analyzed.

03 / Evidence

Results & gallery

Project figures and laboratory photographs. Open a figure to inspect the detail; vector PDFs are available for the control diagrams.

Original tomato test image from the project report.
Original tomato test image from the project report.
Corresponding SegNet prediction overlay.
Corresponding SegNet prediction overlay.

Findings

  • The experiments examine per-class training, class imbalance, and multiple segmentation architectures.
  • The report shows test images alongside predicted segmentation overlays.

Scope & limitations

This collaborative academic study uses a limited, imbalanced dataset. Its task is pixel-level crop segmentation; contributors, data preparation, and evaluation are described in the original report.

Sources & related reading

Find something

Search projects, publications, and pages.

Esc to close Enter a result to open it

Project figure