Computer vision for automatic quality inspection of dried figs (Ficus carica L.) in real-time