https://data-flair.training/blogs/image-classification-deep-learning-project-python-keras/
Image Classification – Deep Learning Project in Python with Keras
CIFAR-10 is a very popular computer vision dataset. This dataset is well studied in many types of deep learning research for object recognition.
This dataset consists of 60,000 images divided into 10 target classes, with each category containing 6000 images of shape 32*32. This dataset contains images of low resolution (32*32), which allows researchers to try new algorithms. The 10 different classes of this dataset are:
- Airplane
- Car
- Bird
- Cat
- Deer
- Dog
- Frog
- Horse
- Ship
- Truck
Steps for image classification on CIFAR-10:
1. Load the dataset from keras datasets module
2. Plot some images from the dataset to visualize the dataset
3. Import the required layers and modules to create our convolution neural net architecture
4. Convert the pixel values of the dataset to float type and then normalize the dataset
5. Now perform the one-hot encoding for target classes
6. Create the sequential model and add the layers
7. Configure the optimizer and compile the model
8. View the model summary for better understanding of model architecture
9. Train the model
10. Calculate its accuracy on testing data
11. Save the model
12. Make a dictionary to map to the output classes and make predictions from the model
You can test the result on your custom image input. To improve accuracy, try increasing the epoch count to 25 for training.
Image Classification Project GUI
Here, we will build a graphical user interface for our image classifier. We will build this GUI using Tkinter python library.
No hay comentarios:
Publicar un comentario