PetPredictor is a web-based application that uses a trained convolutional neural network (CNN) to classify uploaded images as either a cat or a dog. The project is built using Flask for the backend and incorporates HTML and CSS for the frontend.
- Image classification as cat or dog.
- Simple and intuitive user interface.
- Responsive design for a seamless experience on various devices.
-
Visit the Website:
- Open your web browser and navigate to the PetPredictor.
-
Upload an Image:
- Click on the "Choose File" button to select an image for classification.
-
Supported Image Formats:
- PetPredictor supports common image formats, including JPG, JPEG, PNG, BMP, and WEBP.
-
Upload and Predict:
- Click the "Upload and Predict" button to submit the image for classification.
-
View Result:
- The prediction result will be displayed on the right side of the page.
-
Interpret Result:
- Interpret the result to determine whether the image is classified as a cat or a dog.
To run the PetPredictor application locally, follow these steps:
git clone https://github.com/your-username/PetPredictor.git
cd PetPredictor
pip install -r requirements.txt
python app.py
Make sure to replace the placeholder URLs, paths, and project-specific details with your actual information.
The application will be accessible at http://127.0.0.1:5000/ in your web browser.
static/
: Contains static files such as images and styles.templates/
: Contains HTML templates for the frontend.model/
: Contains the trained CNN model.app.py
: Flask application script.requirements.txt
: List of Python dependencies.
If you'd like to contribute to PetPredictor, please follow the Contribution Guidelines.
This project is licensed under the MIT License.
Feel free to reach out if you have any questions or feedback!