Practical overview
When it fits
Use Fastasr when you need an embeddable inference library and can select between sentence-based recognition and streaming results. Its documented ARM example makes it relevant for developers evaluating speech recognition on Raspberry Pi 4B.
Who it is for
- C++ developers adding speech-to-text inference to an application.
- Python developers using the documented PyFastASR module.
- Developers considering local inference on ARM hardware such as Raspberry Pi 4B.
Documented uses
- Transcribe speech in sentence-based batches with a non-streaming model.
- Process incoming speech and return recognition results through the streaming model.
- Handle longer audio with non-streaming models using VAD.
Requirements & limits
The public repository specifies an Apache-2.0 license. The README documents a Python package and source-build paths; no hosted service is described.
- The streaming conformer_online model returns results from speech input in real time; the README notes an accuracy trade-off against non-streaming models.
- The three non-streaming models operate sentence by sentence and are described as less immediate but more accurate; VAD is documented for longer audio.
- The listed model languages are Chinese and English for Paraformer, and Chinese for k2_rnnt2, conformer and conformer_online.
- The README lists libfftw3 and libopenblas as third-party dependencies and says inference does not depend on PaddlePaddle, PyTorch or TensorFlow.
- The README documents Python package support for CPython 3.6–3.11 on listed platforms, with source compilation for other platforms.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Build FastASR from source on Linux
Compile the FastASR C++ project on Linux.
Before you start
- Linux environment
- libfftw3 and libopenblas development libraries
- Python 3 and Python development files
Steps
Install the dependencies:
sudo apt-get install libfftw3-dev libfftw3-single3.Install OpenBLAS and Python development packages:
sudo apt-get install libopenblas-devandsudo apt-get install python3 python3-dev.Clone the repository with the command below.
git clone https://github.com/chenkui164/FastASR.gitBuild the C++ project:
cd FastASR/,mkdir build,cd build,cmake -DCMAKE_BUILD_TYPE=Release .., thenmake.
Expected outcome
The README’s Linux build procedure produces a compiled FastASR project; it also describes a separate command for building a Python wheel.
Guide limitations
- This procedure covers building, not running inference or integrating a model.
- The README does not specify additional Linux distributions or build troubleshooting.
Build a FastASR Python wheel from source on Linux
Create a Python wheel after obtaining the FastASR source and installing its build dependencies.
Before you start
- Linux environment
- FastASR source cloned as described in the Linux build guide
- Python 3 and Python development files, plus libfftw3 and libopenblas development libraries
Steps
From the repository root, run the command below.
python -m buildUse the built wheel as the package artifact; the README separately documents direct installation with the command below.
pip install fastasr
Expected outcome
A Python wheel is built from the source tree.
Guide limitations
- The README does not provide wheel installation steps for the locally built artifact or Python usage examples in the documented section.
- This procedure does not cover inference execution.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 15 October 2026
- Original website title
- chenkui164/FastASR · Official homepage title · retained in its source language

