Streamlit, Python, Scikit Learn, Image Processing, Linear Algebra.
process, let’s work with a grayscale version of our image. One common method to convert colored images to grayscale is by applying the mean function to its three RGB channels. # We get the mean of the last dimension (channels) gray_face = np.mean(face, axis=-1) plt.figure(figsize=(6,6))