Image processing techniques on digital systems which are used on agriculture can be evaluated for different aims. For instance; detection of wild herb, to estimate product, to determine ripeness and quality are some of them. The most widely used one is detection of fruits-vegetables. Particularly such image processing techniques are needed for robotic applications in agriculture. For example, identify and locating the fruit/vegetable is a major problem for the collection of fruit/vegetable by a robot. In this work, the aim is to determine the locations of orange and green color fruits, to separate from the leaves and branches in the area.