Methods of Detecting Fruit by Visual Sensor Attached to Manipulator