Giter VIP home page Giter VIP logo

speech-recognition_practice's Introduction

speech-recognition_practice

source : https://github.com/Uberi/speech_recognition

実行環境

  • OS: windows 10
  • python 3.5.4
  • pocketsphinx を利用する場合は、python 3.5 まで
  • Google Speech Recognition は、python 3.7 でも動くが PyAudio 最新の.whl ファイルを直接ダウンロードして pip でインストールする必要がある

python 3.5.4

必要なパッケージ (SpeechRecognition, pyaudio, pocketsphinx )

  • pip install SpeechRecognition
  • pip install pyaudio
  • pip install pocketsphinx

python 3.7 で動かす場合

  • PyAudio 最新の.whl ファイルを直接ダウンロードして pip でインストール
  • python -m pip install .\PyAudio-0.2.11-cp37-cp37m-win_amd64.whl
  • 「python -m pip show pyaudio」で NumPy 等と同じ場所にちゃんとインストールされているかを確認

https://watlab-blog.com/2019/05/21/pyaudio-install/

現状

  • ノイズのない wav ファイルだとうまくいく

  • 自分のマイクから話したデータではとうまく認識しない(ノイズが多いのかも)

  • google は多少使える

  • 日本語対応は google のみ

  • listen フェーズと recognition フェーズの両方とも反応が遅いため、リアルタイムでは使えない

  • うまく認識しない場合は、正規表現を使うのもあり

参考ページ

https://qiita.com/daiarg/items/ff1b9f91d0804e6a8f18

speech-recognition_practice's People

Contributors

karupagyu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.