{"id":26656868,"url":"https://github.com/tuzibr/Real_time_caption_translate","last_synced_at":"2025-03-25T08:01:43.361Z","repository":{"id":279792784,"uuid":"939533973","full_name":"tuzibr/Real_time_caption_translate","owner":"tuzibr","description":"A real-time caption translation tool based on VOSK speech recognition and machine translation, which supports transcribing audio into target language subtitles in real time and displaying the translated content.","archived":false,"fork":false,"pushed_at":"2025-03-08T05:45:26.000Z","size":40616,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T06:25:56.504Z","etag":null,"topics":["captions","microphone","real-time","speaker","speech-recognition","subtitles","transcribe","translate"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tuzibr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-26T17:36:44.000Z","updated_at":"2025-03-08T05:32:37.000Z","dependencies_parsed_at":"2025-02-27T18:20:43.958Z","dependency_job_id":null,"html_url":"https://github.com/tuzibr/Real_time_caption_translate","commit_stats":null,"previous_names":["tuzibr/real_time_caption_translate"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuzibr%2FReal_time_caption_translate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuzibr%2FReal_time_caption_translate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuzibr%2FReal_time_caption_translate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuzibr%2FReal_time_caption_translate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tuzibr","download_url":"https://codeload.github.com/tuzibr/Real_time_caption_translate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245423074,"owners_count":20612736,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["captions","microphone","real-time","speaker","speech-recognition","subtitles","transcribe","translate"],"created_at":"2025-03-25T08:01:38.111Z","updated_at":"2025-03-25T08:01:43.271Z","avatar_url":"https://github.com/tuzibr.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"[English](README_en.md) | 简体中文\n\n# 实时字幕翻译\n\n![App Icon](C.ico) \n\n一个基于VOSK语音识别和机器翻译的实时字幕翻译工具，支持将音频实时转录为目标语言字幕并进行翻译显示。\n\n## ✨ 特性\n\n- 🎙️ 实时音频转录与翻译\n- 🌐 多翻译引擎支持（Google/DeepL/Ollama）\n- 📊 主界面显示历史翻译内容\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"./images/main window.png\"\u003e\n\u003c/div\u003e\n\n- 🖥️ 实时字幕框\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"./images/monitor window.png\"\u003e\n\u003c/div\u003e\n\n- 🎚️ 支持扬声器/麦克风\n- 🔧 多语言配置文件支持\n- 📚 查阅[VOSK官网](https://alphacephei.com/vosk/models)模型目录确认你需要的语言是否够识别（或者训练你自己的模型）\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"./images/VOSK_model.png\"\u003e\n\u003c/div\u003e\n\n- ⚙️ 可在设置中设置仅当文本结束时翻译，减少资源消耗并且获得更加准确结果\n\n## 📥 安装方法\n\n### 方法一：直接使用Release版本\n\n1. 前往 [Releases页面](https://github.com/tuzibr/Real_time_caption_translate/releases/tag/v1.0.0) 下载最新版本压缩包\n2. 解压到任意目录\n3. 双击运行 `Realtimecaptiontranslate.exe`\n4. Release版包括一个小型英文识别模型，可直接识别英文并翻译，若要识别其他语言，请从[VOSK官网](https://alphacephei.com/vosk/models)下载对应模型，放在任意文件夹，在设置中设置模型路径即可\n\n### 方法二：从源代码运行\n\n```bash\n# 克隆仓库\ngit clone https://github.com/your-repo/real-time-caption-translation.git\ncd real-time-caption-translation\n\n# 安装依赖\npip install -r requirements.txt\n\n# 启动程序\npython Run.py\n```\n\n\n## ⚙️ 配置说明\n\n### 翻译引擎配置\n\n| 引擎       | 必需参数             | 注意事项                                                   |\n|----------|------------------|--------------------------------------------------------|\n| Google   | 无                | 支持100+语言，免费使用                                          |\n| DeepL    | API密钥            | 需注册获取[DeepL密钥](https://www.deepl.com)                  |\n| Ollama   | 本地服务地址           | 需要先安装并启动Ollama服务                                       |\n| DeepSeek | API密钥            | 需DeepSeek密钥 [DeepSeek密钥](https://platform.deepseek.com) |\n| OpenAI   | 平台url，模型名称，API密钥 | 支持使用openai sdk的模型平台，阅读平台使用文档，获取平台对应url，模型名称，API密钥      |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuzibr%2FReal_time_caption_translate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftuzibr%2FReal_time_caption_translate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuzibr%2FReal_time_caption_translate/lists"}