Skip to content

Commit

Permalink
V1.8 (#276)
Browse files Browse the repository at this point in the history
improved accuracy and runtime
  • Loading branch information
kenarsa authored May 28, 2020
1 parent b4a04ea commit f9898f3
Show file tree
Hide file tree
Showing 123 changed files with 2,703 additions and 3,569 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ music control (e.g. volume up/down, play next/last), and voice navigation are a

A comparison between accuracy and runtime metrics of Porcupine and two other widely-used libraries, PocketSphinx and
Snowboy, is provided [here](https://github.com/Picovoice/wakeword-benchmark). Compared to the best-performing engine of
these two, Porcupine's standard model is **3.6 times more accurate** and **3.8 times faster** (on Raspberry Pi 3).
these two, Porcupine's standard model is **5.4 times more accurate** and **6.5 times faster** (on Raspberry Pi 3).

## Model Variants

Expand Down Expand Up @@ -508,6 +508,11 @@ pv_porcupine_delete(handle);

## Releases

### v1.8.0 - May 27th, 2020

* Improved accuracy.
* Runtime optimization.

### v1.7.0 - Feb 13th, 2020

* Improved accuracy.
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified demo/android/Activity/app/src/main/res/raw/americano.ppn
Binary file not shown.
Binary file modified demo/android/Activity/app/src/main/res/raw/blueberry.ppn
Binary file not shown.
Binary file modified demo/android/Activity/app/src/main/res/raw/bumblebee.ppn
Binary file not shown.
Binary file modified demo/android/Activity/app/src/main/res/raw/grapefruit.ppn
Binary file not shown.
Binary file modified demo/android/Activity/app/src/main/res/raw/grasshopper.ppn
Binary file not shown.
Binary file modified demo/android/Activity/app/src/main/res/raw/picovoice.ppn
Binary file not shown.
Binary file modified demo/android/Activity/app/src/main/res/raw/porcupine.ppn
Binary file not shown.
Binary file modified demo/android/Activity/app/src/main/res/raw/terminator.ppn
Binary file not shown.
Binary file modified demo/android/Service/app/src/main/res/raw/porcupine_android.ppn
Binary file not shown.
6,237 changes: 2,682 additions & 3,555 deletions demo/javascript/index.html

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions demo/python/porcupine_demo_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@

import soundfile

sys.path.append(os.path.join(os.path.dirname(__file__), '../../binding/python'))
sys.path.append(os.path.join(os.path.dirname(__file__), '../../resources/util/python'))

from util import *
from porcupine import Porcupine


def _run(input_audio_file_path, library_path, model_file_path, keyword_file_paths, sensitivity):
"""
Expand Down Expand Up @@ -101,9 +107,4 @@ def main():


if __name__ == '__main__':
sys.path.append(os.path.join(os.path.dirname(__file__), '../../binding/python'))
sys.path.append(os.path.join(os.path.dirname(__file__), '../../resources/util/python'))
from util import *
from porcupine import Porcupine

main()
11 changes: 6 additions & 5 deletions demo/python/porcupine_demo_mic.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
import pyaudio
import soundfile

sys.path.append(os.path.join(os.path.dirname(__file__), '../../binding/python'))
sys.path.append(os.path.join(os.path.dirname(__file__), '../../resources/util/python'))

from porcupine import Porcupine
from util import *


class PorcupineDemo(Thread):
"""
Expand Down Expand Up @@ -198,9 +204,4 @@ def main():


if __name__ == '__main__':
sys.path.append(os.path.join(os.path.dirname(__file__), '../../binding/python'))
sys.path.append(os.path.join(os.path.dirname(__file__), '../../resources/util/python'))
from porcupine import Porcupine
from util import *

main()
Binary file modified lib/android/arm64-v8a/libpv_porcupine.so
Binary file not shown.
Binary file modified lib/android/armeabi-v7a/libpv_porcupine.so
Binary file not shown.
Binary file modified lib/android/x86/libpv_porcupine.so
Binary file not shown.
Binary file modified lib/android/x86_64/libpv_porcupine.so
Binary file not shown.
Binary file modified lib/beaglebone/libpv_porcupine.so
Binary file not shown.
Binary file modified lib/common/porcupine_params.pv
Binary file not shown.
Binary file modified lib/ios/libpv_porcupine.a
Binary file not shown.
Binary file modified lib/linux/x86_64/libpv_porcupine.so
Binary file not shown.
Binary file modified lib/mac/x86_64/libpv_porcupine.dylib
Binary file not shown.
Binary file modified lib/raspberry-pi/arm11/libpv_porcupine.so
Binary file not shown.
Binary file modified lib/raspberry-pi/cortex-a53/libpv_porcupine.so
Binary file not shown.
Binary file modified lib/raspberry-pi/cortex-a7/libpv_porcupine.so
Binary file not shown.
Binary file modified lib/raspberry-pi/cortex-a72/libpv_porcupine.so
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/wasm/pv_porcupine.js

Large diffs are not rendered by default.

Binary file modified lib/wasm/pv_porcupine.wasm
Binary file not shown.
Binary file modified lib/watchos/libpv_porcupine.a
Binary file not shown.
Binary file modified lib/windows/amd64/libpv_porcupine.dll
Binary file not shown.
Binary file modified resources/keyword_files/android/americano_android.ppn
Binary file not shown.
Binary file modified resources/keyword_files/android/blueberry_android.ppn
Binary file not shown.
Binary file modified resources/keyword_files/android/bumblebee_android.ppn
Binary file not shown.
Binary file modified resources/keyword_files/android/grapefruit_android.ppn
Binary file not shown.
Binary file modified resources/keyword_files/android/grasshopper_android.ppn
Binary file not shown.
Binary file modified resources/keyword_files/android/picovoice_android.ppn
Binary file not shown.
Binary file modified resources/keyword_files/android/porcupine_android.ppn
Binary file not shown.
Binary file modified resources/keyword_files/android/terminator_android.ppn
Binary file not shown.
Binary file modified resources/keyword_files/beaglebone/americano_beaglebone.ppn
Binary file not shown.
Binary file modified resources/keyword_files/beaglebone/blueberry_beaglebone.ppn
Binary file not shown.
Binary file modified resources/keyword_files/beaglebone/bumblebee_beaglebone.ppn
Binary file not shown.
Binary file modified resources/keyword_files/beaglebone/grapefruit_beaglebone.ppn
Binary file not shown.
Binary file modified resources/keyword_files/beaglebone/grasshopper_beaglebone.ppn
Binary file not shown.
Binary file modified resources/keyword_files/beaglebone/picovoice_beaglebone.ppn
Binary file not shown.
Binary file modified resources/keyword_files/beaglebone/porcupine_beaglebone.ppn
Binary file not shown.
Binary file modified resources/keyword_files/beaglebone/terminator_beaglebone.ppn
Binary file not shown.
Binary file modified resources/keyword_files/ios/americano_ios.ppn
Binary file not shown.
Binary file modified resources/keyword_files/ios/blueberry_ios.ppn
Binary file not shown.
Binary file modified resources/keyword_files/ios/bumblebee_ios.ppn
Binary file not shown.
Binary file modified resources/keyword_files/ios/grapefruit_ios.ppn
Binary file not shown.
Binary file modified resources/keyword_files/ios/grasshopper_ios.ppn
Binary file not shown.
Binary file modified resources/keyword_files/ios/picovoice_ios.ppn
Binary file not shown.
Binary file modified resources/keyword_files/ios/porcupine_ios.ppn
Binary file not shown.
Binary file modified resources/keyword_files/ios/terminator_ios.ppn
Binary file not shown.
Binary file modified resources/keyword_files/linux/alexa_linux.ppn
Binary file not shown.
Binary file modified resources/keyword_files/linux/americano_linux.ppn
Binary file not shown.
Binary file modified resources/keyword_files/linux/blueberry_linux.ppn
Binary file not shown.
Binary file modified resources/keyword_files/linux/bumblebee_linux.ppn
Binary file not shown.
Binary file modified resources/keyword_files/linux/computer_linux.ppn
Binary file not shown.
Binary file modified resources/keyword_files/linux/grapefruit_linux.ppn
Binary file not shown.
Binary file modified resources/keyword_files/linux/grasshopper_linux.ppn
Binary file not shown.
Binary file modified resources/keyword_files/linux/jarvis_linux.ppn
Binary file not shown.
Binary file modified resources/keyword_files/linux/picovoice_linux.ppn
Binary file not shown.
Binary file modified resources/keyword_files/linux/porcupine_linux.ppn
Binary file not shown.
Binary file modified resources/keyword_files/linux/smart mirror_linux.ppn
Binary file not shown.
Binary file modified resources/keyword_files/linux/snowboy_linux.ppn
Binary file not shown.
Binary file modified resources/keyword_files/linux/terminator_linux.ppn
Binary file not shown.
Binary file modified resources/keyword_files/linux/view glass_linux.ppn
Binary file not shown.
Binary file modified resources/keyword_files/mac/americano_mac.ppn
Binary file not shown.
Binary file modified resources/keyword_files/mac/blueberry_mac.ppn
Binary file not shown.
Binary file modified resources/keyword_files/mac/bumblebee_mac.ppn
Binary file not shown.
Binary file modified resources/keyword_files/mac/grapefruit_mac.ppn
Binary file not shown.
Binary file modified resources/keyword_files/mac/grasshopper_mac.ppn
Binary file not shown.
Binary file modified resources/keyword_files/mac/picovoice_mac.ppn
Binary file not shown.
Binary file modified resources/keyword_files/mac/porcupine_mac.ppn
Binary file not shown.
Binary file modified resources/keyword_files/mac/terminator_mac.ppn
Binary file not shown.
Binary file modified resources/keyword_files/raspberry-pi/americano_raspberry-pi.ppn
Binary file not shown.
Binary file modified resources/keyword_files/raspberry-pi/blueberry_raspberry-pi.ppn
Binary file not shown.
Binary file modified resources/keyword_files/raspberry-pi/bumblebee_raspberry-pi.ppn
Binary file not shown.
Binary file modified resources/keyword_files/raspberry-pi/grapefruit_raspberry-pi.ppn
Binary file not shown.
Binary file modified resources/keyword_files/raspberry-pi/grasshopper_raspberry-pi.ppn
Binary file not shown.
Binary file modified resources/keyword_files/raspberry-pi/picovoice_raspberry-pi.ppn
Binary file not shown.
Binary file modified resources/keyword_files/raspberry-pi/porcupine_raspberry-pi.ppn
Binary file not shown.
Binary file modified resources/keyword_files/raspberry-pi/terminator_raspberry-pi.ppn
Binary file not shown.
Binary file modified resources/keyword_files/wasm/americano_wasm.ppn
Binary file not shown.
Binary file modified resources/keyword_files/wasm/blueberry_wasm.ppn
Binary file not shown.
Binary file modified resources/keyword_files/wasm/bumblebee_wasm.ppn
Binary file not shown.
Binary file modified resources/keyword_files/wasm/crimson_wasm.ppn
Binary file not shown.
Binary file modified resources/keyword_files/wasm/deep pink_wasm.ppn
Binary file not shown.
Binary file modified resources/keyword_files/wasm/deep sky blue_wasm.ppn
Binary file not shown.
Binary file modified resources/keyword_files/wasm/dim gray_wasm.ppn
Binary file not shown.
Binary file modified resources/keyword_files/wasm/fire brick_wasm.ppn
Binary file not shown.
Binary file modified resources/keyword_files/wasm/forest green_wasm.ppn
Binary file not shown.
Binary file modified resources/keyword_files/wasm/grapefruit_wasm.ppn
Binary file not shown.
Binary file modified resources/keyword_files/wasm/grasshopper_wasm.ppn
Binary file not shown.
Binary file modified resources/keyword_files/wasm/hey edison_wasm.ppn
Binary file not shown.
Binary file modified resources/keyword_files/wasm/hot pink_wasm.ppn
Binary file not shown.
Binary file modified resources/keyword_files/wasm/lavender blush_wasm.ppn
Binary file not shown.
Binary file modified resources/keyword_files/wasm/lime green_wasm.ppn
Binary file not shown.
Binary file modified resources/keyword_files/wasm/magenta_wasm.ppn
Binary file not shown.
Binary file modified resources/keyword_files/wasm/midnight blue_wasm.ppn
Binary file not shown.
Binary file modified resources/keyword_files/wasm/navy blue_wasm.ppn
Binary file not shown.
Binary file modified resources/keyword_files/wasm/papaya whip_wasm.ppn
Binary file not shown.
Binary file modified resources/keyword_files/wasm/peach puff_wasm.ppn
Binary file not shown.
Binary file modified resources/keyword_files/wasm/picovoice_wasm.ppn
Binary file not shown.
Binary file modified resources/keyword_files/wasm/porcupine_wasm.ppn
Binary file not shown.
Binary file modified resources/keyword_files/wasm/sandy brown_wasm.ppn
Binary file not shown.
Binary file modified resources/keyword_files/wasm/terminator_wasm.ppn
Binary file not shown.
Binary file modified resources/keyword_files/wasm/white smoke_wasm.ppn
Binary file not shown.
Binary file modified resources/keyword_files/windows/americano_windows.ppn
Binary file not shown.
Binary file modified resources/keyword_files/windows/blueberry_windows.ppn
Binary file not shown.
Binary file modified resources/keyword_files/windows/bumblebee_windows.ppn
Binary file not shown.
Binary file modified resources/keyword_files/windows/grapefruit_windows.ppn
Binary file not shown.
Binary file modified resources/keyword_files/windows/grasshopper_windows.ppn
Binary file not shown.
Binary file modified resources/keyword_files/windows/picovoice_windows.ppn
Binary file not shown.
Binary file modified resources/keyword_files/windows/porcupine_windows.ppn
Binary file not shown.
Binary file modified resources/keyword_files/windows/terminator_windows.ppn
Binary file not shown.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"""
#[Porcupine](https://github.com/Picovoice/porcupine).
It supports Linux (x86_64), Mac, Raspberry Pi (Zero, 1, 2, 3, 4), and BeagleBone.
It supports Ubuntu (x86_64), Mac (x86_64), Raspberry Pi (Zero, 1, 2, 3, 4) running Raspbian, and BeagleBone.
## Installation
Expand Down Expand Up @@ -86,7 +86,7 @@

setuptools.setup(
name="pvporcupine",
version="1.7.0",
version="1.8.1",
author="Picovoice",
author_email="hello@picovoice.ai",
description="On-device wake word detection powered by deep learning.",
Expand Down

0 comments on commit f9898f3

Please sign in to comment.