Eagle Speaker Recognition
Web Quick Start
Platforms
- Chrome & Chromium-based browsers
- Edge
- Firefox
- Safari
Requirements
- Picovoice Account and 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 Speaker Recognition 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
Usage
Put the model file in the project's public directory or generate a base64 model using the build in script:
Speaker Enrollment
- Create an instance of the
EagleProfilerWorker
:
- 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
EagleWorker
with one or more speaker profiles:
- Pass an incoming audio stream to Eagle:
- Release the resources acquired by Eagle Speaker Recognition:
Demos
For the Eagle Speaker Recognition Web SDK, we offer a demo application that demonstrate how to use the speaker recognition engine on a real-time audio stream.
Setup
Clone the Eagle Speaker Recognition repository from GitHub:
Usage
- Install dependencies and run:
- Open http://localhost:5000 to view it in the browser.