Package io.scanbot.sdk.blob
Class BlobManager
-
- All Implemented Interfaces:
public final class BlobManager
Manages binary files on local filesystem and provides access to binary files stored remotely
-
-
Field Summary
Fields Modifier and Type Field Description private final Set<Language>
allLanguagesWithAvailableOcrBlobs
private final File
ocrBlobsDirectory
private final File
banksDataFile
private final File
barcodeDetectionModelFile
private final File
barcodeBinarizationModelFile
private final File
blurEstimatorModelFile
private final File
mrzCascadeFile
private final File
mrzTrainedDataFile
private final File
filterPredictionModelFile
private final File
checkDigitPredictionModelFile
private final File
dcModelsFolderFile
private final File
idCardScannerModelsFolderFile
private final File
genericTextRecognizerModelsFolderFile
private final File
documentDetectorModelFile
private final File
imageProcessorModelsFolderFile
-
Constructor Summary
Constructors Constructor Description BlobManager(BlobStoreStrategy blobStoreStrategy, AssetManager assetManager, BlobFactory blobFactory)
-
Method Summary
-
-
Constructor Detail
-
BlobManager
BlobManager(BlobStoreStrategy blobStoreStrategy, AssetManager assetManager, BlobFactory blobFactory)
-
-
Method Detail
-
getAllLanguagesWithAvailableOcrBlobs
final Set<Language> getAllLanguagesWithAvailableOcrBlobs()
-
getOcrBlobsDirectory
final File getOcrBlobsDirectory()
-
getBanksDataFile
final File getBanksDataFile()
-
getBarcodeDetectionModelFile
final File getBarcodeDetectionModelFile()
-
getBarcodeBinarizationModelFile
final File getBarcodeBinarizationModelFile()
-
getBlurEstimatorModelFile
final File getBlurEstimatorModelFile()
-
getMrzCascadeFile
final File getMrzCascadeFile()
-
getMrzTrainedDataFile
final File getMrzTrainedDataFile()
-
getFilterPredictionModelFile
final File getFilterPredictionModelFile()
-
getCheckDigitPredictionModelFile
final File getCheckDigitPredictionModelFile()
-
getDcModelsFolderFile
final File getDcModelsFolderFile()
-
getIdCardScannerModelsFolderFile
final File getIdCardScannerModelsFolderFile()
-
getGenericTextRecognizerModelsFolderFile
final File getGenericTextRecognizerModelsFolderFile()
-
getDocumentDetectorModelFile
final File getDocumentDetectorModelFile()
-
getImageProcessorModelsFolderFile
final File getImageProcessorModelsFolderFile()
-
allBlobsAvailable
final Boolean allBlobsAvailable(Collection<Blob> blobs)
-
isBlobAvailable
final Boolean isBlobAvailable(Blob blob)
-
fetch
final Unit fetch(Blob blob)
Launches fetch of a given Blob if it is not already available in local destination folder. Perform blocking operations, so it should not be called from the main thread.
-
forceFetch
final Unit forceFetch(BlobType blobType)
Launches fetch of a given BlobType if it is not already available in local destination folder. Perform blocking operations, so it should not be called from the main thread.
-
-
-
-