Frame

constructor()


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

Parameters

frame

image in ImageRef format

width

preview width of the image (before Finder crop and rotation)

height

preview height of the image (before Finder crop and rotation)

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.