Text this: Enhanced analysis of photocurrent from photo sensor in food industry