cosDetect static method
Calculates the percentage of the main object area relative to image dimensions.
objectThresholdPercent
: Object Threshold Percent (Default: 50)
Returns TransformationData.
Implementation
static TransformationData cosDetect({int? objectThresholdPercent = 50}) {
// Call the generated class method
return CosDetect().detect(objectThresholdPercent);
}