PhotoEditor SDK allows to quickly remove the background from pictures of people.
The background removal feature is available for any pictures or (non-animated) personal and external stickers, where a face or human body can be detected. It is supported on iOS 15+ and Android 5+.
This effect can be used to create transparent stickers, avatars, or collages:
WARNING: The background removal overlay action does not work properly on the iOS simulator. To see background properly removed on iOS please use this action on the physical device.
Adding background removal option#
✨Introduced in PhotoEditor SDK v2.6.0
To enable background removal, add
MainCanvasAction.removeBackground to the
final configuration = Configuration(mainCanvasActions: [MainCanvasAction.undo,MainCanvasAction.redo,MainCanvasAction.removeBackground,]);
WARNING: To achieve the effect of transparency in exported images, make sure that your output format supports that (e.g. set