PreprocessingResult class

Analysis result from image preprocessing.

Constructors

PreprocessingResult({required Uint8List bytes, required int width, required int height, required double blurScore, required bool isBlurry, required double luminosity, required double contrastScore, required bool isLowLight, required bool isOverexposed})
const

Properties

blurScore double
Laplacian variance blur score (higher = sharper, typically > 100 is sharp).
final
bytes Uint8List
Grayscale or binarized image bytes.
final
contrastScore double
Contrast RMS score (standard deviation of pixel intensities).
final
hashCode int
The hash code for this object.
no setterinherited
height int
Height of the processed image.
final
isBlurry bool
Whether the image is considered blurry based on threshold.
final
isLowLight bool
Whether image suffers from low light / underexposure.
final
isOverexposed bool
Whether image is overexposed / washed out.
final
luminosity double
Normalized ambient luminosity (0.0 = total dark, 1.0 = maximum bright).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
Width of the processed image.
final

Methods

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

Operators

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