IRIS: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
= X Theses (Ten Theses) on Life Hack= | = X Theses (Ten Theses) on Life Hack= | ||
=Life Hack Agent: IRIS= | =Life Hack Agent: IRIS= | ||
==What is IRIS== | |||
Iris 0.5 is a smart machine that interacts with you via audio, camera and visual effects. It aims to be installed in a workplace environment. Iris has 3 characters: guru, pirate and announcer. The files follow this nomination. | |||
== THE FILES == | |||
* The .json files (“guru.json”, “rebel.json” and “announcer.json”) are the files where all the sentences the characters say are stored. | |||
* The script “guru-pirate.py” is the script that combines content of guru and pirate (from json files) to play their messages. It also integrates LEDs when the characters speak. When characters speak the LEDs light up and perform effects. This script runs when the camera detects motion. | |||
* The script "motion_detector_2.py" is used to detect motion from camera connected to raspberry pi. | |||
* The script "announcements.py" plays the messages of the Announcer (from json file) | |||
* The credits for this project are under the script “colophon.py”, they are read out loud with espeak when covering the camera with a finger for a few seconds. | |||
* “Motion.sh” is the script from where you bring everything to life. Just run ./motion.sh on your terminal. | |||
== INSTALL INDEPENDENCIES == | |||
* 2018-12-12 | |||
* Performed in linux Debian | |||
* Raspberry Pi 3 B+ | |||
* Pi Camera v2.1 | |||
* LEDs — WS2801B RGB LED Streifen Farbeffekte | |||
# Install Pip | |||
<code>sudo apt-get update | |||
sudo apt-get install python-pip</code> | |||
# Check python2 version | |||
<code>python --version</code> | |||
# Check pip version | |||
<code>pip --version</code> | |||
# Properly install Setuptools module | |||
<code>sudo apt-get install python-dev python-setuptools</code> | |||
# Install opencv dependencies with pip | |||
<code>sudo pip install opencv-python</code> | |||
# Install imutils dependencies with pip | |||
<code>sudo pip install imutils</code> | |||
# Install Pillow dependencies with pip | |||
<code>sudo pip install Pillow</code> | |||
# Install espeak (to play the pirate) | |||
<code>sudo apt-get install espeak</code> | |||
# Install aplay (to play the colophon) | |||
<code>sudo apt-get install aplay</code> | |||
# Install sox (to play the colophon) | |||
<code>sudo apt-get install sox</code> | |||
==How to run the IRIS== | ==How to run the IRIS== | ||
Revision as of 14:57, 12 December 2018
X Theses (Ten Theses) on Life Hack
Life Hack Agent: IRIS
What is IRIS
Iris 0.5 is a smart machine that interacts with you via audio, camera and visual effects. It aims to be installed in a workplace environment. Iris has 3 characters: guru, pirate and announcer. The files follow this nomination.
THE FILES
- The .json files (“guru.json”, “rebel.json” and “announcer.json”) are the files where all the sentences the characters say are stored.
- The script “guru-pirate.py” is the script that combines content of guru and pirate (from json files) to play their messages. It also integrates LEDs when the characters speak. When characters speak the LEDs light up and perform effects. This script runs when the camera detects motion.
- The script "motion_detector_2.py" is used to detect motion from camera connected to raspberry pi.
- The script "announcements.py" plays the messages of the Announcer (from json file)
- The credits for this project are under the script “colophon.py”, they are read out loud with espeak when covering the camera with a finger for a few seconds.
- “Motion.sh” is the script from where you bring everything to life. Just run ./motion.sh on your terminal.
INSTALL INDEPENDENCIES
* 2018-12-12 * Performed in linux Debian * Raspberry Pi 3 B+ * Pi Camera v2.1 * LEDs — WS2801B RGB LED Streifen Farbeffekte
- Install Pip
sudo apt-get update
sudo apt-get install python-pip
- Check python2 version
python --version
- Check pip version
pip --version
- Properly install Setuptools module
sudo apt-get install python-dev python-setuptools
- Install opencv dependencies with pip
sudo pip install opencv-python
- Install imutils dependencies with pip
sudo pip install imutils
- Install Pillow dependencies with pip
sudo pip install Pillow
- Install espeak (to play the pirate)
sudo apt-get install espeak
- Install aplay (to play the colophon)
sudo apt-get install aplay
- Install sox (to play the colophon)
sudo apt-get install sox
How to run the IRIS
Schedule
- 13/12: Launch
Pad
- https://pad.xpub.nl/p/life-hack-agent
- https://pad.xpub.nl/p/Life_Coach_Ideas
- https://pad.xpub.nl/p/life-hack-agent
- https://pad.xpub.nl/p/life-hack-agent-rebel
- https://pad.xpub.nl/p/Life_Coach_Appearence
- 2018-09-15 https://pad.xpub.nl/p/x-theses-on-life-hacks
- 2018-09-17 https://pad.xpub.nl/p/UNIX
- 2018-09-18 https://pad.xpub.nl/p/burnout-18.09.18
- 2018–09-25 https://pad.xpub.nl/p/burnout-25.09.18
- 2018-10–01 https://pad.xpub.nl/p/motivational-banners
- 2018-10-02 https://pad.xpub.nl/p/burnout-02.10.18
- 2018-10-03 https://pad.xpub.nl/p/2018-10-03
- 2018-10-11 https://pad.xpub.nl/p/burnout-11.10.18
- 2018-10-15 https://pad.xpub.nl/p/wiki-to-print
- 2018-10-22 https://pad.xpub.nl/p/22-10-2018
- 2018-11-07 https://pad.xpub.nl/p/07-11-2018
- 2018-11-13 https://pad.xpub.nl/p/life_hacks-13.11.18
- 2018-11-21 https://pad.xpub.nl/p/prototyping_21.11.18
- 2018-11-28 https://pad.xpub.nl/p/life-hacks-event