Save Camera Frame Use Case
Saves camera frame in the in-memory repository
Functions
Link copied to clipboard
fun saveCameraFrame(nv21Image: ByteArray, imageWidth: Int, imageHeight: Int, imageOrientation: Int, imageScale: Float = PageStorageProcessor.Configuration.DEFAULT().imageScale, requiredAspectRatios: List<AspectRatio> = PageStorageProcessor.Configuration.DEFAULT().requiredAspectRatios, documentImageSizeLimit: PageStorageProcessor.Configuration.Size = PageStorageProcessor.Configuration.DEFAULT().documentImageSizeLimit): <Error class: unknown class><Page>
Stores camera frame in DraftPageFileStorage throws IOException that need to be handled with catch {} in flow api