Skip to content

Commit bfb6267

Browse files
authored
v1.0 (#53)
1 parent b64e3a0 commit bfb6267

File tree

54 files changed

+308
-340
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+308
-340
lines changed

.github/workflows/python-demos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363

6464
strategy:
6565
matrix:
66-
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, jetson]
66+
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson]
6767

6868
steps:
6969
- uses: actions/checkout@v3

.github/workflows/python-perf.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ jobs:
5353
profiler_performance_threshold_sec: 0.5
5454
recognizer_performance_threshold_sec: 0.6
5555
- os: macos-latest
56-
profiler_performance_threshold_sec: 0.6
57-
recognizer_performance_threshold_sec: 0.8
56+
profiler_performance_threshold_sec: 0.9
57+
recognizer_performance_threshold_sec: 0.9
5858

5959
steps:
6060
- uses: actions/checkout@v3
@@ -87,17 +87,20 @@ jobs:
8787
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, jetson]
8888
include:
8989
- machine: rpi3-32
90-
profiler_performance_threshold_sec: 2.3
90+
profiler_performance_threshold_sec: 2.5
9191
recognizer_performance_threshold_sec: 2.8
9292
- machine: rpi3-64
93-
profiler_performance_threshold_sec: 2.3
93+
profiler_performance_threshold_sec: 2.5
9494
recognizer_performance_threshold_sec: 2.8
9595
- machine: rpi4-32
9696
profiler_performance_threshold_sec: 1.5
9797
recognizer_performance_threshold_sec: 1.5
9898
- machine: rpi4-64
9999
profiler_performance_threshold_sec: 2.0
100100
recognizer_performance_threshold_sec: 2.5
101+
- machine: rpi5-64
102+
profiler_performance_threshold_sec: 0.5
103+
recognizer_performance_threshold_sec: 0.6
101104
- machine: jetson
102105
profiler_performance_threshold_sec: 1.2
103106
recognizer_performance_threshold_sec: 1.5

.github/workflows/python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464

6565
strategy:
6666
matrix:
67-
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, jetson]
67+
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson]
6868

6969
steps:
7070
- uses: actions/checkout@v3

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@ Eagle is an on-device speaker recognition engine. Eagle is:
2424
- Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64)
2525
- Android and iOS
2626
- Chrome, Safari, Firefox, and Edge
27-
- Raspberry Pi (4, 3) and NVIDIA Jetson Nano
27+
- Raspberry Pi (5, 4, 3) and NVIDIA Jetson Nano
2828

2929

30-
**Please note that Eagle is currently in development. While we prioritize stability and compatibility, certain aspects of Eagle may undergo changes as we continually enhance and refine the engine to provide the best user experience possible.**
31-
3230
## Table of Contents
3331

