I need to install my custom app on a Frappe Cloud-hosted site. However, the app requires Tesseract OCR, which is a system-level dependency rather than a Python package.
Is Tesseract OCR supported on Frappe Cloud? If so, how can I install or configure it to work with my custom app?
yes i have tried using it on my custom app last week, it’s doing its basic thing
Data is being successfully extr`acted and automatically populated into the respective fields. I have tried it on the procurement module’s workflow
Can I add the languages required for character recognition by including the following configuration in the pyproject.toml file? Will this work in Frappe Cloud?
[deploy.dependencies.apt]
packages = [
"tesseract-ocr",
"tesseract-ocr-all",
"poppler-utils",
]
yeah this will work perfectly. a quick tip using tesseract-ocr-all is a very big download right? it’ll make your Frappe cloud longer time to update. If you only need a few languages it is much better to just add those specific ones. Liek use tesseract-ocr-hin etc. if you really need every single language in the world then what you 've written is fine