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. πΌοΈπ
- 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.
To run ML-Django Image Classifier locally, follow these steps:
-
Clone the repository:
git clone https://github.com/llSiddharthll/ml-django-image-classifier.git
-
Navigate to the project directory:
cd Image-classifier -
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
-
Windows:
venv\Scripts\activate
-
Linux/macOS:
source venv/bin/activate
-
-
Install the required dependencies:
pip install -r requirements.txt
-
Start the Django development server:
python manage.py runserver
-
Open your browser and visit
http://localhost:8000to access ML-Django Image Classifier.
Using ML-Django Image Classifier is as simple as uploading an image. Here's a quick guide to get you started:
-
Access the Website: Open your web browser and visit
http://localhost:8000to access the ML-Django Image Classifier website. -
Upload an Image: Click on the "Upload Image" button and choose an image file from your local storage.
-
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.
-
Explore Classification: Analyze the classification results to understand the potential categories to which the image belongs, based on the probabilities provided.
Contributions to enhance ML-Django Image Classifier are welcome! To contribute, please follow these steps:
-
Fork the repository on GitHub.
-
Create a new branch with a descriptive name for your feature or bug fix.
-
Implement your changes, following coding guidelines and best practices.
-
Test your changes thoroughly to ensure they function as expected.
-
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!
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.
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! πποΈ