Skip to content

manga-translator-project/manga-translator

Repository files navigation

UNDER CONSTRUCTION only for developers

Installation Guide

This guide will walk you through setting up the project for development only.

Prerequisites

Make sure you have the following installed on your system:

Python Setup

  1. Clone the repository:

    git clone <repository-url>
    cd manga-translator
  2. Create a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
  3. Install Python dependencies: A requirements.txt file is not yet available. Please install the following packages manually:

    pip install opencv-python paddleocr pdf2image python-docx docx2pdf selenium
  4. Install OCR model and library: Download the PaddleOCR model from PaddleOCR

    pip install paddleocr

JavaScript Setup

  1. Navigate to the API directory:

    cd Translate/API_request
  2. Install Node.js dependencies:

    npm install dotenv express @google/generative-ai

Configuration

  1. install Geckodriver

    python Translate/download_firefox_driver.py
  2. config.json: This file, located in the root directory, is used by the Python scripts. It requires paths to geckodriver and your Firefox profile.

    The GECKODRIVER is locted in this folder under config/tools directory

    TO find the Firefox profile path, open Firefox, go to about:profiles, and copy the path of the profile you want to use. Recommended to create a new profile for the bot to avoid any conflicts with your main profile

    {
        "GECKODRIVER_PATH": "/path/to/your/geckodriver",
        "FIREFOX_PROFILE_PATH": "/path/to/your/firefox/profile",
        "to_lan": "en"
    }

About

manga translator with support for 100+ languages

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors