kzhr's diary

ad ponendum

2017-11-20から1日間の記事一覧

日本古典籍字形データセットをかんたんに分類してくれるPythonスクリプト

#!/usr/bin/python3 # coding: utf-8 # # Usage: Run on the directory just above where the Dataset of PMJT Character Shapes # (http://codh.rois.ac.jp/char-shape/) is downloaded # from pathlib import Path from time import time from PIL import …