Q: I am only processing a few languages (For example, only English), can I delete the other supported language files to reduce the size of the OCR module?
A: You can delete language modules (.onx and .txt) for unused languages located in the Lib/OcrApryseRuntime/ directory.
For example, if you only need to support English, you may delete all files except for the following:
tl_ori_1.onnx
tl_ori_025.onnx
det.onnx
doc_ori.onnx
// English language files:
en.onnx
en.txt
This will reduce the size of the module which will potentially decrease deployment time.