[Paper Review] Neural Network Classifiers for Natural Food Products
This paper proposes low-cost machine vision systems (MVS) using artificial neural networks (ANNs) to automate tomato ripeness classification and egg acceptability grading. By training ANNs on color images of produce with background-removed spectral patterns, the system achieved 97% accuracy for tomatoes and 86% for eggs—surpassing human graders' performance by 4.35% and 13%, respectively.
Two cheap, off-the-shelf machine vision systems (MVS), each using an artificial neural network (ANN) as classifier, were developed, improved and evaluated to automate the classification of tomato ripeness and acceptability of eggs, respectively. Six thousand color images of human-graded tomatoes and 750 images of human-graded eggs were used to train, test, and validate several multi-layered ANNs. The ANNs output the corresponding grade of the produce by accepting as inputs the spectral patterns of the background-less image. In both MVS, the ANN with the highest validation rate was automatically chosen by a heuristic and its performance compared to that of the human graders'. Using the validation set, the MVS correctly graded 97.00\% and 86.00\% of the tomato and egg data, respectively. The human grader's, however, were measured to perform at a daily average of 92.65\% and 72.67\% for tomato and egg grading, respectively. This results show that an ANN-based MVS is a potential alternative to manual grading.
Motivation & Objective
- To develop affordable, off-the-shelf machine vision systems (MVS) for automating agricultural grading in local farming contexts.
- To address the challenge of automating subjective, experience-based human grading of natural food products like tomatoes and eggs.
- To improve grading accuracy beyond human performance using ANNs trained on visual features from color images.
- To evaluate the feasibility of using low-cost hardware and open-source software for scalable, hygienic, and consistent food product classification.
- To explore optimization techniques for ANNs, including committee machines and feature reduction, to enhance system efficiency and accuracy.
Proposed method
- Acquired 6,000 human-graded tomato images and 750 egg images under real-world lighting and viewing conditions (20°–90° angle, 30–90 cm distance).
- Applied edge-detection algorithms to remove backgrounds and extract RGB spectral patterns from the remaining object regions.
- Normalized the RGB values and fed them as input to multi-layered artificial neural networks (ANNs) for classification.
- Used the AChem optimization routine to automatically select the ANN with the highest validation accuracy for each task.
- Evaluated system performance using separate training, validation, and test sets, comparing results to human graders’ daily averages.
- Explored future enhancements such as using grayscale images to reduce input nodes by 66%, and testing committee machine techniques (e.g., bagging, boosting) for improved accuracy.
Experimental results
Research questions
- RQ1Can a low-cost, off-the-shelf machine vision system with an ANN classifier match or exceed the accuracy of human graders in classifying tomato ripeness?
- RQ2Can an ANN-based MVS achieve higher grading accuracy than human graders for egg acceptability, particularly in detecting defects like pinholes and discoloration?
- RQ3How does the performance of an optimized ANN compare to human graders in terms of precision, sensitivity, and specificity for both tomato and egg classification?
- RQ4To what extent can system efficiency be improved by reducing input features (e.g., using grayscale instead of RGB images) without sacrificing accuracy?
- RQ5Can committee machine techniques (e.g., averaging, bagging, boosting) further enhance the grading accuracy of the MVS beyond a single optimized ANN?
Key findings
- The ANN-based MVS achieved 97.00% accuracy in classifying tomato ripeness stages, surpassing the human grader’s average accuracy of 92.65% by 4.35 percentage points.
- For egg grading, the MVS achieved 86.00% accuracy on the validation set, outperforming human graders’ average of 72.67% by 13.33 percentage points.
- The ANN for egg grading demonstrated a precision rate of 92% (positive predictive value) and a negative predictive value of 81%, indicating strong reliability in defect detection.
- The system’s improved accuracy translates to an estimated 1,300 more correctly graded eggs per day on a 10,000-egg farm, generating an additional ₱5,200 in daily revenue at ₱4 per egg.
- The study confirms that ANNs trained on normalized RGB spectral patterns from background-removed images can effectively mimic and surpass human grading capabilities in controlled, real-world conditions.
- Future work is planned to evaluate conveyor-based grading speed, higher-resolution webcams, grayscale input reduction (33% fewer input nodes), and committee machine techniques to further boost performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.