Eagle Speaker Recognition
Node.js Quick Start
Platforms
- Linux (x86_64)
- macOS (x86_64, arm64)
- Windows (x86_64)
- NVIDIA Jetson Nano
- Raspberry Pi (3, 4, 5)
Requirements
- Picovoice Account & AccessKey
- Node.js 16+
- npm
Picovoice Account & AccessKey
Signup or Login to Picovoice Console to get your AccessKey
.
Make sure to keep your AccessKey
secret.
Overview
Eagle has two distinct steps: Enrollment and Recognition. In the enrollment step, Eagle analyzes a series of utterances from a particular speaker to learn their unique voiceprint. This step produces an Eagle Profile object, which can be stored and utilized during inference. During the Recognition step, Eagle compares the incoming frames of audio to the voiceprints of all enrolled speakers in real-time to determine the similarity between them.
Quick Start
Setup
Install Node.js.
Install the eagle-node npm package:
Usage
Speaker Enrollment
- Create an instance of the profiler:
- Pass the enrollment audio data to the profiler until the enrollment percentage reaches 100%:
- Export the speaker profile:
- Release the resources acquired by the profiler:
Speaker Recognition
- Create an instance of Eagle:
- Pass the incoming audio stream to Eagle:
- Release the resources acquired by Eagle:
Demos
For the Eagle SDK, we offer demo applications that demonstrate how to use the speaker recognition engine on real-time audio streams (i.e. microphone input) and audio files.
Setup
Install the Eagle demo package:
This package installs command-line utilities for the Eagle Node.js demos.
Usage
Use the --help
flag to see the usage options for the demos:
Speaker Enrollment & Recognition:
Ensure you have a working microphone connected to your system and run the command corresponding to your platform enroll speaker(s) and perform speaker recognition:
For more information on our Eagle demos for Node.js, head over to our GitHub repository.