Detection of mold on the food surface using YOLOv5

Fahad Jubayer1, Janibul Alam Soeb2, Abu Naser Mojumder3

  • 1Department of Food Engineering and Technology, Sylhet Agricultural University, Sylhet, 3100, Bangladesh.

Insights

This study introduces a new method for detecting mold on food surfaces using the You Only Look Once (YOLO) v5 algorithm. The YOLO v5 model achieved high accuracy, demonstrating its effectiveness in identifying mold contamination on food.

Area of Science:

  • Food Science and Technology
  • Computational Biology
  • Mycology

Background:

  • Mold contamination on food surfaces poses significant risks to food safety and quality.
  • Accurate and efficient detection methods are crucial for preventing the distribution of moldy food products.
  • Traditional methods for mold detection can be time-consuming and labor-intensive.

Purpose of the Study:

  • To develop and evaluate a novel approach for detecting mold on food surfaces.
  • To utilize the You Only Look Once (YOLO) v5 algorithm for automated mold identification.
  • To compare the performance of YOLO v5 against previous versions (YOLOv3, YOLOv4) for mold detection.

Main Methods:

  • A dataset of 2050 images featuring mold on various food surfaces was curated from laboratory and internet sources.
  • The pre-trained YOLOv5 algorithm was employed to train the model on the created dataset.
  • Laboratory tests were conducted to confirm the presence and nature of the detected organisms as mold.

Main Results:

  • The YOLOv5 model demonstrated superior performance compared to YOLOv3 and YOLOv4.
  • Achieved high precision (98.10%), recall (100%), and average precision (AP) of 99.60% for mold detection.
  • This marks the first application of the YOLOv5 algorithm specifically for detecting mold on food surfaces.

Conclusions:

  • The proposed YOLOv5-based model is highly effective in recognizing diverse types of mold on food.
  • This technology offers a promising solution for rapid and accurate food mold detection.
  • Future research is underway to extend the model's capability to identify specific mold species.

Related Concept Videos

Differential Staining Technique01:26

Differential Staining Technique

Differential staining is an essential microbiological technique that exploits variations in cell wall structures to classify and identify microorganisms. It facilitates the distinction of bacteria, aiding in diagnostic and research applications. Two of the most widely used differential staining methods are Gram staining and acid-fast staining, both of which rely on the chemical and structural differences in bacterial cell walls.Gram Staining TechniqueGram staining differentiates bacteria by...
1.1K
Simple Staining Technique01:24

Simple Staining Technique

OverviewStaining techniques in microscopy enhance the visualization of microorganisms by increasing contrast and allowing the differentiation of cellular structures. Simple staining is one of the fundamental methods used to observe the basic morphological characteristics of microorganisms, including their size, shape, and arrangement. This method relies on the application of a single dye to stain the entire cell, producing a clear contrast between the cell and the background.FixationFixation is...
1.4K
Two-Dimensional Microscopy in Microbiology01:29

Two-Dimensional Microscopy in Microbiology

Two-dimensional (2D) microscopy encompasses a range of optical techniques that capture images within a single focal plane, offering detailed representations of microscopic structures. These techniques are essential in biological and medical research, enabling the visualization of cellular and subcellular structures with different levels of contrast and specificity.There are several major types of 2D microscopy, each with strengths and applications.Bright-Field MicroscopyBright-field microscopy...
706
Microorganisms in Agriculture and Food industry01:27

Microorganisms in Agriculture and Food industry

Microorganisms play a crucial role in agriculture and the food industry, contributing to soil fertility, crop protection, and food production. Their functions range from nitrogen fixation and biopesticide production to fermentation and food preservation, making them indispensable to sustainable farming and food safety.Role in AgricultureNitrogen-fixing bacteria, such as Rhizobium (symbiotic) and Azotobacter (free-living), convert atmospheric nitrogen into ammonia through biological nitrogen...
608