##Simple Auditory and Visual System Needs for OpenCog

##Introduction

This package is built with the intention of addressing the following user requirements. ###Audio

  1. Sudden Change Detection

To make the robot detect significant changes -audio. e.g some one yelling at the robot all of the sudden. 2. Sound Classification
Classifying each chunk of sound as quite, normal conversation, shouted conversation, very loud sound like gunshot. 3. Sex Perception
Detecting speaker's Gender based on thier audio utterance. 4. Speakers Counting
Detecting the number of speakers/talking folks from real-time gathered audio data. 5. Speakers Speed
Answers how fast is the person Talking

###Visual

  1. Visibility Checkup

Check the amount of light in a given room. e.g In the case of dark room, informing the system about the situation and interacting w/ the user in based on the context (like i can't see you, some one is blocking me, bla bla). 2. Room Silence
Detect how placid/chaotic the room is. 3. Room Occupation
To answer questions such as any available subject in the room lately? How many?

##Requirements and Setup

  • Middle ware - ROS/indigo
  • Dev. Language - Python v2.7/rospy
  • Audio Package - PyAudiov0.2.9
  • Vison Package - Opencv v2.4.13

Install them using the following shell script
`cd && bash git_folder/env_setup.sh`

##Building


`cd your_work_space && source devel/setup.bash`

##Usage

###Topics

  1. /opencog/decibels
  • message type:
  • Value:
  1. /opencog/suddenchange
  • message type:
  • Value:
  1. /opencog/roomlight
  • message type:
  • Value:
  1. /opencog/roomoccupation
  • message type:
  • Value:
  1. /opencog/roomsilence
  • message type:
  • Value:
  1. /opencog/sex
  • message type:
  • Value:
  1. /opencog/speakersNo
  • message type:
  • Value:

##Troubleshooting

TBW

##FAQ

TBW

##Auto-Test TBW ##Reference

##Employed Techniques and Algorithms

##Limitations and Feature works

###Audio System Needs

The audio related features are tested based on two audio sources. Hence, some code rearrangement shall be done to make it work on the real robot.

###Visual System Needs

The room occupation and silence nodes are based on the size and number of contours on filtered and background subtracted images. The nearer the ROI the higher its impact is. (e.g. man waving his hand near to the front camera). Hence, incorporating depth data of ROI's should be the next task here.