This dataset features 4,945 grayscaled human-made drawings of emojis.
Each image is ARGB PNG 400x400.
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.
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
Copy the Python file emoji_drawings_tfds_builder.py
to your project's directory and add
import emoji_drawings_tfds_builder
to your Python file.
Copy the contents of the file emoji_drawings_tfds_builder.py
into a code block and run it.
Then you'll be able to use Emoji Drawings as a tfds dataset:
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()
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 |
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 |