Eagle Speaker Recognition
iOS Quick Start
Platforms
- iOS (11.0+)
Requirements
Picovoice Account & AccessKey
Signup or Login to Picovoice Console to get your AccessKey
.
Make sure to keep your AccessKey
secret.
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:
- Pass the incoming audio stream to Eagle:
- Release the resources acquired by Eagle:
Demo
For the Eagle iOS SDK, we offer a demo application that demonstrates how to use the speaker recognition engine on microphone audio.
Setup
Clone the Eagle repository from GitHub using HTTPS:
Usage
- Before building the demo app, run the following to install the Eagle 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 demo for iOS, head over to our Github repository .