In this project, we will see how to read images from .jpg format into a matrix representation in Scala. Then, we will further process and prepare those images feedable by the CNNs. We will see several image manipulations, such as squaring all the images and resizing every image to the same dimensions, before we apply a grayscale filter to the image:
Then we train nine CNNs on training data for each class. Once the training is completed, we save the trained model, CNN configurations and parameters, so that they can be restored later on, and then ...