Frame

constructor()


constructor(frame: ByteArray, width: Int, height: Int, frameOrientation: Int, finderRect: Rect?, visibleRect: RectF?, finderInnerThresholdPx: Int, finderOuterThresholdPx: Int, cameraModule: CameraModule, analyzerFrameMirrored: Boolean)

Parameters

frame

image in NV21 format

width

width of the image

height

height of the image

frameOrientation

orientation of the image (in degrees)

finderRect

finder overlay area

visibleRect

visible preview area

finderInnerThresholdPx

inner finder threshold

finderOuterThresholdPx

outer finder threshold

cameraModule

the module of the camera that captured this frame.

analyzerFrameMirrored

whether the frame was mirrored for analysis.