/Raining-Emoji

A wrapper for emoji rainfall for humans 🌧️ 🐶 🐵 🦁 🐷 🐨

Primary LanguagePythonMIT LicenseMIT

Raining Emoji 🌧️ 🐶 🐵 🦁 🐷 🐨

What can be better than your favourite emojis raining?

Inspiration 🗽

The pymunk logic is heavily inspired from Amirabbas Asadi's toy project

Code Requirements 🦄

You can install Conda for python which resolves all the dependencies for machine learning.

pip install -r requirements.txt

Description 🌈

Pymunk is a easy-to-use pythonic 2d physics library that can be used whenever you need 2d rigid body physics from Python. Perfect when you need 2d physics in your game, demo or other application! It is built on top of the very capable 2d physics library Chipmunk.

MediaPipe offers cross-platform, customizable ML solutions for live and streaming media.

Emojis used

  1. Cat 🐱
  2. Cow 🐮
  3. Fox 🦊
  4. Hamster 🐹
  5. Koala 🐨
  6. Lion 🦁
  7. Monkey 🐵
  8. Mouse 🐭
  9. Panda 🐼
  10. Dog 🐶
  11. Pig 🐷
  12. Rabbit 🐰
  13. Frog 🐸

File Organization 🗄️

├── Raining-Emoji (Current Directory)
    ├── emoji : Emoji Folder
        ├── 0.png
        ├── 1.png
            .
            .
        └── 12.png
    ├── utils : Utils Folder
        ├── cv_utils.py : OpenCV utilities
        └── physics_utils.py : Pymunk utilities
    ├── RainingEmoji.py : Main Application
    ├── LICENSE
    ├── requirements.txt
    └── readme.md
        

Python Implementation 👨‍🔬

  1. Pretrained Model - MediaPipe Hands

If you face any problem, kindly raise an issue

Setup 🖥️

  1. Copy all the emojis in this folder emoji/ folder.
  2. Check all the utilities stored in utils/ folder
  3. Run RainingEmoji.py to run the application.

Execution 🐉

python3 RainingEmoji.py

Results 📊

References: 🔱