react-native-vision-camera
Version:
VisionCamera is the fastest and most powerful Camera for react-native.
23 lines (22 loc) • 565 B
TypeScript
/**
* Represents the per-channel gains applied for white balance correction.
*
* Each gain is a multiplier applied to the respective color channel in the
* Camera's raw sensor data to achieve a neutral white point.
*
* @see {@linkcode WhiteBalanceTemperatureAndTint}
*/
export interface WhiteBalanceGains {
/**
* The gain applied to the red channel.
*/
redGain: number;
/**
* The gain applied to the blue channel.
*/
blueGain: number;
/**
* The gain applied to the green channel.
*/
greenGain: number;
}