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
Parent topic: SDK
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot