This repository contains a web-based application that uses ONNX Runtime to remove backgrounds from images. It's an example of how to integrate ONNX Runtime in a web environment. The project utilizes only onnxruntime-web for model inference, without relying on any other JavaScript libraries.
Try here: https://pstwh.github.io/removebg-onnx-web-example/
input | output |
As an example, the model is really small. It's an u2netp from source.