Integrate the document recognition SDK. The sample code is as follows:
- dependencies{
- implementation 'com.huawei.hms:ml-computer-vision-cloud:2.0.0.300'
- }
After integrating the SDK, add the following configuration to the file header:
- apply plugin: 'com.huawei.agconnect'
Add the configuration following the configuration item below:
- apply plugin: 'com.android.application'