The Principal Components Analysis (PCA) algorithm has been very useful in many applications such as image compression and decreasing the dimensionality of high-dimensional datasets. The PCA is a statistical implementation of finding the eigenvectors which represent the dataset. These eigenvectors are arranged according to the variance of the data in a specific dataset.