Skip to content

Latest commit

 

History

History
72 lines (46 loc) · 2.35 KB

README.md

File metadata and controls

72 lines (46 loc) · 2.35 KB

Immigration Consulting Services

Welcome to the Immigration Consulting Services project. This web application is designed to assist users with various immigration-related tasks, including filling out and editing PDF forms, recording and transcribing voice inputs, and providing real-time translations.

Demo Video

Watch Demo Video

Table of Contents

  • Project Structure
  • Environment Setup
  • Voice Recorder and Translator
  • Voice Recorder
  • Translator
  • Google Cloud Setup
  • API Keys

Project Structure

image

Environment Setup

Clone the repository

image

Set up a virtual environment

image

Install the required dependencies image

Set up environment variables:

Create a .env file in the project root and add the following environment variables: image

Voice Recorder and Translator

Voice Recorder The voice recorder feature allows users to record their voice, transcribe it into text in real-time, and display the transcription on the webpage.

Translator

The translator feature converts the transcribed text into the desired language in real-time.

Google Cloud Setup

Create a project in Google Cloud Console:

  • Go to Google Cloud Console.
  • Create a new project.
  • Enable necessary APIs:

Enable the Google Cloud Speech-to-Text API.

  • Enable the Google Cloud Translation API.
  • Create a service account:
  • Go to the IAM & Admin section.
  • Create a new service account.
  • Download the JSON key file and save it in your project directory.
  • Set the GOOGLE_APPLICATION_CREDENTIALS environment variable to the path of this file.

API Keys Ensure you have the following keys set up in your .env file:

image