LightingThresholds

data class LightingThresholds(@FloatRange(from = 0.0, to = 1.0) val tooDarkThreshold: Float = 0.99f, @FloatRange(from = 0.0, to = 1.0) val tooBrightThreshold: Float = 0.99f) : Parcelable

Parameters for lighting estimation.

Constructors

Link copied to clipboard
constructor(@FloatRange(from = 0.0, to = 1.0) tooDarkThreshold: Float = 0.99f, @FloatRange(from = 0.0, to = 1.0) tooBrightThreshold: Float = 0.99f)

Properties

Link copied to clipboard

Threshold used to classify the frame as too bright. If the calculated lighting score is above this threshold, frame is discarded. Allowed values are from 0 to 1.

Link copied to clipboard
val tooDarkThreshold: Float = 0.99f

Threshold used to classify the frame as too dark. If the calculated lighting score is above this threshold, frame is discarded. Allowed values are from 0 to 1.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)