Datasets:
metadata
license: cc-by-4.0
Dataset Creation Info
All images were downloaded from khmerfonts.info by using a script below:
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
aria2c -i filelist.txt -d data -j16
Find 0-byte files and delete
find data/ -size 0 -delete
``