Add the ability to change Tesseract parameters via D-Bus
@LiteracyFanatic, could you check if it works for you? But you need an application that supports QVariantMap. For example, dbus-send
and qdbus
do not support this, but gdbus
can:
gdbus call --session -d io.crow_translate.CrowTranslate -o /io/crow_translate/CrowTranslate/Ocr -m io.crow_translate.CrowTranslate.Ocr.setParameters "{'name': <'value'>}"