Skip to content

Commit

Permalink
metadata-for-pinyin.json について画像を追加した。
Browse files Browse the repository at this point in the history
  • Loading branch information
MaruTama committed Jul 29, 2019
1 parent 7e5d31f commit 78f5ab4
Show file tree
Hide file tree
Showing 7 changed files with 6,407 additions and 273 deletions.
4 changes: 3 additions & 1 deletion HOW_TO_MAKE.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ $ python getPinyinAlphbets.py fonts/mplus-1m-medium.ttf
|z| Z.svg | z.svg |


metadata-for-pinyin.json
metadata-for-pinyin.json を制作する。
![outline](./imgs/outline.png)

```
{
"AI":{
Expand Down
24 changes: 0 additions & 24 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,27 +146,3 @@ Big5(大五碼)かCNS11643, 前者の方がメジャー

[源ノ明朝をいろいろなフォントと縦組みで比較してみた](https://silight.hatenablog.jp/entry/2017/04/04/170908)
> 私がTTFバージョンを配布することも考えたのですが、源ノ明朝のライセンスはSIL Open Font Licenseとなっており、修正を加えたフォントの名前にオリジナルの名前を含めてはいけないというルールが定められています。このルールは、中身はほとんど同じなのに名前だけ違うフォントの乱立を招きます。そういった事態を避けるためにも現時点では私からは配布しません。


# 台湾フォントのための拼音チェック

[TTFの全グリフをPNGにしてみる](https://qiita.com/scrpgil/items/7c7c0a354b3688ddfc6b)
```
#ttf -> PNG (時間かかる 3.6以上じゃないといけない)
$ python ttf2png.py SourceHanSerif-Regular.ttf
```


OCR
Google の API はそれなりに精度いいけど、エラー多いかも.
拼音を直接認識する例がない。
漢字 -> 拼音 はあるけど、意味ない。
アルファベットの例を転用する。
- [Machine Learning Photo OCR](https://www.ritchieng.com/machine-learning-photo-ocr/)
- [🔥 Latest Deep Learning OCR with Keras and Supervisely in 15 minutes](https://hackernoon.com/latest-deep-learning-ocr-with-keras-and-supervisely-in-15-minutes-34aecd630ed8)
- [Building TensorFlow OCR Systems: Key Approaches and Tutorials](https://missinglink.ai/guides/deep-learning-frameworks/building-tensorflow-ocr-systems-key-approaches-and-tutorials/)
- [SimpleHTR](https://github.com/githubharald/SimpleHTR/tree/master)

データセットをつくるために
- [Pillow(PIL)で1文字の画像をたくさん生成する](https://qiita.com/lazykyama/items/65bcce351f3d1cf07d8e)
6,404 changes: 6,404 additions & 0 deletions imgs/outline.ai

Large diffs are not rendered by default.

Binary file added imgs/outline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
149 changes: 0 additions & 149 deletions imgs/outline0.svg

This file was deleted.

3 changes: 0 additions & 3 deletions imgs/outline1.svg

This file was deleted.

96 changes: 0 additions & 96 deletions ttf2png.py

This file was deleted.

0 comments on commit 78f5ab4

Please sign in to comment.