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
frame Orientation
orientation of the image (in degrees)
finder Rect
finder overlay area
visible Rect
visible preview area
finder Inner Threshold Px
inner finder threshold
finder Outer Threshold Px
outer finder threshold
camera Module
the module of the camera that captured this frame.
analyzer Frame Mirrored
whether the frame was mirrored for analysis.