目录

Integrate the document recognition SDK. The sample code is as follows:

  1. dependencies{
  2.    implementation 'com.huawei.hms:ml-computer-vision-cloud:2.0.0.300'
  3. }

Adding the Configuration to the File Header

After integrating the SDK, add the following configuration to the file header:

  1. apply plugin: 'com.huawei.agconnect'
Notice:

Add the configuration following the configuration item below:

  1. apply plugin: 'com.android.application'