Java Quick Start
- Linux (x86_64)
- macOS (x86_64, arm64)
- Windows (x86_64)
- NVIDIA Jetson Nano
- Raspberry Pi (2, 3, 4)
- Picovoice Account and AccessKey
- Java 11+
Picovoice Account & AccessKey
Signup or Login to Picovoice Console to get your
Make sure to keep your
Create an instance of Rhino that infers intent from spoken commands within a given context:
Pass in frames of audio to the
Release resources explicitly when done with Rhino:
Use the corresponding model file (
.pv) to detect non-English contexts.
The model files for all supported languages are available
on the Rhino GitHub repository.
Pass in the model file using the
setModelPath build method to change the detection language:
For the Rhino Java SDK, we offer demo applications that demonstrate how to use the Speech-to-Intent engine on real-time audio streams (i.e. microphone input) and audio files.
- Clone the Rhino repository from GitHub:
- Build the Rhino Java demo using
To see the usage options for the demos, use the
Ensure you have a working microphone connected to your system and run the following command to make inferences based on the given context file:
For more information on our Rhino demos for Java, head over to our GitHub repository.