Skip to content

Minimal example on how to run an onnx model on web. This example is for background removal.

Notifications You must be signed in to change notification settings

pstwh/removebg-onnx-web-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

removebg-onnx-web-example

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/

Example

input output
* The removebg output image example is compressed in this repo to shrink size.

Model

As an example, the model is really small. It's an u2netp from source.

About

Minimal example on how to run an onnx model on web. This example is for background removal.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published