react-native-wakeword 1.0.66 → 1.0.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +110 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,16 @@
1
+ # React-Native "wake word" by Davoice
2
+
3
+ ## React-Native "wake word" also known as "react-native hotword", "react-native trigger word”, "react-native phrase spotting” and more...
4
+
5
+ By [DaVoice.io](https://davoice.io)
6
+
7
+ [![Twitter URL](https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Ftwitter.com%2FDaVoiceAI)](https://twitter.com/DaVoiceAI)
8
+
9
+ Welcome to **Davoice React-Native Wake Word / hotword / Keywords Detection** – Wake words and keyword detection solution designed by **DaVoice.io**.
10
+
1
11
  ## About this package:
2
12
 
3
- This is a **"wake word"** package for React Native. A wake word is a keyword that activates your device, like "Hey Siri" or "OK Google". "Wake Word" is also known as "keyword detection", "Phrase Recognition", "Phrase Spotting", “Voice triggered”, “hot word”, “trigger word”
13
+ This is a **"wake word"** package for React Native. A "wake word" is a keyword that activates your device, like "Hey Siri" or "OK Google". "Wake Word" is also known as "keyword detection", "Phrase Recognition", "Phrase Spotting", “Voice triggered”, “hot word”, “trigger word”
4
14
 
5
15
  It also provide **Speech to Intent**. **Speech to Intent** refers to the ability to recognize a spoken word or phrase
6
16
  and directly associate it with a specific action or operation within an application. Unlike a **"wake word"**, which typically serves to activate or wake up the application,
@@ -13,7 +23,93 @@ Speech to Intent is often triggered after a wake word activates the app, making
13
23
  component of more advanced voice-controlled applications. This layered approach allows for
14
24
  seamless and intuitive voice-driven user experiences.
15
25
 
16
- Contact us at info@DaVoice.io
26
+ More questions? - Contact us at info@DaVoice.io
27
+
28
+ ## Features
29
+
30
+ - **High Accuracy:** We have succesfully reached over 99% accurary for all our models. **Here is on of our customer's benchmarks**:
31
+
32
+ ```
33
+ MODEL DETECTION RATE
34
+ ===========================
35
+ DaVoice 0.992481
36
+ Top Player 0.874812
37
+ Third 0.626567
38
+ ```
39
+
40
+ - **Easy to deploy wake word with React Native:** Check out our example: "rn_example/DetectingKeyWords.js". With a few simple lines of code, you have your own keyword detecting enabled app.
41
+ - **Cross-Platform Support:** Integrate Davoice KeywordsDetection into React-Native Framework. Both iOS and Android are supported.
42
+ - **Low Latency:** Experience near-instantaneous keyword detection.
43
+
44
+ ## Platforms and Supported Languages
45
+
46
+ - **React-Native wake word Android:** React Native Wrapper for Android.
47
+ - **React-Native wake word iOS:** React Native Wrapper for iOS.
48
+
49
+ # Wake word generator
50
+
51
+ ## Create your "custom wake word""
52
+
53
+ In order to generate your custom wake word you will need to:
54
+
55
+ - **Create wake word mode:**
56
+ Contact us at info@davoice.io with a list of your desired **"custom wake words"**.
57
+
58
+ We will send you corresponding models typically your **wake word phrase .onnx** for example:
59
+
60
+ A wake word ***"hey sky"** will correspond to **hey_sky.onnx**.
61
+
62
+ - **Add wake words to Android:**
63
+ Simply copy the new onnx files to:
64
+
65
+ android/app/src/main/assets/*.onnx
66
+
67
+ - **Add Wake word to IOS**
68
+ Copy new models somewhere under ios/YourProjectName.
69
+
70
+ You can create a folder ios/YourProjectName/models/ and copy there there.
71
+
72
+ Now add each onnx file to xcode making sure you opt-in “copy if needed”.
73
+
74
+ - **In React/JS code add the new onnx files to your configuration**
75
+
76
+ Change:
77
+
78
+ ```
79
+ // Create an array of instance configurations
80
+
81
+ const instanceConfigs:instanceConfig[] = [
82
+
83
+ { id: 'need_help_now', modelName: 'need_help_now.onnx', threshold: 0.9999, bufferCnt: 3 , sticky: false },
84
+
85
+ ];
86
+
87
+ To:
88
+
89
+ // Create an array of instance configurations
90
+
91
+ const instanceConfigs:instanceConfig[] = [
92
+
93
+ { id: 'my_wake_word', modelName: 'my_wake_word.onnx', threshold: 0.9999, bufferCnt: 3 , sticky: false },
94
+
95
+ ];
96
+
97
+ For example if your generated custom wake word" is "hey sky":
98
+
99
+ // Create an array of instance configurations
100
+
101
+ const instanceConfigs:instanceConfig[] = [
102
+
103
+ { id: 'hey sky', modelName: 'hey_sky.onnx', threshold: 0.9999, bufferCnt: 3 , sticky: false },
104
+
105
+ ];
106
+ ```
107
+
108
+ - **Last step - Rebuild your project**
109
+
110
+ ## Contact
111
+
112
+ For any questions, requirements, or more support for React-Native, please contact us at info@davoice.io.
17
113
 
18
114
  # IOS and Android Package
19
115
 
@@ -52,14 +148,14 @@ https://github.com/frymanofer/ReactNative_WakeWordDetection/example_npm
52
148
 
53
149
  ### What is a wake word?
54
150
 
55
- A wake word is a keyword that activates your device, like "Hey Siri" or "OK Google".
151
+ A **"wake word"** is a keyword or phrase that activates your device, like "Hey Siri" or "OK Google". "Wake Word" is also known as "keyword detection", "Phrase Recognition", "Phrase Spotting", “Voice triggered”, “hot word”, “trigger word”...
56
152
 
57
153
  ### What is a Speech to Intent?
58
154
 
59
- Speech to Intent refers to the ability to recognize a spoken word or phrase
155
+ **"Speech to Intent"** refers to the ability to recognize a spoken word or phrase
60
156
  and directly associate it with a specific action or operation within an application.
61
157
 
62
- Unlike a "wake word," which typically serves to activate or wake up the application,
158
+ Unlike a **"wake word"**, which typically serves to activate or wake up the application,
63
159
  Speech to Intent goes further by enabling complex interactions and functionalities
64
160
  based on the recognized intent behind the speech.
65
161
 
@@ -72,7 +168,15 @@ seamless and intuitive voice-driven user experiences.
72
168
 
73
169
  ### How accurate is the platform?
74
170
 
75
- Our platform ensures 99.99%+ accuracy in various environments.
171
+ We have succesfully reached over 99% "wake word" accurary for all our models. **Here is on of our customer's benchmarks**:
172
+
173
+ ```
174
+ MODEL DETECTION RATE
175
+ ===========================
176
+ DaVoice 0.992481
177
+ Top Player 0.874812
178
+ Third 0.626567
179
+ ```
76
180
 
77
181
  ### Key words
78
182
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-wakeword",
3
- "version": "1.0.66",
3
+ "version": "1.0.67",
4
4
  "description": "Voice/Wake-word detection library for React Native",
5
5
  "main": "wakewords/index.js",
6
6
  "types": "wakewords/index.d.ts",