FunASR icon indicating copy to clipboard operation
FunASR copied to clipboard

如何使用JAVA来实现实时语音翻译功能

Open Liuhangshuo opened this issue 1 year ago • 3 comments

用html测试没问题,没有找到详细的如何用java来实现的。求帮忙。

Liuhangshuo avatar Sep 13 '24 07:09 Liuhangshuo

https://github.com/modelscope/FunASR/blob/e8f535f53320780cd8ed6f3b8588b187935d3ae5/runtime/java/FunasrWsClient.java#L33 有例子
https://github.com/modelscope/FunASR/blob/main/runtime/java/readme.md

yuexiajiayan avatar Sep 13 '24 08:09 yuexiajiayan

https://github.com/modelscope/FunASR/blob/e8f535f53320780cd8ed6f3b8588b187935d3ae5/runtime/java/FunasrWsClient.java#L33

有例子 https://github.com/modelscope/FunASR/blob/main/runtime/java/readme.md

看不懂不会用呀,这个类只用调用离线的wav音频翻译,不会实时翻译怎么用。

Liuhangshuo avatar Sep 19 '24 07:09 Liuhangshuo

需要自定义,提供了websocket协议的

gsc1456 avatar Oct 14 '24 10:10 gsc1456