Smartphone-based Near-Infrared Food Quality Monitoring System for Fresh Produce
Table Of Contents
Chapter ONE
INTRODUCTION
- 1.1Introduction
- 1.2Background of the Study
- 1.3Statement of the Problem
- 1.4Aim and Objectives of the Study
- 1.5Research Questions
- 1.6Research Hypotheses
- 1.7Significance of the Study
- 1.8Scope and Delimitation of the Study
- 1.9Limitations of the Study
- 1.10Organisation of the Study
- 1.11Operational Definition of Terms
Chapter TWO
LITERATURE REVIEW
- 2.1Conceptual Review: Near-Infrared Spectroscopy Principles in Food Quality
- 2.2Conceptual Review: Smartphone-Based Sensing Platforms for Food Analysis
- 2.3Theoretical Framework: Technology Acceptance and Diffusion of Innovations in ICT-Driven Food Quality Tools
- 2.4Theoretical Framework: Sensorimotor and Calibration Transfer Theories for NIR in Mobile Apps
- 2.5Empirical Review: Mobile NIR Systems in Produce Quality Assessment
- 2.6Empirical Review: Wavelength Selection and Calibration in Field-Deployable NIR Cameras
- 2.7Empirical Review: Image- and Spectral-Based Quality Indices for Fresh Produce
- 2.8Empirical Review: Data Processing and Machine Learning for NIR Spectral Data on Smartphones
- 2.9Empirical Review: Usability and Adoption of Mobile Food Quality Tools
- 2.10Identified Gaps in the Literature: Accuracy, Robustness, and Real-Time Performance
- 2.11Conceptual Model or Summary of the Review: Integrating NIR, Smartphones, and Fresh Produce Quality
- 2.12Implications for the Present Study
Chapter THREE
RESEARCH METHODOLOGY
- 3.1Research Design: Development and Validation of a Smartphone-based NIR Monitoring System
- 3.2Philosophical Paradigm: Pragmatism in ICT-Driven Food Quality Research
- 3.3Population of the Study: Fresh Produce Types and Smartphone Devices
- 3.4Sample Size and Sampling Technique: Stratified Sampling Across Produce Categories
- 3.5Sources and Instruments of Data Collection: NIR Sensor Modules, Smartphone Cameras, Reference Laboratory Analyses
- 3.6Validity and Reliability of Instruments: Calibration, Cross-Validation, and Repeatability Tests
- 3.7Data Preprocessing and Feature Extraction Methods
- 3.8Model Specification: Partial Least Squares Regression and Machine Learning Pipelines
- 3.9Model Validation and Performance Metrics
- 3.10Ethical Considerations: Data Privacy, Fair Use, and Safety
- 3.11Data Management Plan
- 3.12Limitations and Assumptions
Chapter FOUR
DATA PRESENTATION AND ANALYSIS
- ANALYSIS AND DISCUSSION OF FINDINGS
- 4.1Data Presentation: System Architecture and Data Flow
- 4.2Descriptive Analysis: Device Performance and User Interaction Metrics
- 4.3Descriptive Analysis: NIR Spectral Characteristics Across Produce Types
- 4.4Hypotheses Testing: Relationship Between NIR-Derived Indices and Quality Grades
- 4.5Hypotheses Testing: Model Generalizability Across Ambient Conditions
- 4.6Interpretation of Results: Sensor Calibration Transfer and Smartphone Imaging Effects
- 4.7Discussion of Findings in Relation to Conceptual Model and Literature
- 4.8Robustness and Limitations of the Smartphone NIR Monitoring System
Chapter FIVE
SUMMARY, CONCLUSION AND RECOMMENDATIONS
- CONCLUSION AND RECOMMENDATIONS
- 5.1Summary of Findings
- 5.2Conclusion
- 5.3Contribution to Knowledge: ICT-Driven Food Quality Monitoring in Fresh Produce
- 5.4Practical Implications for Stakeholders: Farmers, Markets, and Food Safety Regulators
- 5.5Recommendations for System Enhancement and Deployment
- 5.6Suggestions for Further Studies
Thesis Abstract
This study addresses the challenge of rapid, non-destructive assessment of fruit and vegetable quality to reduce post-harvest losses and improve supply chain transparency by leveraging smartphone-based near-infrared (NIR) spectroscopy integrated with machine learning. The aim is to develop and validate a portable, user-friendly quality monitoring system that provides real-time estimates of soluble solids content (SSC), firmness, and internal defect indicators for common fresh produce. Specific objectives include (1) assembling a diverse dataset of 1,200 fruit and vegetable samples across three commodity groups (apples, tomatoes, and strawberries) collected from commercial markets, (2) capturing calibrated NIR spectral data (900–1700 nm) using a smartphone-mounted accessory and recording reference laboratory measurements (refractive index, refractometry for SSC, texture analyzer for firmness, and defect grading by expert panels), (3) developing calibration models using partial least squares regression (PLSR) and support vector regression (SVR) with spectral preprocessing (SNV, derivative transforms), (4) exploring deep learning approaches (1D-CNN) for end-to-end quality prediction, and (5) validating the system under field conditions with 150 independent samples to assess robustness across devices and ambient lighting. The methodology adopts a mixed-methods, applied research design anchored in predictive analytics and user-centered evaluation. The population comprises commercially sourced fresh produce in a temperate agro-food corridor. A stratified random sampling strategy yields 1,200 fruit and vegetable samples for model development and 150 samples for external validation. Data collection involves (a) smartphone-based NIR spectral acquisition using a standardized attachment and a controlled 3D-printed cradle to minimize geometry effects, (b) laboratory reference measurements for SSC (refractometry), firmness (universal testing machine), and visual/defect scores by trained graders, and (c) user feedback from 30 produce supply-chain professionals via structured interviews. Instrument validity and reliability are established through calibration checks, inter-rater reliability for defect scoring (Cohen’s kappa > 0.80), and cross-validation of spectral sensors with a benchtop spectrometer. Data analysis proceeds in three tiers spectral preprocessing and conventional calibration (PLSR, SVR with RMSE and R^2 evaluation), machine learning enhancement (1D-CNN with spectro-temporal features), and cross-commodity transferability analysis using domain adaptation with a subset of apples, tomatoes, and strawberries. Model performance is assessed against independent test sets and industry-relevant thresholds (SSC ±0.5 Brix, firmness ±0.8 N, defect probability error < 5%). Expected findings indicate that smartphone-based NIR spectra, when coupled with robust preprocessing, can predict SSC with R^2 > 0.85 and RMSE < 0.6 Brix, firmness with R^2 > 0.80 and RMSE < 0.9 N, and detect internal defects with sensitivity > 0.75 and specificity > 0.85. The study anticipates that PLSR and SVR provide stable baselines across commodities, while the 1D-CNN approach enhances accuracy for samples with complex surface textures or moisture variations. The research also expects that domain adaptation techniques will improve cross-commodity generalization, enabling a single smartphone app to calibrate for multiple produce types with minimal additional data. The contribution to knowledge includes (i) a validated, scalable framework for smartphone-based NIR quality assessment in fresh produce, (ii) comparative evidence on traditional regression versus deep learning for spectral quality prediction in field conditions, and (iii) practical guidelines for device calibration, ambient-light mitigation, and user training in real-world supply chains. The study’s theoretical contribution integrates the Technology Acceptance Model with predictive analytics performance theories to explain adoption drivers and the Linkage Theory of Spectral Informatics to elucidate how spectral features map to physicochemical quality attributes. Practical implications encompass actionable protocols for app-based quality scoring, integration with supply-chain traceability systems, and policy-relevant recommendations for reducing post-harvest losses. Potential limitations include sensor heterogeneity across smartphone models and variable cropping seasons, which are mitigated through device calibration protocols and robust cross-validation. The principal conclusion anticipates that a smartphone-integrated NIR system can deliver accurate, rapid, non-destructive quality assessments compatible with routine handling by farmers, traders, and retailers, with recommendations emphasizing standardized measurement routines, periodic recalibration, and user training to sustain performance over time.
Thesis Overview
This research investigates how smartphones equipped with near-infrared (NIR) sensing and image-processing capabilities can be used to assess the quality of fresh produce, such as fruits and vegetables, in a rapid, non-destructive way. The core idea is to replace or supplement traditional quality tests that require lab equipment with a portable, user-friendly system that links a phone camera and a simple NIR attachment or built-in sensor to data-driven models of quality indicators (e.g., ripeness, internal defects, moisture content, firmness).
Why it matters: Fresh produce quality affects consumer satisfaction, shelf life, food waste, and supply-chain efficiency. Current methods are often destructive, time-consuming, or require costly instruments. A smartphone-based solution could enable farmers, retailers, and even consumers to make quicker, informed decisions, reduce waste, and improve food safety compliance.
What problem or knowledge gaps it addresses: There is a need for accessible, scalable, and accurate non-destructive methods to predict internal quality attributes of diverse produce types using widely available technology. Gaps include robust cross-device calibration, generalizable models across varieties, and practical field deployment in varying lighting and environmental conditions.
Research plan and steps:
- Data collection: Assemble a diverse dataset of typical fresh produce (e.g., apples, bananas, tomatoes, leafy greens) across maturation stages. Collect smartphone NIR measurements, standard reference quality metrics (e.g., refractometry for soluble solids, firmness tests, sensory scoring), and environmental metadata. Target sample sizes: 600–800 fruits/vegetables per category, across multiple farms and markets.
- Data processing: Preprocess spectral and image data, normalize for lighting variation, and extract features from NIR spectra and texture/color descriptors.
- Modeling and analysis: Develop regression and classification models (e.g., partial least squares regression, random forest, support vector machines) to predict internal quality indicators. Validate models using cross-validation, assess performance with metrics such as RMSE, R-squared, and accuracy. Conduct a transferability analysis across devices and environments.
- Deployment considerations: Prototype a user-friendly app workflow, including data capture protocol, real-time feedback, and calibration guidance.
Expected contributions: A validated framework for smartphone-based non-destructive quality assessment across multiple produce types, with practical guidelines for calibration, data collection, and model maintenance in real-world settings. The study aims to advance ICT-enabled precision agriculture and reduce post-harvest losses.
Anticipated outcome: A deployable workflow and open datasets/models that demonstrate acceptable predictive accuracy for key quality attributes, along with recommendations for field use, limitations, and directions for scaling to broader produce categories.