The application discloses a method for
urine test paper
mobile phone image detection and analysis, which comprises the following steps: collecting
urine test paper
JPEG images under multiple light sources under a standard
light source box, taking the test paper image under the D65
light source as a standard image, converging the RGB color performance of the test paper block in the corresponding area of the test paper image under the standard
light source to the test paper image under the remaining light source environment, that is, training and obtaining a compensation model, fully considering the test paper color features and the
mobile phone camera characteristic features in the model characteristic parameters, ensuring the accuracy of the
color correction model by analyzing the maximum value, minimum value and variance of the features during preprocessing, establishing a training TabNet model, fusing multiple regression models such as LightGBM, ElasticNet Regression and Support Vector Regression to optimize the
color correction effect, and realizing a strengthened compensation model. Through the
color correction of the test paper image by the compensation model, the error caused by the color performance of the
urine test paper image affected by the environmental light is reduced, the most real color of the test paper image is restored, the
color recognition degree is improved, the accuracy of the test paper detection and analysis is improved, and the model is small and has a fast recognition speed.