Skip to content

satvikgarimella/PikeDex

Repository files navigation

PikeDex

A Pokémon classification system using machine learning.

Setup Instructions

Prerequisites

  • Python 3.10 or higher
  • Node.js 16 or higher
  • Git LFS (Large File Storage)

Installation

  1. Clone the repository:
git clone https://github.com/satvikgarimella/PikeDex.git
cd PikeDex
  1. Install Git LFS:
# macOS
brew install git-lfs

# Ubuntu/Debian
sudo apt install git-lfs

# Windows
# Download from https://git-lfs.github.com/
  1. Set up Python environment:
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
pip install -r requirements.txt
  1. Set up frontend:
cd frontend
npm install

Download Required Files

The following files are not included in the repository due to size limitations. Download them from our Google Drive:

Download Required Files

After downloading:

  1. Extract the pokedex_dataset_ready directory to the root of the project
  2. Place pokedex_model.h5 in the root directory of the project

Verify Setup

Run the setup verification script to ensure everything is properly installed:

python test_setup.py

This script will check:

  • Python version compatibility
  • Required files presence
  • Python dependencies
  • Node.js dependencies

Running the Application

  1. Start the backend:
cd backend
python backend.py
  1. Start the frontend:
cd frontend
npm run dev

The application will be available at http://localhost:3000

Project Structure

  • backend/: Python backend server
  • frontend/: Next.js frontend application
  • pokedex_dataset_ready/: Dataset for training (download from Google Drive)
  • pokedex_model.h5: Trained model file (download from Google Drive)
  • test_setup.py: Setup verification script

Contributing

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a Pull Request

About

Raspberry Pi Pokedex

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published