Hyperspectral imaging has proven to be a reliable technique for estimating dry matter, a common variable when considering the quality of the fresh produce. However, developing models capable of generalising across different crops is challenging. In this study, several pipelines were explored towards achieving a robust and accurate generic regression model were evaluated and the development of Automatic Relevance Determination (ARD) and Partial Least Squares (PLS) algorithms for fruit and vegetable dry matter estimation. The models were built using a VIS-NIR dataset that includes both fruit and vegetables, namely, apples, broccoli and leek (n = 779). The PLS regression model obtained Root Mean Square on Prediction (RMSEP) = 0.0137, outperforming ARD regression (RMSEP = 0.0140) on a 10x5-fold cross-validation protocol. The evaluated preprocessing techniques affect the two regression algorithms differently, with the best results achieved when the pipeline was used without feature extraction. Overall, the pipeline using either ARD or PLS regression shows strong performance and generalisation for Visible-Near Infrared (VIS-NIR)-based dry matter estimation across diverse fruits and vegetables.