هذه الصفحة غير متوفرة حاليًا بلغتك المحلية. نحن نعمل جاهدين على إضافة المزيد من اللغات. شاكرين تفهمك ودعمك المستمر لنا.
Optical Character Recognition
Optical Character Recognition
- What's New
- Function Overview
- Product Bulletin
- Service Overview
-
Billing
- Billing Overview
- Billing Modes
- Billing Items
- Billing Examples
- Billing Mode Changes
- Renewing Subscriptions
- Bills
- Arrears
- Billing Termination
- Cost Management
-
Billing FAQ
- Why Do I Get Additional Charges or Arrears After Purchasing a Package?
- Why Can I Still Call the Service and Incur Arrears When My Account Balance Is Zero?
- Why Do I Get Additional Charges or Arrears After Unsubscribing from an OCR Service?
- Can I Refund a Package After I Buy It?
- How Is Billing Handled When a Package Is Used Up? And How Can I Check the Remaining Quota and Receive Alerts for My Package?
- How Does a Member Account Use a Package Purchased by an Enterprise Master Account?
- What Is Fee Deduction Order for Multiple Packages?
- What are Grace Period and Retention Period?
- What Is Considered Valid Billing for OCR?
- Can Different API Packages Be Shared?
- Can OCR Be Charged by Project?
- Getting Started
- User Guide
- SDK Reference
- API Reference
-
FAQs
- Subscription
-
Token-based Authentication
- What Are the Username, Domain Name, and Project Name in the Token Message Body?
- Why Is the Error Message "The account is locked." Displayed?
- Why Is the Error Message "The username or password is wrong." Displayed?
- Why Does the Token Retrieval Process Return a 401 Status Code?
- Why Does the Token Fail to Be Obtained When I Use Postman to Call an ORC API?
- Why Don't I Have Programming Access Permissions?
- Why Does the Header Overflow When I Use Postman to Call an OCR API?
-
API
- How Do I View the API Usage?
- Why Is the Actual Number of API Calls Inconsistent with the Record Displayed on the Management Console?
- Does OCR Support Batch Processing?
- Can the OCR Results Be Converted into Word, TXT, or PDF Files?
- How Do I Obtain the Base64 Code of an Image?
- What Is the Number of Concurrent OCR API Calls?
- How Do I Use OCR APIs?
- Can the Region Where OCR Is Called Be Different from the Region Where OBS Resources Are Located?
- Can the Input Data of OCR Be Stored Locally?
- How Do I Improve the Recognition Speed?
- How Do I Convert a PDF to an Image?
- Can OCR Read Images from Non-Huawei Cloud Storage?
-
SDK
- Do OCR SDKs Need to Be Purchased?
- Do OCR SDKs Need Maven to Manage Dependency Packages?
- How Do I Change the Response Type in Returned Results?
- How Can I Fix an SSL Configuration Error?
- How Can I Fix a "connect timed out" Error?
- Why Does the Project ID Fail to Be Obtained?
- What Should I Do if I Forget My AK and SK?
-
Error Code
- Why Do I Fail to Call an OCR API?
- How Do I Handle the Error APIG.0301?
- How Do I Handle the Error APIG.0201?
- How Do I Handle the Error APIG.0101?
- How Do I Handle the Error APIG.0106?
- How Do I Handle the Error APIG.0308?
- How Do I Handle the Error ModelArts.0212?
- How Do I Handle the Error ModelArts.4603 or ModelArts.4704?
- How Do I Handle the Error ModelArts.4204?
- Permissions
- Data Security and Privacy
- Regions and AZs
- General Consulting
- Videos
- Glossary
- More Documents
- General Reference
On this page
Show all
Help Center/
Optical Character Recognition/
API Reference/
Calling APIs/
Subscribing to an OCR Service
Copied.
Subscribing to an OCR Service
- Register a Huawei Cloud account on the Huawei Cloud official website and use it to log in. The account cannot be in arrears or frozen.
- (Optional) Create an IAM user.
- Log in to the Huawei Cloud management console, hover your cursor over the username in the upper right corner of the page, and choose Identity and Access Management from the drop-down list.
Figure 1 Identity and Access Management
- On the Users page, click Create User. On the page displayed, set the username and password to create an IAM user.
Figure 2 Create UserFigure 3 Setting the username and password
- Grant permissions to the IAM user. For details, see Permissions Management.
Figure 4 Adding the IAM user to a user group
- Log in to the Huawei Cloud management console, hover your cursor over the username in the upper right corner of the page, and choose Identity and Access Management from the drop-down list.
- Subscribe to a service.
- On the management console, click Service List and choose EI Enterprise Intelligence > Optical Character Recognition to access the OCR console.
Figure 5 Accessing the OCR console
- On the Overview page of the OCR console, select the endpoint where you want to subscribe to a service. For details about OCR service availability in different regions, see Endpoints.
Figure 6 Selecting an endpoint
- Select a product type, for example, General and Certificate, and select your desired service to subscribe to it. Set Billing Mode to Pay-per-use.
Figure 7 Subscribing to a serviceFigure 8 Subscription Management
NOTE:
- If a master account grants the OCR FullAccess permission to an IAM user, both the master account and the IAM user can subscribe to OCR services. IAM users without this permission cannot subscribe to OCR services on their own.
- If a master account only grants the OCR ReadOnlyAccess permission or no permission at all to an IAM user, only the master account (or IAM users with the OCR FullAccess permission) can subscribe to OCR services for that IAM user.
Alternatively, you can click Buy Package to subscribe to a service. The billing is on a package basis.
Figure 9 Buy Package - Once the service is successfully subscribed to, check that the status is Subscribed.
Figure 10 Subscribed
NOTE:
- OCR services are billed in pay-per-use mode by default. In this billing mode, you only need to pay for what you use. If you have purchased a package, see Billing for package deduction rules. Packages cannot be refunded once being purchased.
- If you have not subscribed to an OCR service yet, an error message with error code "ModelArts.4204" will be displayed when you call the OCR API.
- If you want to use data stored on OBS, you can authorize OCR to access OBS. You only need to configure the authorization once. For details, see Configuring Access Permissions of OBS.
- On the management console, click Service List and choose EI Enterprise Intelligence > Optical Character Recognition to access the OCR console.
Parent Topic: Calling APIs
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