Researchers have developed a nondestructive method utilizing light to estimate the total amount of polyphenols and flavonoids in spice extracts, along with their antioxidant and reducing capacities. By comprehensively capturing the autofluorescence emitted by components, such as polyphenols and flavonoids, they have demonstrated the precise evaluation of chemical constituents using the application of machine learning methods.