Plant recognition from their leaves has become a popular area in the machine learning and image processing. In this study 7 different types of apricot trees were determined and classified by using their leaves. At first leaves images were preprocessed. After than each image was scanned by 5x5 overlapping filter and median values of each filter process were recorded to represent the leaves. After than filtered each image was scanned by 2x2 overlapping filter and maximum values of each shifting step was recorded. The dimension of each image reduced to it half. Histogram of these uniform patterns were evaluated. These features were applied as input to the Artificial Neural Network (ANN) and 7 types of apricot were classified with the accuracy is 98.6 %.