Fruits native to the Middle East, such as dates, are small fruits that can be diverse and popular in the Middle East. There are several common date varieties, each with different characteristics. Date classification is a critical tool in date processing which may be an expensive operation. In this research, we present a computer vision and color perception strategy for the automatic classification of date fruits. The approach was introduced and tested empirically based on image data representing of three distinct date classes at various dryness stages. You only look once (YOLO) is a state-of- the-art, real-time entity detection device that has been used for this reason. The best precision varied from the 0.29 range to the 1.00 range.