InputImage class
InputImage is the format Google' Ml kit takes to process the image
Constructors
- InputImage({String? path, Uint8List? bytes, required String type, InputImageData? metadata})
- InputImage.fromBytes({required Uint8List bytes, required InputImageData metadata})
-
Create InputImage from bytes
factory
- InputImage.fromFile(File file, {InputImageData? metadata})
-
Create InputImage from File
factory
- InputImage.fromFilePath(String path, {InputImageData? metadata})
-
Create InputImage from File path
factory
Properties
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