M. Zhou
M. Zhou
Note, don't let your shell expand the wildcard `*.jpg`. The correct command is as follows in your case ``` > ./chafa8x8.py CreateDataset --glob './coco/*.jpg' ``` The output will look like...
I'm currently running my code to see whether it can be updated. I'm also updating the README. You will be able to see the updates... maybe within the next 1...
Please take a look at my latest pull request https://github.com/hpjansson/chafa/pull/128. Specifically: Note, in order to generate a usable font, the `python-fontforge` (for older Debian systems) or the `python3-fontforge` (for Debian...
Gpu clustering is supported now: https://github.com/hpjansson/chafa/pull/128/commits/03dcc8e8de6c9f6ee199d46341d85db1a754330f We are able to have fun with large datasets as long as an Nvidia GPU is available.
I generated a sample font from a small dataset: [chafa8x8.zip](https://github.com/hpjansson/chafa/files/10610204/chafa8x8.zip) The file includes the `json` file and the `ttf` file. It contains 4791 glyphs. The unicode range is `0x100000..0x1012b6`. But...
I generated another sample font from a large dataset (COCO 2017 validation set): http://images.cocodataset.org/zips/val2017.zip Steps to reproduce (Debian bullseye): 1. `./chafa8x8.py CreateDataset --glob 'val2017/*.jpg' -Mc 500` . The resulting dataset...
@hpjansson Is there any detailed instructions on how to use a custom font? (maybe the manpage description for `--glyph-file` should be expanded a little bit) I realized that I'm unable...
I'm using some VTE-based (tilix, gnome-terminal) terminals and QT-based terminals (konsole, yakuake). It seems that VTE-based terminals require the font to be installed into the system directory `/usr/share/fonts/`. Currently in...
Meanwhile, the results of `chafa --dump-glyph-file` somehow differ from the `chafa8x8.h` (accurate). In `chafa8x8.h`, the first several glyphs are: ```c { /* Chafa8x8 Font, ID: 1, Unicode: 0x100001 */ CHAFA_SYMBOL_TAG_CUSTOM,...
The dump for the last several glyphs matches with `chafa8x8.h`.