# 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:

  - https://www.bilibili.com/video/BV1K44y197Fg/
  - https://www.youtube.com/watch?v=74SxVueROok

## 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>
