# Thymio X Twitter

## Artificial (emotional) Intelligence

Proof of concept

![Thymio](_assets/thymio.png)

---

# Content

1. Demo
2. Research
3. Principles
4. Concepts
5. Methodology
6. Details
7. Enhancements
8. Conclusion

---

# 1. Demo

- [GitHub Pages](https://elliotvaucher.github.io/thymio_twitter/)
- [GitHub Repo](https://github.com/elliotvaucher/thymio_twitter)
- [Vidéo Demo](https://files.modulo-info.ch/thymio_twitter.m4v)

---

# 2. Research questions

* Art with Thymio ? 
* Thymio and AI ?

---

# 3. Principles

* Thymio = thumos = emotions
* Thymio should have a "brain" (or heart)

---

# 4. Concepts

* "Intelligence" ~= Information processing
* Autonomy ~= Reacting to events in real-time
* Thymio already has "physical sensors"
* What if he could understand the meaning of words ?

---

# 5. Methodology 

* Botdnadamus (Tweepy + Giphy)
* Hacker's perspective (search / test / workaround)
* Python for Thymio + Tweepy + Textblob
* Praying it executes

---

# 6. Details

**Main function** 

* authenticating
* fetching tweets
* performing sentiment analysis
* categorizing tweets
* printing each category
* calculating if len(positive) > len(negative)
* activating green or red led

---

# 7. Enhancements

* Better sentiment analysis
* French module

--- 

# 8. Conclusion

Artificial intelligence or artificial emotions
