MLImageSuperResolutionAnalyzerSetting class

Constructors

MLImageSuperResolutionAnalyzerSetting.create({required String path, double? scale})
Creates an MLImageSuperResolutionAnalyzerSetting instance.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
path String
Local image path obtained from device.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale double?
Scale for resolution.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Returns a map from properties.
toString() String
A string representation of this object.
inherited

Operators

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

Constants

ISR_SCALE_1X → const double
1x super-resolution, which is used to remove the blocking artifact caused by image compression. In this scenario, the maximum size of an input image is 1024 x 768 px or 768 x 1024 px. The long edge of an input image should contain at least 64 px.
ISR_SCALE_3X → const double
3x super-resolution, which suppresses some compressed noises, improves the detail texture effect, and provides the 3x enlargement capability. In this scenario, the maximum size of an input image is 800 x 800 px. The long edge of an input image should contain at least 64 px.