Giter VIP home page Giter VIP logo

hey_raspi's Introduction

hey_raspi

音声操作BOT
Siriのようなもの
音声で命令すると実行してくれる

Ruby

2.3.0

Tools

OpenWeatherMap API
Julius

COMMANDS

現在実装されている命令

  • ヘイラズパイ
    命令受け付けモードにする(この命令の後に以下の命令を言う)
  • 今日の天気は?
    現在時刻以降の天気の情報(雨が降るか否か)を教えてくれる
  • 明日の天気は?
    明日の天気の情報(雨が降るか否か)を教えてくれる

HOW TO

サンプルをもとに.secret.yamlを作成.
CITY_IDこちらのjsonファイル(約4MB)で確認.

$ bundle install
$ sh ./julius-server.sh &   # 別のターミナルで実行でも可
$ ruby main.rb

動作確認

(IN:ユーザの発言,OUT:システムの発言)
IN 「ヘイラズパイ」
OUT 「pon-pon」
IN 「今日の天気は?」(5秒以内に)
OUT 「今日の天気は...」

hey_raspi's People

Contributors

johshisha avatar

Watchers

James Cloos avatar

hey_raspi's Issues

RaspberryPiにのせる

WHY

現在,テスト開発のためローカル(Mac)での動作確認しかできていない
本番(RaspberryPi)で動作させる

HOW

  • マイクの動作確認
  • スピーカの動作確認
  • 互換性の検証

Juliusで音声認識

WHY

常時音声認識しておいて「Hey, raspi!」を認識したら録音開始できるようにしたい.
そのためにまず Python Ruby から音声を認識して出力する.

HOW

Juliusサーバを立ち上げて Python Ruby とソケット通信し音声&結果をやりとり

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.