The agricultural industry is constantly seeking innovative solutions to increase efficiency and grade. High-speed optical grading has emerged as a transformative technology that enables precise sorting of grain and beans based on various attributes, such as size, shape, color, and defect. This technology utilizes sophisticated cameras and algorithm