In this study, a method is proposed to detect orange fruits on tree using image processing techniques in order to develop software for an auto-orange collector robot system. Fruit detection based on computer vision includes some problems. The main problem is variable lighting conditions for the environment in outdoor. The additional problem is the occlusion of fruits by leaves, branches, and the other fruits. In the proposed method these problems are also examined.