Skip to content
项目

关于

使用 WebGPU 直接在浏览器中移除背景

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Remove-BG

Remove background directly in your browser, powered by WebGPU
Learn more »

Introduction · Tech Stack ·

Twitter Hacker News


Introduction

Remove background directly in your browser, powered by WebGPU, we use RMBG V1.4 model from Hugging Face

Under the hood, it uses transformer.js to interact with the model

Tech Stack

  • Pnpm
  • Vite
  • Transformers.js
  • NextUI
  • React aria components
  • Tailwind
  • RMBG V1.4 model

Troubleshooting

Status "Error"

Try to put the flag "--enable-unsafe-webgpu --enable-features=Vulkan" to your Chrome flags, read more about it here

Crash the browser

Some people reported that the browser crashed when they try to remove the background. This is a known issue and we are working on a fix. In the mean time, you can try to disable "WebGPU" in the "Experimental features" section in your browser's settings and try again (this will make the tool use CPU instead)

Contributing

  • pnpm install
  • pnpm dev

That's it

探索相关项目

加载中…