Our robot uses a standard RGB camera to accurately classify objects in the scene, distinguishing between leaves and fruit. Deep learning is extensively employed to handle complex backgrounds commonly found in greenhouse environments. The system is robust to challenges such as plant variety, lighting conditions, sun direction, and camera positioning. Additionally, our software can estimate stem thickness to ensure that only leaves are targeted, avoiding the main tomato trunk during the de-leafing process.