Help Center> Optical Character Recognition> FAQs> SDK> How Do I Change the Response Type in Returned Results?
Updated on 2023-10-26 GMT+08:00

How Do I Change the Response Type in Returned Results?

When using Python to call an OCR API, if you need to change the response type in the returned results, you can run the to_dict() or to_str() command to convert the format to JSON or str, respectively.

Figure 1 Example response

SDK FAQs

more