MODNet: Real-Time Trimap-Free Portrait Matting via Objective Decomposition (AAAI 2022) Authors: Zhanghan Ke, Jiayu Sun, Kaican Li, Qiong Yan, Rynson W. H. Lau. Upstream: https://github.com/ZHKKKe/MODNet Code, models, and demos (excluding doc/gif images) are Apache License 2.0. License: LICENSE.txt in this directory. Unmodified ONNX artifact from the ONNX Community conversion: https://huggingface.co/onnx-community/modnet-webnn/resolve/main/onnx/model.onnx Model card: https://huggingface.co/onnx-community/modnet-webnn (Apache-2.0). This is the same verified artifact used in Image Batch for Windows. Bytes: 25888640 SHA-256: 07c308cf0fc7e6e8b2065a12ed7fc07e1de8febb7dc7839d7b7f15dd66584df9 Inference uses RGB / 127.5 - 1, dynamic spatial dimensions aligned to 32, and native soft alpha without saliency min/max stretching or hard thresholds. Browser input long edge is bounded to 512 or 768 pixels; exported dimensions remain unchanged. This is portrait matting, not a universal object segmenter. Fine hair and difficult scenes can still fail. Review before export. Weights are self-hosted; inference does not upload image contents.