Fruits like bananas and mangoes are harvested after reaching a specific ripeness stage. Traditionally, farmers rely on manual inspection to determine ripeness, a process that can be tedious, time-consuming, expensive, and subjective. This work proposes an automatic bananas and mangoes ripeness detector utilizing computer vision technology. The detected bananas and mangoes fall into two classes: ripe and unripe. The state-of-the-art YOLOv8 architecture serves as the core of the detector. Three YOLOv8 variants, YOLOv8n, YOLOv8s, and YOLOv8m, were investigated for their performance. Results show that YOLOv8s achieved the highest overall performance, 0.9991 recall, and a mean Average Precision (mAP) of 0.8897. While YOLOv8m achieved the highest precision of 0.9995, YOLOv8n is the most miniature model, making it suitable for deployment on devices with limited resources.