scanInArea

open override fun scanInArea(nv21: ByteArray, width: Int, height: Int, frameOrientation: Int, areaRect: Rect?): DocumentDetectionResult?

Decode the nv21 within the finder rectangle, and time how long it took.

Parameters

nv21

The YUV preview frame.

width

The width of the preview frame.

height

The height of the preview frame.

areaRect

decode area

frameOrientation

The frame orientation degrees.