| CPC G06N 5/04 (2013.01) [G06N 20/00 (2019.01); G06T 7/521 (2017.01); G06T 7/90 (2017.01); G06T 7/97 (2017.01); G06T 11/001 (2013.01)] | 20 Claims |

|
1. A method comprising:
acquiring an image of a surface irradiated with a light source of a mobile device;
acquiring a measured spectrum of the surface with a spectrometer of the mobile device;
analyzing the measured spectrum to reduce an influence of ambient light from the measured spectrum and generating a corrected spectrum, wherein generating the corrected spectrum comprises subtracting the influence of ambient light and an influence of the light source from the measured spectrum;
generating an averaged corrected spectrum using the corrected spectrum and at least one other corrected spectrum associated with the surface;
generating a result based on a comparison of the averaged corrected spectrum and a database of reference spectra; and
providing at least one of a product recommendation or a diagnosis based, at least in part, on the result.
|