https://github.com/flafydev/emoji-drawings
Emoji Drawings dataset
https://github.com/flafydev/emoji-drawings
ai dataset machine-learning tensorflow tensorflow-datasets tfds
Last synced: 2 months ago
JSON representation
Emoji Drawings dataset
- Host: GitHub
- URL: https://github.com/flafydev/emoji-drawings
- Owner: FlafyDev
- License: mit
- Created: 2024-05-17T13:43:42.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-20T14:29:57.000Z (about 2 years ago)
- Last Synced: 2025-07-07T04:40:58.979Z (about 1 year ago)
- Topics: ai, dataset, machine-learning, tensorflow, tensorflow-datasets, tfds
- Language: Python
- Homepage:
- Size: 79.2 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Emoji drawings dataset 
This dataset features **4,945** grayscaled human-made drawings of emojis.
Each image is ARGB PNG 400x400.
## Instructions
All the dataset is located in the `images` directory.
The labels of each emoji image is embedded in the file name, formatted like:
```
[emoji-index]_[creator]_[time].png
```
`[emoji-index]` - The index of the emoji from the table below. (0-17)
`[creator]` - The person who drew the image.
`[time]` - Time of being drawn. Milliseconds since the Epoch.
#### For example:
```
0-shalev-1705925374511.png
```
`0` - Emoji index 0: ๐
`shalev` - Created by "shalev"
`1705925374511` - Was drawn on GMT Monday, January 22, 2024 12:09:34.511 PM
## Using with Tensorflow Datasets
### Locally
Copy the Python file `emoji_drawings_tfds_builder.py` to your project's directory and add
```py
import emoji_drawings_tfds_builder
```
to your Python file.
### In colab
Copy the contents of the file `emoji_drawings_tfds_builder.py` into a code block and run it.
### Usage
Then you'll be able to use Emoji Drawings as a tfds dataset:
```py
import tensorflow_datasets as tfds
# Load dataset
(ds_train, ds_valid, ds_test), ds_info = tfds.load(
'emoji_drawings',
split = ["train[:80%]", "train[80%:90%]", "train[90%:]"],
shuffle_files=True,
as_supervised=True,
with_info=True
)
emoji_names = ds_info.features['label'].names
# Print random examples
import matplotlib.pyplot as plt # Plotting library
ds_train = ds_train.shuffle(ds_info.splits['train'].num_examples)
i = 0
fig, ax = plt.subplots(1, 8)
plt.subplots_adjust(left=50, bottom=None, right=52, top=None, wspace=None, hspace=None)
for image, label in ds_train.take(8):
ax[i].axis('off')
ax[i].set_title(f"{label}: {emoji_names[label]}", fontdict={"fontsize": 8})
ax[i].imshow(image)
i += 1
plt.show()
```
###### [More info for how to load custom tfds datasets](https://www.tensorflow.org/datasets/add_dataset#tldr)
## Emojis
| Index | Emoji | Name | Example |
| ------------- | ------------- | ------------- | ------------- |
| 0 | ๐ | beaming-face |

| 1 | โ๏ธ | cloud | 
| 2 | ๐ตโ๐ซ | face-spiral | 
| 3 | ๐ณ | flushed-face | 
| 4 | ๐ฌ | grimacing-face | 
| 5 | ๐ | grinning-face | 
| 6 | ๐ | grinning-squinting | 
| 7 | โค๏ธ | heart | 
| 8 | ๐ก | pouting-face | 
| 9 | ๐คจ | raised-eyebrow | 
| 10 | ๐ | relieved-face | 
| 11 | ๐ | savoring-food | 
| 12 | ๐ | smiling-heart | 
| 13 | ๐ | smiling-horns | 
| 14 | ๐ | smiling-sunglasses | 
| 15 | ๐ฅฒ | smiling-tear | 
| 16 | ๐ | smirking-face | 
| 17 | ๐ | tears-of-joy | 
# Credits:
| Emojis drawn | Name |
| ------------|------|
| 2064 | shalev |
| 817 | wakatta |
| 707 | Ido |
| 170 | Gil |
| 166 | kashkash |
| 153 | Biton |
| 150 | Hello |
| 77 | Name |
| 75 | Zohar |
| 69 | superyehezkel |
| 64 | Asaflevi |
| 60 | Brkzr |
| 33 | Dvir |
| 29 | Smadi |
| 28 | Nir |
| 23 | Bruh |
| 20 | S_x |
| 16 | Guy |
| 16 | deeznats |
| 15 | Yonatan |
| 15 | Ruth |
| 15 | Lulu |
| 14 | bigwolman |
| 10 | Liel |
| 10 | Adir |
| 8 | ThickNi__a |
| 8 | Liran |
| 8 | Alon |
| 7 | s_x |
| 7 | Asaflotz |
| 7 | Ariel |
| 6 | Whfkykgkg |
| 6 | Tyb |
| 6 | Omer |
| 5 | Yosi |
| 5 | UriMishkin |
| 5 | Ofir |
| 5 | Ofek |
| 4 | shani |
| 4 | Poopoolol |
| 4 | Itay |
| 4 | Hadar |
| 4 | Eyal |
| 3 | roprop |
| 3 | Ori |
| 3 | Dydya |
| 3 | amit |
| 2 | Yael |
| 2 | hdhdbdb |
| 2 | avivHamagniv |
| 2 | Argh |
| 2 | Arbel |
| 1 | yuval |
| 1 | sjjsjs |
| 1 | Biton2 |