Android-Offline-Speech-Recognition
Provide accurate offline voice-to-text services for VR,AR and Android platforms, such as oculus quest1/2/pro or pico3/4
The plug-in supports UE 4.26/4.27/5.0/5.1, and since the store only allows submission of the last three versions, you can compile the plug-in yourself if you need other versions
Introduction
1.支持两种语音离线识别(英语和汉语)
- Support two kinds of offline speech recognition (English and Chinese)
2.简单,强大,创作者可以用几个蓝图函数轻松调用它 - Simple and powerful, creators can easily call it with several blueprint functions
3.不依赖任何其他服务,调用插件,打包android arm64就可以运行 - Do not rely on any other services, call plug-in, package android arm64 can run
4.为VR耳机开发,所以它超适合 oculus quest1/2/pro or pico3/4
我会提供一个VR一体机例子 - Developed for VR headsets, so it’s super suitable for oculus quest1/2/pro or pico3/4
I’ll give you an example of a VR all-in-one
How To Use:
Project Settings–Android
- Build–Only Choose Support arm64 [aka arm64-v8a]
- Advanced APK Packaging–Add permissions to support Voice chat (RECORD_AUDIO)
How To call our plugin
- 1.Make sure that Jvoice Plugin is enabled in your plugin
- 2.For example
function declaration
1.Jvoice_Execute(float Param,FString info);
- Param: Alternate parameter, can be random floating point number
- info = “1”: Initialization model(Don’t repeat calls,It is best to initialize the plugin in the level blueprint)
- info = “2”: Initialization audio(Don’t repeat calls,It is best to initialize the plugin in the level blueprint)
- info = “3”: The interface is reserved. You are advised to use info=6
- info = “4”: The interface is reserved. You are advised to use info=6
- info = “5”: Reset the text of the model. After the call, the model returns the text to zero
- info = “6”: Read speech and convert text in a thread in real time,Calling it again terminates the thread
2.getJvoicePointer()
- getJvoicePointer() gets an object that can bind real-time speech-to-text results to events
Call routine diagram summary
1.Complete process, start real-time voice to text
2. the model returns the text to zero
3.Stop converting speech to text/Start converting speech to text
Common errors
Jvoice plug-in cannot be found if packaged on Android phone
1.If you are a blueprint plug-in, you need to create a C++ class
If it is UE5.0 or below, create a new C++ class in the file TAB
2.Visual studio opens after you create a new C++ class
You can select debug directly, if there is a problem you can right-click the project and select rebuild solution
Features:
- 离线语音识别 Off-line speech recognition
- 一次性付款 Lump sum payment
- 支持蓝图,调用简单 Support blueprint, simple call
- 无需联网 No Internet
Video: https://youtu.be/Tr1jY0BNTlc
Sample:https://1drv.ms/u/s!AtMQvIOr69DMi26Dw0Ag9oKtvdBU?e=9j9Yf8(Android)
Market Address:
在代码插件创建的Android Offline Speech Recognition - 虚幻引擎商城 (unrealengine.com)