Hybrid CNN¬¬¬¬¬–BiLSTM Model for Fruit Quality Classification Using Computer Vision: A Methodological Framework
Automatic visible fruit quality classification represents an essential part of post-harvest logistics. This paper specifies a pipeline which employs a 4-blocks CNN architecture in conjunction with bidirectional LSTM to perform four-class classification of RGB fruit pictures. The workflow of interest features group-aware splitting, data pre-processing, convolutional representation learning, row-major construction of spatial context, BiLSTM for bidirectional contextual encoding, mean-pooling, and final classification via softmax layer. Equations and pseudocode are presented in the text to formalize the implementation specifics; related contemporary literature suggests examining the issue of intermediate-grading, grade-distance-based errors, and spatial context alignment. Given the underlying assumptions of architecture design, the proposed model contains 817,508 weights which represent around 3.27 MB of float32 parameters. Example confusion matrix for illustration purposes (1,735 out of 1,800 correct values; illustrative accuracy – 96.39%) is provided above; this example serves illustration purposes only, no empirical data have been gathered, no experiment has been conducted. The contribution is a transparent and testable methodological specification rather than an experimentally validated classifier.
Authors
- Hasan Mohammed Idan
Institutions
- University of Wasit (IQ)
Publication Details
- Journal
- Journal of Al-Farabi For Engineering Sciences
- Published
- 2026-11-28
- DOI
- https://doi.org/10.59746/wwdtn153
- Primary Topic
- Advanced Neural Network Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00