Get Started with a Speech Recognition demo in the Intel® Distribution of OpenVINO™ toolkit

签署人: Marcia Wilbur

已发布:04/05/2020   最后更新时间:04/05/2020

The Intel® Distribution of OpenVINO™ toolkit release 2020 r1 includes a new demo for speech recognition.

This release provides a set of libraries and demos to demonstrate end-to-end speech recognition. OpenVINO™ also provides new acoustic and language models to work with these demos. A full end-to-end speech processing scenario is covered and demonstrated by libraries and tools distributed with OpenVINO™.

The Speech Library wraps all of the processing blocks and exposes a simple API. The library takes care of proper initialization and data passing between all the components in the pipeline.

Speech Library contains:

  • Two core binary libraries, Intel® Feature Extraction library and Intel® Speech Decoder (in lib dir),
  • Speech library source code (in the src dir),
  • Speech library header files (in the include dir). The library API is in the file speech_library.h. To compile the libraries, please run a script (.sh file) in the root directory of the speech libraries and demos, or run the demonstration script (<INSTALL_DIR>/deployment_tools/demo/


There is a demo in the following directory:


This name of the demo is to run is: 

This demo runs the following:

  • Initializes the environment 
  • Downloads speech models (approx 10 minutes depending on your network)
    • Models and size

The demo calls on the speech recognition models set built using Kaldi* s5 NNET1 recipe. The files are located at:


This article offers guidance to run the speech demo available in 2020 r1 of Intel® Distribution of OpenVINO™ toolkit.


  • Intel® Distribution of OpenVINO™ toolkit 2020 r1 installed
  • Ubuntu* 18.04 (kernel 5+)
  • Audio capabilities 
  • Familiarity with Linux* commands


Speech recognition models set is built using Kaldi s5 NNET1 recipe. 

Run the demo

Change Directory

To run the demo change directory to the demo directory by running the command:

cd /opt/intel/openvino/deployment_tools/demo

Run Script

Run the script for the speech recognition demo:



cli results

Python run results

After the demo completed successfully, some python scripts ran and this tool displayed for use.

speech tool

More information about the models used for speech recognition

Find the folllowing information in the lspeech_s5_ext.yaml file.

name: lspeech_s5_ext
    description: >-
      This is a speech recognition models set built using Kaldi s5 NNET1 recipe.
    output: intel/lspeech_s5_ext
    task_type: detection
  - name: lspeech_s5_ext
    description: >-
      This is a speech recognition models set built using Kaldi s5 NNET1 recipe.
    output: intel/lspeech_s5_ext
    task_type: detection
      - name: FP32/speech_recognition_config.template
        size: 1267
        sha256: 6cd4897386b939e571a8c9b9720f21101b3b8aff9dd9796e81f49cd898d14543
      - name: FP32/lspeech_s5_ext.feature_transform
        size: 3056
        sha256: 074925603942d662f95ce9d5a1eb29b8b933d3dd98371285b1af9437da4c46b2
      - name: FP32/lspeech_s5_ext.xml
        size: 5329
        sha256: a97ed9f37dd9ad75b9ce86e95742117535b0f6493c4df6d3c616cfbb862e5300
      - name: FP32/lspeech_s5_ext.bin
        size: 26764224
        sha256: bf35171ceb79c0c15484d236be6778492056fd1c1dbf4a27bbbf6902a839294a
      - name: FP32/hclg.fst
        size: 946851404
        sha256: 140f4b07482809d3dfcb6c5009b99af7f4f4b2ca0d1093e7a758142472fe9091
      - name: FP32/labels.bin
        size: 2537784
        sha256: de101e4e7926cfa3fb84469cb3f9c92d8230876321995a7aa662c555126f250c
    framework: dldt

Learn More

Speech Library and Speech Recognition Demos

Speech Sample









英特尔的编译器针对非英特尔微处理器的优化程度可能与英特尔微处理器相同(或不同)。这些优化包括 SSE2、SSE3 和 SSSE3 指令集和其他优化。对于在非英特尔制造的微处理器上进行的优化,英特尔不对相应的可用性、功能或有效性提供担保。该产品中依赖于微处理器的优化仅适用于英特尔微处理器。某些非特定于英特尔微架构的优化保留用于英特尔微处理器。关于此通知涵盖的特定指令集的更多信息,请参阅适用产品的用户指南和参考指南。

通知版本 #20110804