Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
qq15725 committed Dec 7, 2023
1 parent 07811a9 commit 733fab6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,17 @@ removeBackground('/example.jpg', {

## Open source models

| Output | Model | Resolution | Size(MB) | From |
|---------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------|------------|----------|-------------------------------------------------------------------------------|
| <img src="https://raw.githubusercontent.com/qq15725/modern-rembg/main/examples/example.jpb" width="100" /> | | | | |
| <img src="https://raw.githubusercontent.com/qq15725/modern-rembg/main/examples/u2net.onnx.png" width="100" /> | [u2net.onnx](https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2net.onnx) | 320 | 168 | [danielgatis/rembg](https://github.com/danielgatis/rembg) |
| <img src="https://raw.githubusercontent.com/qq15725/modern-rembg/main/examples/u2netp.onnx.png" width="100" /> | [u2netp.onnx](https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2netp.onnx) | 320 | 4 | [danielgatis/rembg](https://github.com/danielgatis/rembg) |
| <img src="https://raw.githubusercontent.com/qq15725/modern-rembg/main/examples/u2net_human_seg.onnx.png" width="100" /> | [u2net_human_seg.onnx](https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2net_human_seg.onnx) | 320 | 168 | [danielgatis/rembg](https://github.com/danielgatis/rembg) |
| <img src="https://raw.githubusercontent.com/qq15725/modern-rembg/main/examples/u2net_cloth_seg.onnx.png" width="100" /> | [u2net_cloth_seg.onnx](https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2net_cloth_seg.onnx) | 768 | 168 | [danielgatis/rembg](https://github.com/danielgatis/rembg) |
| <img src="https://raw.githubusercontent.com/qq15725/modern-rembg/main/examples/silueta.onnx.png" width="100" /> | [silueta.onnx](https://github.com/danielgatis/rembg/releases/download/v0.0.0/silueta.onnx) | 320 | 42 | [danielgatis/rembg](https://github.com/danielgatis/rembg) |
| <img src="https://raw.githubusercontent.com/qq15725/modern-rembg/main/examples/isnet-general-use.onnx.png" width="100" /> | [isnet-general-use.onnx](https://github.com/danielgatis/rembg/releases/download/v0.0.0/isnet-general-use.onnx) | 320 | 170 | [danielgatis/rembg](https://github.com/danielgatis/rembg) |
| <img src="https://raw.githubusercontent.com/qq15725/modern-rembg/main/examples/isnet-anime.onnx.png" width="100" /> | [isnet-anime.onnx](https://github.com/danielgatis/rembg/releases/download/v0.0.0/isnet-anime.onnx) | 1024 | 168 | [danielgatis/rembg](https://github.com/danielgatis/rembg) |
| <img src="https://raw.githubusercontent.com/qq15725/modern-rembg/main/examples/large.png" width="100" /> | [large](https://github.com/imgly/background-removal-js/raw/main/bundle/models/large?download=) | 1024 | 176 | [imgly/background-removal-js](https://github.com/imgly/background-removal-js) |
| <img src="https://raw.githubusercontent.com/qq15725/modern-rembg/main/examples/medium.png" width="100" /> | [medium](https://github.com/imgly/background-removal-js/raw/main/bundle/models/medium?download=) | 1024 | 88 | [imgly/background-removal-js](https://github.com/imgly/background-removal-js) |
| <img src="https://raw.githubusercontent.com/qq15725/modern-rembg/main/examples/small.png" width="100" /> | [small](https://github.com/imgly/background-removal-js/raw/main/bundle/models/small?download=) | 1024 | 44 | [imgly/background-removal-js](https://github.com/imgly/background-removal-js) |
| Output | Model | Resolution | Size(MB) | From |
|-----------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------|------------|----------|-------------------------------------------------------------------------------|
| <img src="./examples/example.jpg" width="100" /> | | | | |
| <img src="./examples/u2net.onnx.png" width="100" /> | [u2net.onnx](https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2net.onnx) | 320 | 168 | [danielgatis/rembg](https://github.com/danielgatis/rembg) |
| <img src="./examples/u2netp.onnx.png" width="100" /> | [u2netp.onnx](https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2netp.onnx) | 320 | 4 | [danielgatis/rembg](https://github.com/danielgatis/rembg) |
| <img src="./examples/u2net_human_seg.onnx.png" width="100" /> | [u2net_human_seg.onnx](https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2net_human_seg.onnx) | 320 | 168 | [danielgatis/rembg](https://github.com/danielgatis/rembg) |
| <img src="./examples/u2net_cloth_seg.onnx.png" width="100" /> | [u2net_cloth_seg.onnx](https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2net_cloth_seg.onnx) | 768 | 168 | [danielgatis/rembg](https://github.com/danielgatis/rembg) |
| <img src="./examples/silueta.onnx.png" width="100" /> | [silueta.onnx](https://github.com/danielgatis/rembg/releases/download/v0.0.0/silueta.onnx) | 320 | 42 | [danielgatis/rembg](https://github.com/danielgatis/rembg) |
| <img src="./examples/isnet-general-use.onnx.png" width="100" /> | [isnet-general-use.onnx](https://github.com/danielgatis/rembg/releases/download/v0.0.0/isnet-general-use.onnx) | 320 | 170 | [danielgatis/rembg](https://github.com/danielgatis/rembg) |
| <img src="./examples/isnet-anime.onnx.png" width="100" /> | [isnet-anime.onnx](https://github.com/danielgatis/rembg/releases/download/v0.0.0/isnet-anime.onnx) | 1024 | 168 | [danielgatis/rembg](https://github.com/danielgatis/rembg) |
| <img src="./examples/large.png" width="100" /> | [large](https://github.com/imgly/background-removal-js/raw/main/bundle/models/large?download=) | 1024 | 176 | [imgly/background-removal-js](https://github.com/imgly/background-removal-js) |
| <img src="./examples/medium.png" width="100" /> | [medium](https://github.com/imgly/background-removal-js/raw/main/bundle/models/medium?download=) | 1024 | 88 | [imgly/background-removal-js](https://github.com/imgly/background-removal-js) |
| <img src="./examples/small.png" width="100" /> | [small](https://github.com/imgly/background-removal-js/raw/main/bundle/models/small?download=) | 1024 | 44 | [imgly/background-removal-js](https://github.com/imgly/background-removal-js) |

2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
const blob = await removeBackground(imageSource, {
debug: true,
model: '/models/u2netp.onnx',
resolution: 1024,
resolution: 320,
wasmPaths: {
'ort-wasm-simd.wasm': './node_modules/onnxruntime-web/dist/ort-wasm-simd.wasm',
},
Expand Down

0 comments on commit 733fab6

Please sign in to comment.