Datasets:
File size: 630 Bytes
dbc9e46 5f518ac |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
---
license: cc-by-4.0
---
## Dataset Creation Info
All images were downloaded from [khmerfonts.info](https://khmerfonts.info) by using a script below:
```python
with open("filelist.txt", "w") as outfile:
items = [
f"https://www.khmerfonts.info/preview.php?font={font + 1}&sample={sample + 1}\n\tout=khmerfonts-{font + 1}-{sample + 1}.png"
for font in range(2972) # maximum id at the moment
for sample in range(10)
]
outfile.write("\n".join(items))
```
Download all files using `aria2c`
```shell
aria2c -i filelist.txt -d data -j16
```
Find 0-byte files and delete
```shell
find data/ -size 0 -delete
``
|