initializeScanner method
Future<void>
initializeScanner({
- required String modelAssetPath,
- String? labelsAssetPath,
- required int numThreads,
- required String inputNormalization,
- String? galleryScanCachePrefix,
- String? galleryScanCacheTableName,
override
Implementation
@override
Future<void> initializeScanner({
required String modelAssetPath,
String? labelsAssetPath,
required int numThreads,
required String inputNormalization,
String? galleryScanCachePrefix,
String? galleryScanCacheTableName,
}) async {
await methodChannel.invokeMethod<void>('initializeScanner', {
'modelAssetPath': modelAssetPath,
'labelsAssetPath': labelsAssetPath,
'numThreads': numThreads,
'inputNormalization': inputNormalization,
'galleryScanCachePrefix': galleryScanCachePrefix,
'galleryScanCacheTableName': galleryScanCacheTableName,
});
}