Gravar-mail: Fruit Detection and Segmentation for Apple Harvesting Using Visual Sensor in Orchards