discontinuedPackage pytorch_lite has been discontinued and replaced by executorch_flutter.

ImageUtilsIsolate class

Constructors

ImageUtilsIsolate()

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 Properties

computer ↔ Computer
getter/setter pair
initiated ↔ bool
getter/setter pair

Static Methods

convertBGRA8888ToImage(int width, int height, Uint8List bytes) → Image
convertCameraImage(CameraImage cameraImage) → Future<Image?>
Converts a CameraImage in YUV420 format to Image in RGB format
convertCameraImageToBytes(CameraImage cameraImage, {int? rotation}) → Future<Uint8List?>
Converts a CameraImage in YUV420 format to Image in RGB format
convertImageBytesToFloatBuffer(Uint8List bytes, int width, int height, List<double> mean, List<double> std) → Future<Uint8List>
convertNV21ToImage(CameraImage image) → Image
convertYUV420ToImage(int uvRowStride, int uvPixelStride, List<Uint8List> planes, int width, int height) → Image
imageToUint8List(Image image, List<double> mean, List<double> std, {bool contiguous = true}) → Uint8List
init({int workersCount = 2}) → Future<void>