Skip to content

Files

Latest commit

 

History

History

Image Classification

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Multi Stack Games

This script performs image classification using the MobileNetV2 pre-trained model provided by TensorFlow. It allows you to classify images into different categories based on the ImageNet dataset.

Prerequisites

Before running the script, ensure you have the following dependencies installed:

  • TensorFlow (version 2.x)
  • NumPy
  • Pillow

Usage

  1. Prepare your image: Ensure you have an image file that you want to classify. Supported image formats include JPEG, PNG, and BMP.

  2. Update the image path: In the script, locate the image_path variable and replace "image.jpg" with the path to your image file.

  3. Run the script: Execute the script using the following command: python image_classification.py

  4. View the predictions: The script will display the top 3 predictions for the image, along with their respective labels and confidence scores.