LightingDetectionResult class

Result class containing lighting quality analysis.

Provides detailed information about lighting conditions including brightness, contrast, exposure ratios, and identified issues.

Constructors

LightingDetectionResult({required bool isGoodLighting, required double avgBrightness, required double contrast, required double overexposureRatio, required double underexposureRatio, LightingIssue? issue})
Creates a lighting detection result.

Properties

avgBrightness double
Average brightness level (0-255).
final
contrast double
Contrast level calculated from standard deviation.
final
hashCode int
The hash code for this object.
no setterinherited
isGoodLighting bool
Whether the lighting conditions are acceptable.
final
issue LightingIssue?
Specific lighting issue detected, if any.
final
issueDescription String
Returns a user-friendly description of the lighting issue.
no setter
overexposureRatio double
Ratio of overexposed pixels (0.0 - 1.0).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
underexposureRatio double
Ratio of underexposed pixels (0.0 - 1.0).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited