OCRS mobile app intergration with erpnext

I’m developing a Flutter/Dart logistics application that uses Google ML Kit Text Recognition to scan delivery documents and extract key-value fields such as truck plate, delivery number, quantity, and weights.

The OCR recognizes the document, but some key-value fields are intermittently missing. For example, the document contains a truck plate, but sometimes the value is extracted correctly and sometimes it is missing.
Maybe for someone who have worked with erpnext intergation with oCrs mobile apps

Typically I find that the issue with OCR like this has to do with prompting.
Maybe try to adjust the prompt that you are using. I recently took one of these OCR systems off of Google and built it to use any OpenAI Endpoint and have it running on Qwen3.5 now.