https://github.com/wallix/ppocr
Basic OCR.
https://github.com/wallix/ppocr
Last synced: about 1 year ago
JSON representation
Basic OCR.
- Host: GitHub
- URL: https://github.com/wallix/ppocr
- Owner: wallix
- License: lgpl-2.1
- Created: 2016-10-24T16:09:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-04-19T11:42:56.000Z (about 2 years ago)
- Last Synced: 2025-04-18T08:39:45.671Z (about 1 year ago)
- Language: C++
- Size: 11.6 MB
- Stars: 4
- Watchers: 9
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
LGPLv2.1
# Learning (./learning)
Generate `resources/glyphs/*` and `resources/datas/*` with
$ `./learning "$bindir"/write_glyphs "$bindir"/normalize_glyphs "$bindir"/write_datas`
The executables are compiled with `bjam`. `bindir` depends on the compiler used.
$ `bjam` or $ `bjam write_glyphs normalize_glyphs write_datas`
# resources/fonts/{latin,cyrillic}/
## ./letters and ./generated/
`letters` contains glyphs of `generated/*/*.pnm` (generated by `font2png` (from `font2png.cpp`) then converted to pnm with `pngtopnm` (from `imagemagick`))
## resources/fonts/generated_extract_fail/
Images generated incorrectly (font with hyphens). The directory is ignored.
## ./mano/
Images belonging to the old ocr (OCRv1, see redemption project).
## resources/dict_*.trie
Generated from `resources/dict_*.txt` by `make_trie_dictionary`
## resources/glyphs/*
Generated from image files (`font/*`) by `write_glyphs_bin` and `normalizer_glyphs_bin`
## resources/datas/*
Generated from data glyphs (`glyphs/*`) by `write_datas`