Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET RPI5 release #353

Merged
merged 3 commits into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:

strategy:
matrix:
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, jetson]
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:

strategy:
matrix:
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, jetson]
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson]

steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions binding/dotnet/Leopard/Leopard.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>net6.0;netcoreapp3.0;netstandard2.0</TargetFrameworks>
<Version>2.0.1</Version>
<Version>2.0.2</Version>
<Authors>Picovoice</Authors>
<Company/>
<Product>Leopard Speech-to-Text Engine</Product>
Expand All @@ -12,7 +12,7 @@
<RepositoryType>git</RepositoryType>
<PackageTags>Speech-to-Text, Speech Recognition, Voice Recognition, ASR</PackageTags>
<PackageReleaseNotes>See https://github.com/Picovoice/leopard/</PackageReleaseNotes>
<Copyright>Picovoice 2022-2023</Copyright>
<Copyright>Picovoice 2022-2024</Copyright>
<Description>
Leopard is an on-device speech-to-text engine. Leopard is:

Expand Down Expand Up @@ -132,4 +132,4 @@
<PackagePath></PackagePath>
</None>
</ItemGroup>
</Project>
</Project>
4 changes: 3 additions & 1 deletion binding/dotnet/Leopard/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public static string PvLinuxMachine()
case "0xd03": return "cortex-a53" + archInfo;
case "0xd07": return "cortex-a57" + archInfo;
case "0xd08": return "cortex-a72" + archInfo;
case "0xd0b": return "cortex-a76" + archInfo;
default:
throw new PlatformNotSupportedException($"This device (CPU part = {cpuPart}) is not supported by Picovoice.");
}
Expand All @@ -87,7 +88,8 @@ public static string PvLinuxEnv()
{
case "0xc07":
case "0xd03":
case "0xd08": return "raspberry-pi";
case "0xd08":
case "0xd0b": return "raspberry-pi";
case "0xd07": return "jetson";
default:
throw new PlatformNotSupportedException($"This device (CPU part = {cpuPart}) is not supported by Picovoice.");
Expand Down
2 changes: 1 addition & 1 deletion binding/dotnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Leopard is an on-device speech-to-text engine. Leopard is:
- Linux (x86_64), macOS (x86_64, arm64), and Windows (x86_64)
- Android and iOS
- Chrome, Safari, Firefox, and Edge
- Raspberry Pi (4, 3) and NVIDIA Jetson Nano
- Raspberry Pi (5, 4, 3) and NVIDIA Jetson Nano

## Requirements

Expand Down
6 changes: 3 additions & 3 deletions demo/dotnet/LeopardDemo/LeopardDemo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="PvRecorder" Version="1.2.4" />
<PackageReference Include="Leopard" Version="2.0.1" />
<PackageReference Include="PvRecorder" Version="1.2.5" />
<PackageReference Include="Leopard" Version="2.0.2" />
</ItemGroup>
</Project>
</Project>
5 changes: 3 additions & 2 deletions demo/dotnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Leopard is an on-device speech-to-text engine. Leopard is:
- Windows (x86_64)
- Android
- iOS
- Raspberry Pi (4, 3)
- Raspberry Pi (5, 4, 3)
- NVIDIA Jetson Nano

## Requirements
Expand All @@ -30,6 +30,7 @@ Leopard is an on-device speech-to-text engine. Leopard is:
- Raspberry Pi:
- 3 (32 and 64 bit)
- 4 (32 and 64 bit)
- 5 (32 and 64 bit)
- NVIDIA Jetson Nano

## Installation
Expand Down Expand Up @@ -100,4 +101,4 @@ 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
```
```
Loading