This repository has been archived on 2025-08-26. You can view files and clone it, but cannot push or open issues or pull requests.
Files
enginex-mr_series-sherpa-onnx/flutter-examples/streaming_asr/pubspec.yaml
Fangjun Kuang a25075101c Build sherpa-onnx as a single shared library (#1078)
When `-D BUILD_SHARED_LIBS=ON` is passed to `cmake`, it builds a single shared library.

Specifically, 

- For C APIs, it builds `libsherpa-onnx-c-api.so`
- For Python APIs, it builds `_sherpa_onnx.cpython-xx-xx.so`
- For Kotlin and Java APIs, it builds `libsherpa-onnx-jni.so`

There is no `libsherpa-onnx-core.so` any longer.

Note it affects only shared libraries.
2024-07-06 16:41:54 +08:00

49 lines
879 B
YAML

name: streaming_asr
description: >
This example shows how to implement real-time speech recognition using sherpa-onnx.
publish_to: 'none'
version: 1.10.10
topics:
- speech-recognition
issue_tracker: https://github.com/k2-fsa/sherpa-onnx/issues
repository: https://github.com/k2-fsa/sherpa-onnx/tree/master/sherpa-onnx/flutter
environment:
sdk: '>=3.4.0 <4.0.0'
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.6
path_provider: ^2.1.3
path: ^1.9.0
# Note: record does not support Linux for streaming ASR
record: ^5.1.0
url_launcher: ^6.2.6
sherpa_onnx: ^1.10.10
# sherpa_onnx:
# path: ../../flutter/sherpa_onnx
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^3.0.0
flutter:
uses-material-design: true
assets:
- assets/
# - assets/sherpa-onnx-streaming-zipformer-bilingual-zh-en-2023-02-20/