https://github.com/shivam6862/pet-classify-hub
Pet Classify Hub is an application designed for classifying images of pets, specifically cats and dogs. This project utilizes a user-friendly web interface built with Next.js for the frontend and a backend server powered by Flask. The classification models are implemented using TensorFlow, Convolutional Neural Network (CNN) models.
https://github.com/shivam6862/pet-classify-hub
cnn convolutional-neural-networks deep-learning flask next python
Last synced: 3 months ago
JSON representation
Pet Classify Hub is an application designed for classifying images of pets, specifically cats and dogs. This project utilizes a user-friendly web interface built with Next.js for the frontend and a backend server powered by Flask. The classification models are implemented using TensorFlow, Convolutional Neural Network (CNN) models.
- Host: GitHub
- URL: https://github.com/shivam6862/pet-classify-hub
- Owner: shivam6862
- Created: 2023-11-28T20:55:34.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-09T17:51:04.000Z (over 2 years ago)
- Last Synced: 2025-07-13T22:26:27.520Z (12 months ago)
- Topics: cnn, convolutional-neural-networks, deep-learning, flask, next, python
- Language: Jupyter Notebook
- Homepage:
- Size: 1.23 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pet Classify Hub
## Overview
Pet Classify Hub is an application designed for classifying images of pets, specifically cats and dogs. This project utilizes a user-friendly web interface built with Next.js for the frontend and a backend server powered by Flask. The classification models are implemented using TensorFlow, Convolutional Neural Network (CNN) models.
## Features
- User-friendly web interface for uploading and classifying pet images.
- Backend server for handling image classification requests.
- Model training and testing functionality for users who want to experiment with new models.
## Technologies Used
- Next.js: A React framework for building user interfaces.
- Flask: A lightweight web application framework for Python.
- Python: The programming language used for the backend and model training.
- TensorFlow: An open-source machine learning framework used for implementing ANN and CNN models.
## Setup
1. **Clone the repository:**
```bash
git clone https://github.com/shivam6862/Pet-Classify-Hub.git
```
2. **Install dependencies:**
```bash
cd Pet-Classify-Hub/frontend
npm install
```
```bash
cd Pet-Classify-Hub/backend
pip install -r requirements.txt
```
3. **Run the development server:**
```bash
npm run dev
```
```bash
cd backend
python main.py
```
The app will be accessible at `http://localhost:3000`.
## Usage
1. **Navigate to the web interface in your browser.**
2. **Upload an image in the app.**
3. **Click the "Recognize" button to see the model's prediction.**
4. **Explore the training section to train and test new models.**
## Training Models
To train new models, follow these steps:
1. **Prepare a dataset of cat and dog images.**
2. **Place the dataset in the `data` directory.**
3. **Use the training functionality in the app to train and test new models.**
## Snapshot
### Result
