detect method
Method for Calculates the percentage of the main object area relative to image dimensions.
objectThresholdPercent
: Object Threshold Percent (Default: 50) Returns TransformationData.
Implementation
TransformationData detect(
int? objectThresholdPercent,
) {
var values = <String, String>{};
if (objectThresholdPercent != null) {
values['obj_threshold_perc'] = objectThresholdPercent.toString();
}
return TransformationData(plugin: 'cos', name: 'detect', values: values);
}