# Trying to make my own version of the "quick draw" game to build a library and teach an AI as a BEGINNER

**URL:** <https://discourse.processing.org/t/trying-to-make-my-own-version-of-the-quick-draw-game-to-build-a-library-and-teach-an-ai-as-a-beginner/30518>\
**Category:** Coding Questions\
**Created:** [June 5, 2021, 3:42pm UTC](https://discourse.processing.org/t/trying-to-make-my-own-version-of-the-quick-draw-game-to-build-a-library-and-teach-an-ai-as-a-beginner/30518 "2021-06-05T15:42:06Z")\
**Posts on this page:** 1\
**Showing post:** 33

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [June 11, 2021, 11:59am UTC](https://discourse.processing.org/t/trying-to-make-my-own-version-of-the-quick-draw-game-to-build-a-library-and-teach-an-ai-as-a-beginner/30518/33 "2021-06-11T11:59:46Z")

</div>

> [@anntie](#):
>
> the problem would be to assign what attributes to look for, and what they mean right? Like “If you detect zig-zag-lines, the mood is angry”.

That’s one way to go. But not so good. A zig-zag-line is just YOUR understanding of angry.

Instead, when _10 people_ played your game, you have 10 images for each emotion. For a new image, the AI (openCV) checks which 10 images of each emotion are in average most similar to the new one (the emotion with the highest average score wins). I tried to describe this above. So you don’t rely on rules (zig-zag-line) but on the gathered images (more statistically).

**The term AI**

AI is a broad term though. OpenCV would not really qualify as AI. A neural network would. A neural network would learn (be trained) from your 10 example images for each emotion and then give answers. There must be libraries for this.

**Check out Neural Network**

tutorial [https://www.youtube.com/watch?v=XJ7HLz9VYz0](https://www.youtube.com/watch?v=XJ7HLz9VYz0)

check out the forum search [Search results for 'neural' - Processing Foundation](https://discourse.processing.org/search?q=neural)

for example [Improving the accuracy of a neural network for digit recognition - #2 by SomeOne](https://discourse.processing.org/t/improving-the-accuracy-of-a-neural-network-for-digit-recognition/22139/2)

Chrisir

---

_[View the full topic](https://discourse.processing.org/t/trying-to-make-my-own-version-of-the-quick-draw-game-to-build-a-library-and-teach-an-ai-as-a-beginner/30518)._
