ImageProcessor class abstract

Pure Dart computer vision and image processing engine.

Constructors

ImageProcessor()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

computeLbpMap(FaceImage src) Uint8List
Computes Local Binary Pattern (LBP) image encoding texture details.
computeSpatialFeatureVector(FaceImage src) Float32List
Extracts 128-dimensional spatial grid facial feature descriptor (16 cells x 8 features).
crop(FaceImage src, int x, int y, int cropWidth, int cropHeight) FaceImage
Extracts a sub-rectangle region from an image.
gaussianBlur(FaceImage src, {int kernelSize = 5, double sigma = 1.0}) FaceImage
Separable Gaussian Spatial Smoothing Blur.
histogramEqualization(FaceImage src) FaceImage
Contrast enhancement via Histogram Equalization on a Grayscale image.
pad(FaceImage src, int top, int bottom, int left, int right, {Pixel fillColor = const Pixel(0, 0, 0)}) FaceImage
Adds border padding around an image.
resizeBilinear(FaceImage src, int targetWidth, int targetHeight) FaceImage
Bilinear resize transformation.
rotate(FaceImage src, double angleRadians, {Pixel fillColor = const Pixel(0, 0, 0)}) FaceImage
Rotates an image around its center by angleRadians using inverse bilinear mapping.
sobelEdgeDetection(FaceImage src) FaceImage
Sobel Edge Detection gradient magnitude filter ($G = \sqrt{G_x^2 + G_y^2}$).
toTensor(FaceImage src, {bool normalizeZeroToOne = true, bool standardize = false}) Tensor
Converts a FaceImage into a 3D neural input Tensor [Channels, Height, Width].