Skip to content

ApplaudToPark/Translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

NOTICE

  • Every file in this repository belongs to 박민석(ApplaudToPark).
  • The contribution of this project was definitely made by 박민석(ApplaudToPark).
  • This project is prepared for the "microprocessor" class at Chung-Ang Univ from May, 2024 to June, 2024.
  • It could be used for a qualification.
  • It is allowed to operate the codes for curiosities, but it cannot be used for any other competitions and beneficial usage.

Derivation

Using ChatGPT API, it is simple to make a high-quiality translator that requires low specs. ChatGPT API can be used in Python environment to import "openai" modules. This project is aiming at implementing translators in low-spec devices.

Dependencies

This codes are operate in python version 3.9.7. You have to install python modules as shown below :

  • gtts
  • speech recognition
  • pydub
  • pyaudio
  • wave
  • openai

And, if you want to operate codes correctly, you must download all files in "Applaud-To-Park-main-code" section. For convenience, I have uploaded the zip file which contains all the needed files.

Principles

The algorithms are following steps :

  1. Record the sound from monitor or microphone.
  2. The recorded signal is transformed to text by STT.
  3. Text is sent to ChatGPT with a prompt. The prompt helps to transform to other languages.
  4. Operating normally, ChatGPT send us the text which is transformed to what I request.
  5. The text is transformed to sound by TTS.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published