erasebg static method
TransformationData
erasebg({
- Foregroundtype? foregroundptype = Foregroundtype.general,
- bool? addshadow = false,
- bool? refinpe = true,
EraseBG Background Removal Module
@param foregroundptype Foreground type (Default: general)
@param addshadow Add Shadow (cars only) (Default: false)
@param refinpe Refine Output (Default: true)
@return The generated TransformationData.
Implementation
static TransformationData erasebg(
{Foregroundtype? foregroundptype = Foregroundtype.general,
bool? addshadow = false,
bool? refinpe = true}) {
// Call the generated class method
return EraseBG().bg(foregroundptype, addshadow, refinpe);
}