User:Ssvb/DjVu
Appearance
tesseract can create a PDF file from individual images.
pdf2djvu can convert the resulting PDF to DjVu format, while also converting the hidden text layer (see the "Hidden text syntax" section in https://linux.die.net/man/1/djvused )