Real-time object detection and robotic manipulation for agriculture using a YOLO-based learning approach