Skip to content

ML-Django Image Classifier: Seamlessly combine Django with ResNet50 ML model for image classification, offering an intuitive UI to upload images and view top 5 probabilities. πŸ“ΈπŸ”

License

Notifications You must be signed in to change notification settings

llSiddharthll/Image_classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

19 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌟 ML-Django Image Classifier 🌟

Welcome to ML-Django Image Classifier, a project that seamlessly integrates machine learning and the Django framework to classify images using the ResNet50 model by TensorFlow and Keras! This project provides a simple and user-friendly web interface, powered by Bootstrap 5, where users can upload images and receive the top 5 probabilities of classification for the given image. πŸ–ΌοΈπŸ”

πŸ“Œ Features

  • Image Classification: ML-Django Image Classifier utilizes the powerful ResNet50 model to classify images into different categories, providing insightful probabilities for each classification.
  • User-Friendly UI: The project offers a basic yet intuitive user interface, designed with Bootstrap 5, ensuring a seamless user experience.
  • File Upload: Users can upload images through the UI, allowing them to classify images of their choice and explore the classification results.
  • Top 5 Probabilities: For each uploaded image, the system displays the top 5 probabilities of classification, offering valuable insights into potential image categories.
  • TensorFlow and Keras Integration: By leveraging TensorFlow and Keras, this project achieves efficient and accurate image classification.
  • Scalable and Extensible: The project's architecture allows for easy extension and modification, making it adaptable to different use cases and datasets.

πŸ“¦ Installation

To run ML-Django Image Classifier locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/llSiddharthll/ml-django-image-classifier.git
  2. Navigate to the project directory:

    cd Image-classifier
  3. Create a virtual environment:

    python -m venv venv
  4. Activate the virtual environment:

    • Windows:

      venv\Scripts\activate
    • Linux/macOS:

      source venv/bin/activate
  5. Install the required dependencies:

    pip install -r requirements.txt
  6. Start the Django development server:

    python manage.py runserver
  7. Open your browser and visit http://localhost:8000 to access ML-Django Image Classifier.

πŸ“ Usage

Using ML-Django Image Classifier is as simple as uploading an image. Here's a quick guide to get you started:

  1. Access the Website: Open your web browser and visit http://localhost:8000 to access the ML-Django Image Classifier website.

  2. Upload an Image: Click on the "Upload Image" button and choose an image file from your local storage.

  3. Get Classification Results: Once the image is uploaded, the system will process it through the ResNet50 model and display the top 5 probabilities of classification on the same page.

  4. Explore Classification: Analyze the classification results to understand the potential categories to which the image belongs, based on the probabilities provided.

🀝 Contributing

Contributions to enhance ML-Django Image Classifier are welcome! To contribute, please follow these steps:

  1. Fork the repository on GitHub.

  2. Create a new branch with a descriptive name for your feature or bug fix.

  3. Implement your changes, following coding guidelines and best practices.

  4. Test your changes thoroughly to ensure they function as expected.

  5. Submit a pull request, explaining the modifications you made and providing any relevant information.

We value and appreciate all contributions, including bug reports, feature suggestions, and code improvements!

πŸ“ƒ License

ML-Django Image Classifier is released under the MIT License. You are free to use, modify, and distribute this project as per the terms of the license.

πŸ“§ Contact

If you have any questions, suggestions, or need assistance, please feel free to reach out to our support team at siddharthgreat443@gmail.com. We're here to help!

Explore the fascinating world of image classification with ML-Django Image Classifier! 🌌🏞️

About

ML-Django Image Classifier: Seamlessly combine Django with ResNet50 ML model for image classification, offering an intuitive UI to upload images and view top 5 probabilities. πŸ“ΈπŸ”

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published