Skip to content

S-Nuttapong/Flask-Pokemon-Classification-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask-Pokemon-Classification-API

API endpoint for Pokémon's image classification

GIF

Project setup

Creating Virtualenv

Create a python virtual environment with venv, name it as you wish, for example Pokemon_Backend Replace the path /PATH/TO to your desired virtualenv accordingly, for example virpython .

pip3 install virtualenv

mkdir virpython <<<< </PATH/TO>

cd <PATH/TO/virpython

virtualenv -p python3.7 Pokemon_Backend <<<<<<<< <VENV NAME>

Activate Virtual environment

source <PATH/TO/virpython/Pokemon_Backend/bin/activate>

Installing all dependency for the project. Run the following command:

cd </PATH/TO/WORK_DIR>

# From WORK_DIR/
pip install -r requirements.txt

Running and Testing API

Starting endpoint for service

# From WORK_DIR/
python predict_app.py

Frontend

For frontend, kindly head to https://github.com/S-Nuttapong/S-Nuttapong.github.io/tree/master/Pokemon-webapp

In addition, you can test API directly from this Github page https://s-nuttapong.github.io/Pokemon-webapp/Pokemon-webapp.html

About

API endpoint for Pokémon's image classification web-app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages