Tools to generate line snippets from IMPACT ground-truth files.
Dependencies
go1.17
gcc
libgl1-mesa-dev
xorg-dev
Install
go install git.sr.ht/~flobar/imgtt@latest
Usage
General usage: impgtt [tool] [flags]; for help impgtt help [tool].
Tools
segregs segment regions and create region-metadata files.
seglines segment region images into lines (based on the number of
ground-truth lines).
alignes alignes ground-truth lines with ocr lines and image snippets.
inspect simple GUI tool to inspect the generated snippets
Misc
You can set a custom ttf-font for impgtt inspect, by setting the
FYNE_FONT environment variable to a custom ttf-font:
FYNE_FONT=/my/path/Junicode.ttf impgtt insepect DIR
You can use the up, down, left or right keys to navigate the
regions with impgtt inspect and quit the app using the q key or
open a new directory using the o key.