Eagle Speaker Recognition 
 Android Quick Start
Platforms
- Android (5.0+, API 21+)
 
Requirements
- Picovoice Account and AccessKey
 - Android Studio
 - Android device with USB debugging enabled or Android simulator
 
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 Android Studio.
Include
mavenCentral()repository in the top-levelbuild.gradle. Then add the following to the app'sbuild.gradle:
- Add the following to the app's 
AndroidManifest.xmlfile to enable recording with an Android device's microphone: 
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:
 
Demos
For the Eagle Speaker Recognition Android SDK, we offer demo applications that demonstrate how to use the speaker recognition engine on real-time audio streams.
Setup
Clone the Eagle Speaker Recognition repository from GitHub using HTTPS:
Usage
- Open the Android demo using Android Studio.
 - Copy your 
AccessKeyfrom Picovoice Console into theACCESS_KEYvariable in MainActivity.java. - Run the application using a connected Android device or using an Android simulator.