/document-chat-translator

this is the web application which works on text extraction from any sort of document and translate the text in any other language and generate the translated pdf too

Primary LanguageHTML

Universal Translator and Formatter

Overview

Welcome to the Universal Translator and Formatter, a versatile tool designed to translate and format various types of content seamlessly. Whether you need to convert text to text, extract text from videos and audio, or perform live video translations, this tool has you covered.

Features

1. Text to Text Translation

Effortlessly translate written content from one language to another. Simply input the text, choose the desired language, and obtain the translated result.

2. Video to Text Extraction

Extract text from videos to make content more accessible and searchable. Ideal for creating subtitles, transcribing lectures, or summarizing video content.

3. Audio to Text Conversion

Convert spoken words from audio files into text. This feature is useful for transcribing interviews, podcasts, or any other spoken content.

4. Document to Document Translation

Translate entire documents from one language to another, preserving the original formatting and structure. Maintain the integrity of your documents while breaking down language barriers.

5. Live Video Translation

Experience real-time translation of spoken words during live video sessions. Perfect for virtual meetings, conferences, or online events where participants speak different languages.

6. Summarizer

Efficiently generate summaries of lengthy texts, helping users quickly grasp the main points without reading the entire document.

Getting Started

Requirements

  • Python 3.7 or higher
  • Internet connection for live translation features

Installation

  1. Clone this repository:

    git clone https://github.com/harshalpatil7372/document-chat-translator.git
  2. Navigate to the project directory:

    cd rockstar
  3. Install dependencies:

    pip install -r requirements.txt

Usage

  1. Run the application:

    python app.py
  2. Follow the on-screen instructions to choose the desired translation or extraction type.

  3. Input the text, upload the document, or provide the video/audio file as instructed.

  4. Receive the translated or extracted content promptly.

Updated User Interface

1. Document to Document Translation

Video to Text Extraction

Description: This screenshot demonstrates the document translation feature, allowing users to translate entire documents while preserving the original formatting.

2. Video to Text Extraction

Document to Document Translation

Description: In this screenshot, you can see the tool extracting text from a video. This feature is useful for creating subtitles or transcribing spoken content from video files.

Notes

  • Live video translation requires a stable internet connection and may incur additional costs based on the translation service used.

  • Ensure that your input files are in a supported format (e.g., text files, common video/audio formats).

Support and Contributions

For any issues, suggestions, or contributions, please create a GitHub issue or submit a pull request. Your feedback is valuable in improving the Universal Translator and Formatter.

Thank you for using our tool! We hope it enhances your experience in dealing with multilingual content and diverse media types.