Help Center/ Optical Character Recognition/ FAQs/ API/ Can Input Data for OCR Be Stored Locally?
Updated on 2025-10-23 GMT+08:00

Can Input Data for OCR Be Stored Locally?

OCR offers flexible options for data input:

On one hand, you can store the data to be recognized on a local device. By reading the local data and converting the image into base64 encoding, the image information can be transmitted as a string over the network and passed into the API as a parameter to enable recognition.

On the other hand, if the data is stored in an OBS bucket, it can also be passed directly into the API. This method is ideal for scenarios involving large volumes of data, requiring cloud storage and easier management.