Images
The digital cameras that we have today store images as a big matrix of numbers. These are what we call digital images. A single number on this matrix refers to a single pixel in the image. Individual numbers refer to the intensity of the color at that pixel. For a grayscale image, these values vary from 0 to 255, where 0 is black and 255 is white. For a colored image, this matrix is three-dimensional, where each dimension has values for red, green, and blue. The values in the matrices refer to the intensities of the respective colors. We use these values as input to our computer vision programs or data science models to perform predictions and recognitions.
Now, there are two ways for us to create machine learning models using these pixels:
- Input individual pixels as different input variables to the neural network
- Use a convolutional neural network
Creating a fully connected neural network that takes individual pixel values as input variables is the easiest and the most...