AnupKumarPanwar / susi_linux

Hardware for SUSI AI http://susi.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Susi Linux

Build Status Join the chat at https://gitter.im/fossasia/susi_hardware Dependency Status

SUSI AI on Linux

This project aims at creating an implementation of Susi, capable to run on Linux Devices in a headless mode. It will enable you to bring Susi AI intelligence to all devices you may think like a Speaker, Car etc.

Current Status

  • Voice Detection working with Google Speech API/ IBM Watson Speech to Text API.
  • Voice Output working with Google TTS/ IBM Watson TTS/ Flite TTS.
  • Susi AI response working through Susi AI API Python Wrapper(https://github.com/fossasia/susi_api_wrapper)
  • Hotword Detection works for hotword 'Susi'
  • SUSI Wake Button in Raspberry Pi is working.
  • Audio parsing working through SOX
  • Youtube audio working through tizonia(http://tizonia.org/)
  • Connection between the mobile devices and the smart speaker is done through ssh by using Access Point Mode

Roadmap

  • Offline Voice Detection (if possible with satisfactory results)
  • Configuring led lights in accordance with SUSI.AI response
  • Make Update Daemon check for the updates at regular intervals
  • Create an automated workflow which sets up the initialisation through the mobile app

Setting up Susi on Linux

Setting up Susi on Linux is pretty easy.

Minimum Requirements

  • A hardware device capable to run Linux. It includes development boards like Raspberry Pi and other generic machines.
  • A Debian based Linux Distribution. Tested on
    • Raspbian on Raspberry Pi 3
    • Ubuntu 64bit on x64 architecture
  • A microphone for input. If you are using a development board like Raspberry Pi which does not have microphone inbuilt, you can use a USB Microphone.
  • A Speaker for Output. On development boards like Raspberry Pi, you can use a portable speaker that connects through 3.5mm audio jack.

Installation on Raspberry Pi

For installation on Raspberry Pi, read Raspberry Pi setup guide.

Installing on Ubuntu and other Debian based distributions

For installation on Ubuntu and other Debian based distributions, read Ubuntu Setup Guide

Update Daemon

Use the folllowing commands.

  • cd update_daemon/
  • ./update_daemon.sh

Factory Reset

To initiate the factory reset command.
Use the folllowing commands.

  • cd factory_reset/
  • chmod +x factory_reset.sh
  • ./factory_reset.sh

Setting Up the access point mode

To allow the raspberry Pi to behave as an access point

  • Execute the wap.sh script by ./wap.sh
  • To convert RasPi back to normal mode use ./rwap.sh

About

Hardware for SUSI AI http://susi.ai

License:Apache License 2.0


Languages

Language:Python 82.3%Language:Shell 17.7%