We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All
MaterialsConsole

MLCnIcrCaptureConfig.Factory

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.
This page may contain third-party content. For details, click here.