Class SaveCameraFrameUseCase
-
- All Implemented Interfaces:
public final class SaveCameraFrameUseCase
Saves camera frame in the in-memory repository
-
-
Constructor Summary
Constructors Constructor Description SaveCameraFrameUseCase(DraftPageFileStorage draftPageFileStorage)
-
Method Summary
Modifier and Type Method Description final <Error class: unknown class><Page>
saveCameraFrame(ByteArray nv21Image, Integer imageWidth, Integer imageHeight, Integer imageOrientation, Float imageScale, List<AspectRatio> requiredAspectRatios, RectF rectOfInterest, PageStorageProcessor.Configuration.Size documentImageSizeLimit)
Stores camera frame in DraftPageFileStorage throws IOException that need to be handled with catch {} in flow api -
-
Constructor Detail
-
SaveCameraFrameUseCase
SaveCameraFrameUseCase(DraftPageFileStorage draftPageFileStorage)
-
-
Method Detail
-
saveCameraFrame
final <Error class: unknown class><Page> saveCameraFrame(ByteArray nv21Image, Integer imageWidth, Integer imageHeight, Integer imageOrientation, Float imageScale, List<AspectRatio> requiredAspectRatios, RectF rectOfInterest, PageStorageProcessor.Configuration.Size documentImageSizeLimit)
Stores camera frame in DraftPageFileStorage throws IOException that need to be handled with catch {} in flow api
-
-
-
-