目录

class info
com.huawei.hms.mlsdk.card.icr.cloud.MLRemoteIcrAnalyzerSetting.Factory
Creates an instance of the on-cloud ID card recognition configurator.

Public Constructor Summary

Constructor name
Factory()Creates an instance of the on-cloud ID card recognition configurator.

Public Method Summary

Return typeMethod name
MLRemoteIcrAnalyzerSettingcreate()            
MLRemoteIcrAnalyzerSetting.FactorysetCountryCode(String countryCode)            
MLRemoteIcrAnalyzerSetting.FactorysetSideType(String sideType)            

Public Constructors

Method
public Factory()            
Creates an instance of the on-cloud ID card recognition configurator.

Public Methods

Method
public MLRemoteIcrAnalyzerSetting create()            
Creates an instance of the on-cloud ID card recognition configurator MLRemoteIcrAnalyzerSetting.

Return

Typedesc
MLRemoteIcrAnalyzerSettingReturns an on-cloud ID card recognition configurator instance MLRemoteIcrAnalyzerSetting.
Method
public MLRemoteIcrAnalyzerSetting.Factory setCountryCode(String countryCode)            
Sets the country code (two-letter code complying with the ISO 3166-1 standard) of the ID card. The default value is CN.

Parameters

Parameter nameParameter desc
countryCodeCountry code (two-letter code complying with the ISO 3166-1 standard) of the ID card. The default value is CN.

Return

Typedesc
MLRemoteIcrAnalyzerSetting.FactoryReturns the instance of MLRemoteIcrAnalyzerSetting.Factory.
Method
public MLRemoteIcrAnalyzerSetting.Factory setSideType(String sideType)            
Sets the front or back side of an ID card.

Parameters

Parameter nameParameter desc
sideType

Front or back side of an ID card

BACK: back side

FRONT: front side.

Return

Typedesc
MLRemoteIcrAnalyzerSetting.FactoryReturns the instance of MLRemoteIcrAnalyzerSetting.Factory.