Eagle Speaker Recognition
iOS Quick Start
Platforms
- iOS (13.0+)
Requirements
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
Install Xcode.
Install CocoaPods
Import the Eagle-iOS pod by adding the following line to the project's
Podfile
:
- Run the following from the project directory:
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 Speaker Recognition:
- Pass the incoming audio stream to Eagle Speaker Recognition:
- Release the resources acquired by Eagle Speaker Recognition:
Demo
For the Eagle Speaker Recognition iOS SDK, we offer a demo application that demonstrates how to use the speaker recognition engine on microphone audio.
Setup
Clone the Eagle Speaker Recognition repository from GitHub using HTTPS:
Usage
- Before building the demo app, run the following to install the Eagle Speaker Recognition CocoaPod:
Replace
"${YOUR_ACCESS_KEY_HERE}"
inside theViewModel.swift
file with your AccessKey obtained from Picovoice Console.Open
EagleDemo.xcworkspace
and run the demo.
For more information on our Eagle Speaker Recognition demo for iOS, head over to our Github repository.