Calculate the Pearson Correlation Coefficient in Python Cover Image