Skip to content

Latest commit

 

History

History
 
 

python-api-examples

Introduction

Please refer to https://k2-fsa.github.io/sherpa/ncnn/python/index.html for how to build a Python package.

decode-file.py

This file shows how to recognize a file.

speech-recognition-from-microphone.py

This file demonstrates how to do real-time speech recognition with a microphone.

You can find video demos about this file at the following addresses:

speech-recognition-from-microphone-with-endpoint-detection.py

Similar to speech-recognition-from-microphone.py but it also enables endpoint detection.

You can find a video demo about this file at https://www.bilibili.com/video/BV1eK411y788