Add Google Fonts name mapping to font-classify
Browse files- README.md +3 -1
- font-classify/google_fonts_mapping.tsv +0 -0
README.md
CHANGED
|
@@ -67,6 +67,8 @@ fp16 on a GPU (about 50 against 80 tokens per second on an RTX 4090).
|
|
| 67 |
An unmodified copy of [storia/font-classify-onnx](https://huggingface.co/storia/font-classify-onnx)
|
| 68 |
at revision `86a4e77`: an EfficientNet-B3 fine-tuned by Storia on synthetic images of about 3,470
|
| 69 |
Google Fonts. `model.onnx` takes one 320 x 320 image; `model_config.yaml` lists the class names and
|
| 70 |
-
`fonts_mapping.yaml` the font file behind each class.
|
|
|
|
|
|
|
| 71 |
|
| 72 |
The scripts that produced the exported files are in the ocrtool repository under `tools/export/`.
|
|
|
|
| 67 |
An unmodified copy of [storia/font-classify-onnx](https://huggingface.co/storia/font-classify-onnx)
|
| 68 |
at revision `86a4e77`: an EfficientNet-B3 fine-tuned by Storia on synthetic images of about 3,470
|
| 69 |
Google Fonts. `model.onnx` takes one 320 x 320 image; `model_config.yaml` lists the class names and
|
| 70 |
+
`fonts_mapping.yaml` the font file behind each class. `google_fonts_mapping.tsv`, from Storia's
|
| 71 |
+
[training repository](https://github.com/Storia-AI/font-classify), maps each class to the family
|
| 72 |
+
name and variant used by Google Fonts.
|
| 73 |
|
| 74 |
The scripts that produced the exported files are in the ocrtool repository under `tools/export/`.
|
font-classify/google_fonts_mapping.tsv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|