3432
- [Eagle](#eagle)
@@ -614,6 +612,13 @@ while (true) {
614612

615613
## Releases
616614

615+
### v1.0.0 - January 24th, 2024
616+
617+
- Enhanced engine accuracy
618+
- Improved the enrollment process
619+
- Added Raspberry Pi 5 support
620+
- Various bug fixes and improvements
621+
617622
### v0.2.0 - November 24th, 2023
618623

619624
- Improvements to error reporting

binding/android/Eagle/eagle/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
22

33
ext {
44
PUBLISH_GROUP_ID = 'ai.picovoice'
5-
PUBLISH_VERSION = '0.2.0'
5+
PUBLISH_VERSION = '1.0.0'
66
PUBLISH_ARTIFACT_ID = 'eagle-android'
77
}
88

binding/android/EagleTestApp/eagle-test-app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ dependencies {
116116
implementation 'androidx.appcompat:appcompat:1.6.1'
117117
implementation 'com.google.android.material:material:1.8.0'
118118
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
119-
implementation 'ai.picovoice:eagle-android:0.2.0'
119+
implementation 'ai.picovoice:eagle-android:1.0.0'
120120

121121
// Espresso UI Testing
122122
androidTestImplementation 'androidx.test.ext:junit:1.1.5'

binding/android/EagleTestApp/eagle-test-app/src/androidTest/java/ai/picovoice/eagle/testapp/EagleTest.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -198,14 +198,6 @@ public void getSampleRate() throws EagleException {
198198
eagle.delete();
199199
}
200200

201-
@Test
202-
public void testEagleEnrollmentUnknownSpeaker() throws Exception {
203-
File audioFile = new File(testResourcesPath, imposterPath);
204-
short[] pcm = readAudioFile(audioFile.getAbsolutePath());
205-
EagleProfilerEnrollResult result = eagleProfiler.enroll(pcm);
206-
Assert.assertEquals(result.getFeedback(), EagleProfilerEnrollFeedback.UNKNOWN_SPEAKER);
207-
}
208-
209201
@Test
210202
public void testEagleProcess() throws Exception {
211203
Eagle eagle = new Eagle.Builder()

binding/ios/Eagle-iOS.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
Pod::Spec.new do |s|
22
s.name = 'Eagle-iOS'
33
s.module_name = 'Eagle'
4-
s.version = '0.2.0'
4+
s.version = '1.0.0'
55
s.license = {:type => 'Apache 2.0'}
66
s.summary = 'iOS binding for Picovoice\'s Eagle speaker recognition engine'
77
s.description =
88
<<-DESC
9-
Eagle Speaker Recognition is speaker verification and identification software
9+
Eagle Speaker Recognition is speaker verification and identification software
1010
that distinguishes individuals using their unique voice characteristics.
1111
DESC
1212
s.homepage = 'https://github.com/Picovoice/eagle/tree/master/binding/ios'
1313
s.author = { 'Picovoice' => '[email protected]' }
14-
s.source = { :git => "https://github.com/Picovoice/eagle.git", :tag => "Eagle-iOS-v0.2.0" }
14+
s.source = { :git => "https://github.com/Picovoice/eagle.git", :tag => "Eagle-iOS-v1.0.0" }
1515
s.ios.deployment_target = '13.0'
1616
s.swift_version = '5.0'
1717
s.vendored_frameworks = 'lib/ios/PvEagle.xcframework'

binding/ios/EagleAppTest/EagleAppTestUITests/EagleAppTestUITests.swift

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// Copyright 2023 Picovoice Inc.
2+
// Copyright 2023-2024 Picovoice Inc.
33
// You may not use this file except in compliance with the license. A copy of the license is located in the "LICENSE"
44
// file accompanying this source.
55
// Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
@@ -64,26 +64,6 @@ class EagleAppTestUITests: BaseTest {
6464
eagleProfiler.delete()
6565
}
6666

67-
func testEagleEnrollmentUnknownSpeaker() throws {
68-
let enrollUrls = enrollUrls()
69-
let imposterUrl = imposterUrl()
70-
71-
var feedback: EagleProfilerEnrollFeedback?
72-
73-
let eagleProfiler = try EagleProfiler(accessKey: accessKey)
74-
for url in enrollUrls {
75-
let pcm = try readPcmFromFile(testAudioURL: url)
76-
(_, feedback) = try eagleProfiler.enroll(pcm: pcm)
77-
XCTAssertEqual(feedback, EagleProfilerEnrollFeedback.AUDIO_OK)
78-
}
79-
80-
let pcm = try readPcmFromFile(testAudioURL: imposterUrl)
81-
(_, feedback) = try eagleProfiler.enroll(pcm: pcm)
82-
XCTAssertEqual(feedback, EagleProfilerEnrollFeedback.UNKNOWN_SPEAKER)
83-
84-
eagleProfiler.delete()
85-
}
86-
8767
func testEagleProcess() throws {
8868
let testUrl = testUrl()
8969

binding/ios/EagleAppTest/Podfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ source 'https://cdn.cocoapods.org/'
22
platform :ios, '13.0'
33

44
target 'EagleAppTest' do
5-
pod 'Eagle-iOS', '~> 0.2.0'
5+
pod 'Eagle-iOS', '~> 1.0.0'
66
end
77

88
target 'EagleAppTestUITests' do
9-
pod 'Eagle-iOS', '~> 0.2.0'
9+
pod 'Eagle-iOS', '~> 1.0.0'
1010
end
1111

1212
target 'PerformanceTest' do
13-
pod 'Eagle-iOS', '~> 0.2.0'
13+
pod 'Eagle-iOS', '~> 1.0.0'
1414
end

0 commit comments

Comments
 (0)