Software licences
Optional portrait background removal uses the following components, loaded only when requested. The image is processed on the visitor’s device.
MODNet
MODNet: Real-Time Trimap-Free Portrait Matting via Objective Decomposition. Zhanghan Ke, Jiayu Sun, Kaican Li, Qiong Yan and Rynson W. H. Lau. AAAI 2022.
Original code and models · Apache License 2.0 · ONNX conversion by Xenova.
Model revision: fa2fa546052fba4c08921230a26cc69a333fca12. PhotoReadyKit uses its own image preprocessing and white-background composition. The model weights are unmodified and split into download chunks.
ONNX Runtime Web 1.22.0
Copyright (c) Microsoft Corporation. All rights reserved.