steveseguin / captionninja

Closed-captioning transcription/translation tool that generates text overlays using real-time ML.
https://CAPTION.Ninja
102 stars 21 forks source link

Translation online is possible? #3

Open aloproducao opened 4 years ago

aloproducao commented 4 years ago

https://github.com/matheuss/google-translate-api

steveseguin commented 3 years ago

apologies for missing this request. It should be possible.

nicopace commented 3 years ago

I've tried to translate an english session to spanish using the translate.google.com webpage translator, and although it translates, it wouldn't be useful as a captioning approach as it retranslate all the paragraph when is updated.

You could fix it by adding newlines I believe (or new paragraphs, and leave the already transcribed ones unchanged).

steveseguin commented 3 years ago

I did attempt this as well some months back, and ran into issues as well. While I did get it to work, it never quite worked well enough for me to want to post it. I have some ideas on how to improve it, but I'd need to know if there is demand for it before investing that time.

Anywhoo, here is the page you can try the live translation at:

https://caption.ninja/translate

https://github.com/steveseguin/captionninja/blob/master/README.md#translation-from-language-a-to-language-b-in-real-time

https://github.com/steveseguin/captionninja/blob/master/translate.html

Let me know if you want me to work on it more, or feel free to make a pull request with improvements.

Kindly, Steve

Isaac-dot-py commented 1 month ago

When I forked it the translation no longer works. Any ideas?