Picovoice.Cheetah
2.1.1
dotnet add package Picovoice.Cheetah --version 2.1.1
NuGet\Install-Package Picovoice.Cheetah -Version 2.1.1
<PackageReference Include="Picovoice.Cheetah" Version="2.1.1" />
paket add Picovoice.Cheetah --version 2.1.1
#r "nuget: Picovoice.Cheetah, 2.1.1"
// Install Picovoice.Cheetah as a Cake Addin #addin nuget:?package=Picovoice.Cheetah&version=2.1.1 // Install Picovoice.Cheetah as a Cake Tool #tool nuget:?package=Picovoice.Cheetah&version=2.1.1
Cheetah Speech-to-Text Demos
Made in Vancouver, Canada by Picovoice
Cheetah
Cheetah is an on-device streaming speech-to-text engine. Cheetah is:
- Private; All voice processing runs locally.
- Accurate
- Compact and Computationally-Efficient
- Cross-Platform:
- Linux (x86_64), macOS (x86_64, arm64), and Windows (x86_64, arm64)
- Android and iOS
- Chrome, Safari, Firefox, and Edge
- Raspberry Pi (3, 4, 5)
Requirements
- .NET 8.0
Compatibility
- Linux (x86_64)
- macOS (x86_64)
- Windows (x86_64, arm64)
- Raspberry Pi:
- 3 (32 and 64 bit)
- 4 (32 and 64 bit)
- 5 (32 and 64 bit)
Installation
Both demos use Microsoft's .NET Core framework.
Build with the dotnet CLI:
dotnet build -c MicDemo.Release
dotnet build -c FileDemo.Release
AccessKey
Cheetah requires a valid Picovoice AccessKey
at initialization. AccessKey
acts as your credentials when using Cheetah SDKs.
You can get your AccessKey
for free. Make sure to keep your AccessKey
secret.
Signup or Login to Picovoice Console to get your AccessKey
.
Usage
NOTE: File path arguments must be absolute paths. The working directory for the following dotnet commands is:
Cheetah/demo/dotnet/CheetahDemo
File Demo
Run the following in the terminal:
dotnet run -c FileDemo.Release -- \
--input_audio_path ${AUDIO_PATH} \
--access_key ${ACCESS_KEY} \
Replace ${ACCESS_KEY}
with yours obtained from Picovoice Console and ${AUDIO_PATH}
with a path to an audio file you wish to transcribe.
Microphone Demo
You need a working microphone connected to your machine for this demo. Run the following in the terminal:
dotnet run -c MicDemo.Release -- \
--access_key ${ACCESS_KEY} \
It is possible that the default audio input device is not the one you wish to use. There are a couple of debugging facilities baked into the demo application to solve this. First, type the following into the console:
dotnet run -c MicDemo.Release -- --show_audio_devices
It provides information about various audio input devices on the box. This is an example of the output:
index: 0, device name: USB Audio Device
index: 1, device name: MacBook Air Microphone
You can use the device index to specify which microphone to use for the demo. For instance, if you want to use the USB Audio Device in the above example, you can invoke the demo application as below:
dotnet run -c MicDemo.Release -- \
--access_key ${ACCESS_KEY} \
--audio_device_index 0
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 is compatible. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.0
- No dependencies.
-
.NETStandard 2.0
- No dependencies.
-
net6.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.