startFlow

abstract fun startFlow(    context: Context,     imageStream: Flow<DataType>,     viewFinder: Rect,     lifecycleOwner: LifecycleOwner,     coroutineScope: CoroutineScope,     parameters: Parameters)

Start the image processing flow for scanning a card.

Parameters

context

: The context used to download analyzers if needed

imageStream

: The flow of images to process

viewFinder

: The location of the view finder in the previewSize

lifecycleOwner

: The activity that owns this flow. The flow will pause if the activity is paused

coroutineScope

: The coroutine scope used to run async tasks for this flow