Non-destructive detection of sugar in fruits door