Transformation class

Constructors

Transformation()

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

artifact() TransformationData
Artifact Removal Plugin
backgroundgenerator({String? backgroundprompt = "YSBmb3Jlc3QgZnVsbCBvZiBvYWsgdHJlZXMsd2l0aCBicmlnaHQgbGlnaHRzLCBzdW4gYW5kIGEgbG90IG9mIG1hZ2ljLCB1bHRyYSByZWFsaXN0aWMsIDhr", Focus? focus = Focus.product, String? negativeprompt = "", int? seed = 123}) TransformationData
AI Background Generator
blur({double? sigma = 0.3, double? dpr = 1}) TransformationData
Basic Transformations
checkobjectsize({int? objectthresholdpercent = 50}) TransformationData
Calculates the percentage of the main object area relative to image dimensions.
checkproductvisibility() TransformationData
Classifies whether the product in the image is completely visible or not
compress({int? quality = 80}) TransformationData
Basic Transformations
density({int? density = 300}) TransformationData
Basic Transformations
detectbackgroundtype() TransformationData
Classifies the background of a product as plain, clean or busy
detectlabels({int? maximumlabels = 5, int? minpimumconfidence = 55}) TransformationData
Detect objects and text in images
erasebg({Foregroundtype? foregroundptype = Foregroundtype.general, bool? addshadow = false, bool? refinpe = true}) TransformationData
EraseBG Background Removal Module
extend({int? top = 10, int? left = 10, int? bottom = 10, int? right = 10, String? background = "000000", Bordertype? borderptype = Bordertype.constant, double? dpr = 1}) TransformationData
Basic Transformations
extract({int? top = 10, int? left = 10, int? height = 50, int? width = 20, String? boundinpgbox}) TransformationData
Basic Transformations
flatten({String? background = "000000"}) TransformationData
Basic Transformations
flip() TransformationData
Basic Transformations
flop() TransformationData
Basic Transformations
googlevisionplugin({int? maximumlabels = 5}) TransformationData
Detect content and text in images
grey() TransformationData
Basic Transformations
imagecentering({int? distancepercentage = 10}) TransformationData
Image Centering Module
intelligentcrop({int? requiredwidth = 0, int? requiredheight = 0, int? paddinpgpercentage = 0, bool? mainptainporiginpalaspect = false, String? aspectratio = "", Gravitytowards? gravitytowards = Gravitytowards.none, Preferreddirection? preferreddirection = Preferreddirection.center, Objecttype? objectptype = Objecttype.person}) TransformationData
Intelligent Crop Plugin
linear({int? a = 1, int? b = 0}) TransformationData
Basic Transformations
median({int? size = 3}) TransformationData
Basic Transformations
merge({Mode? mode = Mode.overlay, String? image = "", String? transformation = "", String? background = "00000000", int? height = 0, int? width = 0, int? top = 0, int? left = 0, Gravity? gravity = Gravity.center, Blend? blend = Blend.over, bool? tile = false, String? listofbboxes = "", String? listofpolygons = ""}) TransformationData
Basic Transformations
moderation({int? minpimumconfidence = 55}) TransformationData
Detect objects and text in images
modulate({double? brightness = 1, double? saturation = 1, int? hue = 90}) TransformationData
Basic Transformations
negate() TransformationData
Basic Transformations
normalise() TransformationData
Basic Transformations
nsfwdetection({double? minpimumconfidence = 0.5}) TransformationData
Detect NSFW content in images
numberplatedetection() TransformationData
Number Plate Detection Plugin
objectcounter() TransformationData
Classifies whether objects in the image are single or multiple
objectdetection() TransformationData
Detect bounding boxes of objects in the image
pdfwatermarkremoval() TransformationData
PDF Watermark Removal Plugin
producttagging() TransformationData
AI Product Tagging
removebg() TransformationData
Remove background from any image
resize({int? height = 0, int? width = 0, Fit? fit = Fit.cover, String? background = "000000", Position? position = Position.center, Algorithm? algorithm = Algorithm.lanczos3, double? dpr = 1}) TransformationData
Basic Transformations
rotate({int? angle = 0, String? background = "000000"}) TransformationData
Basic Transformations
sharpen({double? sigma = 1.5}) TransformationData
Basic Transformations
softshadowgenerator({String? backgroundimage = "", String? backgroundcolor = "ffffff", double? shadowangle = 120, double? shadowintensity = 0.5}) TransformationData
AI Soft Shadow Generator
superresolution({PType? ptype = PType.p2x, bool? enhanceface = false, Model? model = Model.picasso, bool? enhancequality = false}) TransformationData
Super Resolution Module
textdetectionandrecognition({bool? detectonly = false}) TransformationData
OCR Module
tint({String? color = "000000"}) TransformationData
Basic Transformations
toformat({Format? format = Format.jpeg, int? quality = 75}) TransformationData
Basic Transformations
trim({int? threshold = 10}) TransformationData
Basic Transformations
variationgenerator({String? generatevariationprompt = "", int? noofvariations = 1, int? seed = 0, bool? autoscale = true}) TransformationData
AI Variation Generator
videowatermarkremoval() TransformationData
Video Watermark Removal Plugin
viewdetection() TransformationData
Classifies wear type and view type of products in the image
watermarkdetection({bool? detecttext = false}) TransformationData
Watermark Detection Plugin
watermarkremoval({bool? removetext = false, String? box1 = "0_0_100_100", String? box2 = "0_0_0_0", String? box3 = "0_0_0_0", String? box4 = "0_0_0_0", String? box5 = "0_0_0_0"}) TransformationData
Watermark Removal Plugin