Skip to content

Latest commit

 

History

History
76 lines (50 loc) · 1.18 KB

README.md

File metadata and controls

76 lines (50 loc) · 1.18 KB

MLA API

The API for the MLA web application.

🔨 Usage

Before proceeding, please ensure that you have trained a .h5 IS model using the Jupyter Notebooks found in xyntechx/Manga-Layout-Analysis.

API

  • Clone the teamxynlab/MLA-API repository
git clone https://github.com/teamxynlab/MLA-API.git
  • CD into your local copy of teamxynlab/MLA-API

  • Create a Python virtual environment

python3 -m venv .venv
  • Activate the virtual environment
source .venv/bin/activate
  • Install the required packages
pip install -r requirements.txt
  • Add your own MLA IS model (named IS.h5) into the /models folder

  • Run the API

python3 main.py

Frontend

  • Clone the teamxynlab/MLA repository
git clone https://github.com/teamxynlab/MLA.git
  • CD into your local copy of teamxynlab/MLA

  • Install the npm packages

npm i
  • Run the web app
npm run dev
  • Navigate to http://localhost:5173/

🤖 Technologies

  • Flask
  • TensorFlow
  • Keras
  • OpenCV
  • Matplotlib
  • React
  • Vite