An open API service indexing awesome lists of open source software.

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

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 |