跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[分享创造] 纯前端实现人物抠像和背景替换(欢迎共建)

发表于

大佬们如果喜欢这个项目,请帮忙在 GitHub 点个 star 吧,这样可以获取到项目的最新进展。
ps: 这次实现的效果没有时间处理 UI ,欢迎来一起共建;

TODO:

  • UI 美化
  • 支持换发型;
  • 寻找准确率更高、推导速度更快的模型

前言

这是开源了一个《在线换口红颜色和头发颜色》的项目,纯前端实现 的续集。

上次使用 transformers.js 的皮肤分割模型,实现了“在线换口红颜色和头发颜色”,其实这个模型还没有完全挥发它的全部能力。 我们来看看如何继续利用模型的输出实现常见的功能:人物抠图和背景替换;

效果展示

截屏 2024-09-08 22.01.06.png

体验地址

https://web-makeup.vercel.app/makeup

源码地址

https://github.com/mamumu123/web-makeup

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.