Package io.scanbot.sdk.blob
Class BlobManager
-
- All Implemented Interfaces:
public final class BlobManagerManages 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>allLanguagesWithAvailableOcrBlobsprivate final FileocrBlobsDirectoryprivate final FilebanksDataFileprivate final FilebarcodeScanningModelFileprivate final FilebarcodeBinarizationModelFileprivate final FileblurEstimatorModelFileprivate final FilemrzCascadeFileprivate final FilemrzTrainedDataFileprivate final FilefilterPredictionModelFileprivate final FilecheckDigitPredictionModelFileprivate final FiledcModelsFolderFileprivate final FileidCardScannerModelsFolderFileprivate final FiletextPatternScannerModelsFolderFileprivate final FiledocumentDetectorModelFileprivate final FileimageProcessorModelsFolderFile
-
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()
-
getBarcodeScanningModelFile
final File getBarcodeScanningModelFile()
-
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()
-
getTextPatternScannerModelsFolderFile
final File getTextPatternScannerModelsFolderFile()
-
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.
-
-
-
-