目录

This package contains ML Kit’s on-device APIs for bank card recognition.

Classes

Class nameClass description
MLBankCardRepresents the detected bank card information.
MLBcrAnalyzer

Represents the on-device bank card detector, which is used to recognize bank card information. The recognition model runs on the device. You can create an on-device bank card detector using either of the following methods:

Method 1: Use the default parameter settings. The language is zh. MLBcrAnalyzer analyzer = MLCardAnalyzerFactory.getInstance().getBcrAnalyzer().

Method 2: Use customized parameter settings.  MLBcrAnalyzer analyzer = MLCardAnalyzerFactory.getInstance().getBcrAnalyzer(setting);

MLBcrAnalyzerSettingRepresents the on-device bank card recognition configurator, which is used to set attributes of the on-device bank card detector.
MLBcrAnalyzerSetting.FactoryCreates an instance of the on-device bank card recognition configurator.