In the modern rice industry, maintaining high quality is paramount. To meet these stringent demands, state-of-the-art color sorting technologies have emerged as a vital tool. These systems utilize high-resolution imaging and intelligent algorithms to meticulously separate rice grains based on their color variations. By identifying discolored grains