Average Class
data class Average(val cutout: ScanCutout, val fullness: Float)
A document outline smoothed over recent frames, with how much of the frame it fills.
Use this to drive a viewfinder overlay: the raw per-frame result jitters, the average does not.
Constructors
Average
constructor(cutout: ScanCutout, fullness: Float)
Properties
cutout
val cutout: ScanCutout
the smoothed outline.
fullness
val fullness: Float
how much of the frame it fills, from 0 to 1.