The optical sorter replaces the manual selection which requires a lot of time and energy on products such as lentils, beans, chickpeas, lupins, peas, looking for products with defects, such as spotted or split or all those polluting bodies such as stones, earth, sticks.