Package-level declarations

Types

Link copied to clipboard

Checks camera permission

Link copied to clipboard
class CropAndRotateUseCase(pageProcessor: PageProcessor)

Use case to handle cropping and rotating of the page

Link copied to clipboard
class DetectPolygonOnPageUseCase(documentScanner: DocumentScanner, pageFileStorage: PageFileStorage)

Use case to handle the detection a polygon on the given page and returns detected polygon and image

Link copied to clipboard

Apply ImageFilterType for draft pages for document scanning

Link copied to clipboard
class FinalizePagesUseCase(draftPageStorageProcessor: DraftPageStorageProcessor)

Finalizes all draft stored pages and copies them to final pages dir

Link copied to clipboard

Removes Page from the storage

Link copied to clipboard
class RemovePageUseCase(cleaner: Cleaner)

Removes Page from the storage

Link copied to clipboard
class SaveBarcodePreviewFrameUseCase(barcodeFileStorage: BarcodeFileStorage, imageFileIOProcessor: ImageFileIOProcessor)

Saves preview frames in the files repository

Link copied to clipboard
class SaveBarcodeTakenPictureUseCase(barcodeFileStorage: BarcodeFileStorage, imageFileIOProcessor: ImageFileIOProcessor)

Saves taken camera pictures in the files repository

Link copied to clipboard
class SaveCameraFrameUseCase(draftPageFileStorage: DraftPageFileStorage)

Saves camera frame in the in-memory repository

Link copied to clipboard
class SaveTakenPictureUseCase(draftPageFileStorage: DraftPageFileStorage)

Saves taken camera pictures in the in-memory repository

Link copied to clipboard

Validation that tracks significant movements and allows detection to be paused after some time passed since last significant move.