目录

class info
com.huawei.hms.mlplugin.card.icr.cn.MLCnIcrCaptureConfig.Factory
Creates an instance of the ID card recognition configurator.

Public Constructor Summary

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

Public Method Summary

Return typeMethod name
mlplugin.card.icr.cn.MLCnIcrCaptureConfigcreate()
mlplugin.card.icr.cn.MLCnIcrCaptureConfig.FactorysetFront(boolean isFront)
mlplugin.card.icr.cn.MLCnIcrCaptureConfig.FactorysetRemote(boolean isRemote)

Public Constructors

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

Public Methods

Method
public mlplugin.card.icr.cn.MLCnIcrCaptureConfig create()
Creates a Chinese second-generation ID card recognition configurator instance MLCnIcrCaptureConfig.

Return

Typedesc
mlplugin.card.icr.cn.MLCnIcrCaptureConfigReturns a Chinese second-generation ID card recognition configurator instance MLCnIcrCaptureConfig.
Method
public mlplugin.card.icr.cn.MLCnIcrCaptureConfig.Factory setFront(boolean isFront)
Sets the front or back side of an ID card.

Parameters

Parameter nameParameter desc
isFrontIndicates whether the ID card is on the front or back side.
true: front
false: back

Return

Typedesc
mlplugin.card.icr.cn.MLCnIcrCaptureConfig.FactoryReturns the instance of MLCnIcrCaptureConfig.Factory.
Method
public mlplugin.card.icr.cn.MLCnIcrCaptureConfig.Factory setRemote(boolean isRemote)
Indicates whether the current ID card is recognized on the device or cloud.

Parameters

Parameter nameParameter desc
isRemoteIndicates whether the current ID card is recognized on the device or cloud.true: cloudfalse: device

Return

Typedesc
mlplugin.card.icr.cn.MLCnIcrCaptureConfig.FactoryReturns the instance of MLCnIcrCaptureConfig.Factory.