Based on Tencent Cloud
The default implementation of worksheet OCR fields in HAP products is based on Tencent Cloud's OCR service. Currently, three types of APIs are mainly used: General OCR, ID card OCR (FRONT), and Invoice OCR. If you have the conditions to use Tencent Cloud services, you can complete the configuration according to the following steps.
-
Open Tencent Cloud OCR service, https://cloud.tencent.com/product/ocr
-
From the menu under the username in the upper right corner, go to Access Management>Access Keys>API Key Management Create or retrieve existing keys
-
Go to HAP System Configuration>Integration>OCR, select Tencent Cloud as the type, and configure the relevant keys, as shown in the following figure: