Text this: Non-invasive measurement of quality attributes of processed pomegranate products