知行编程网知行编程网  2022-06-23 19:00 知行编程网 隐藏边栏 |   抢沙发  4 
文章评分 0 次,平均分 0.0

人人可用的在线抠图,还是AI自动化的那种!北大校友的算法被玩出新高度

杨净 发自 凹非寺 
来自 | 量子位 

现在人人可试可玩的图像分割来了。

在线API,只需输入图片网址,即可自动删除目标背景。

人人可用的在线抠图,还是AI自动化的那种!北大校友的算法被玩出新高度

就拿今天凌晨刚夺得欧冠冠军的拜仁来试试手~

人人可用的在线抠图,还是AI自动化的那种!北大校友的算法被玩出新高度

然后就变成了这样。

人人可用的在线抠图,还是AI自动化的那种!北大校友的算法被玩出新高度

不过,也有翻车的时候,就像这头大象。

人人可用的在线抠图,还是AI自动化的那种!北大校友的算法被玩出新高度

分割之后…诶,它的另一只牙去哪了?

人人可用的在线抠图,还是AI自动化的那种!北大校友的算法被玩出新高度

以及,在同时有手和猫的时候。

人人可用的在线抠图,还是AI自动化的那种!北大校友的算法被玩出新高度

它呈现的结果就……有点怪异。

人人可用的在线抠图,还是AI自动化的那种!北大校友的算法被玩出新高度

这项新应用名叫ObjectCut,在Reddit上一经发布,12小时就获得700+的热度。

人人可用的在线抠图,还是AI自动化的那种!北大校友的算法被玩出新高度

不少网友表示:It’s amazing!

人人可用的在线抠图,还是AI自动化的那种!北大校友的算法被玩出新高度

简单三步,人人可试可玩

就以上面那头大象为例,使用步骤非常简单。

首先,任意选择一张图片,复制图片地址。

人人可用的在线抠图,还是AI自动化的那种!北大校友的算法被玩出新高度


第二步,网站上将地址粘贴到指定位置,然后点击Test Endpoint。

人人可用的在线抠图,还是AI自动化的那种!北大校友的算法被玩出新高度

等待几秒之后,点击旁边生成的网址,就大功告成啦!

人人可用的在线抠图,还是AI自动化的那种!北大校友的算法被玩出新高度

然后就变成了这样一头少了一颗牙的大象。

人人可用的在线抠图,还是AI自动化的那种!北大校友的算法被玩出新高度

还是那个北大校友的研究

是不是觉得这项技术很熟悉,简单几步就可以去移除图片背景?

跟之前的AR应用AR Cut & Paste——将现实物体隔空「复制粘贴」进电脑有异曲同工之妙。

人人可用的在线抠图,还是AI自动化的那种!北大校友的算法被玩出新高度

这两项应用背后的主要技术,都是一个叫做BASNet的显著目标检测方法。

人人可用的在线抠图,还是AI自动化的那种!北大校友的算法被玩出新高度

这篇研究入围了CVPR 2019,其论文一作是位华人小哥哥——秦雪彬,已经于今年2月在在加拿大阿尔伯塔大学拿到了博士学位,硕士就读于北京大学。

人人可用的在线抠图,还是AI自动化的那种!北大校友的算法被玩出新高度

BASNet的核心框架如下图所示,主要由2个模块组成:

人人可用的在线抠图,还是AI自动化的那种!北大校友的算法被玩出新高度

第一个模块是预测模块,这是一个类似于U-Net的密集监督的Encoder-Decoder网络,主要功能是从输入图像中学习预测saliency map。

第二个模块是多尺度残差细化模块(RRM),主要功能是通过学习残差来细化预测模块得到的Saliency map,与groun-truth之间的残差,从而细化出预测模块的Saliency map。

而除了BASNet,还有网友推荐了U2-Net,依然来自同一个作者,其效果更好。

人人可用的在线抠图,还是AI自动化的那种!北大校友的算法被玩出新高度

其研究是《U2 -Net: Going Deeper with Nested U-Structure for Salient Object Detection》

人人可用的在线抠图,还是AI自动化的那种!北大校友的算法被玩出新高度

实验结果像这样:

  人人可用的在线抠图,还是AI自动化的那种!北大校友的算法被玩出新高度

同一项技术,不一样的玩法,你觉得这个方法还可以做什么有趣的应用?

另外,想要去试试这个在线图像分割应用,可戳下方链接哦~

网址:
https://rapidapi.com/objectcut.api/api/background-removal
参考链接:
https://www.reddit.com/r/MachineLearning/comments/if1sdg/p_objectcut_api_that_removes_automatically_image/

<section style="white-space: normal;line-height: 1.75em;text-align: center;"><strong style="color: rgb(0, 0, 0);font-family: -apple-system-font, system-ui, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;letter-spacing: 0.544px;widows: 1;background-color: rgb(255, 255, 255);max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 0.5px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><strong style="max-width: 100%;font-size: 16px;letter-spacing: 0.544px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 0.5px;box-sizing: border-box !important;overflow-wrap: break-word !important;">—</span></strong>完<strong style="max-width: 100%;font-size: 16px;letter-spacing: 0.544px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 0.5px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><strong style="max-width: 100%;font-size: 16px;letter-spacing: 0.544px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 0.5px;box-sizing: border-box !important;overflow-wrap: break-word !important;">—</span></strong></span></strong></span></strong></section><pre><pre style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section style="max-width: 100%;letter-spacing: 0.544px;white-space: normal;font-family: -apple-system-font, system-ui, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;widows: 1;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section powered-by="xiumi.us" style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section style="margin-top: 15px;margin-bottom: 25px;max-width: 100%;opacity: 0.8;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section style="max-width: 100%;letter-spacing: 0.544px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section powered-by="xiumi.us" style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section style="margin-top: 15px;margin-bottom: 25px;max-width: 100%;opacity: 0.8;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section><section style="margin-bottom: 15px;padding-right: 0em;padding-left: 0em;max-width: 100%;color: rgb(127, 127, 127);font-size: 12px;font-family: sans-serif;line-height: 25.5938px;letter-spacing: 3px;text-align: center;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;"><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;font-size: 16px;font-family: 微软雅黑;caret-color: red;box-sizing: border-box !important;overflow-wrap: break-word !important;">为您推荐</span></strong></span></section><section style="margin-top: 5px;margin-bottom: 5px;padding-right: 0em;padding-left: 0em;max-width: 100%;min-height: 1em;font-family: sans-serif;letter-spacing: 0px;opacity: 0.8;line-height: normal;text-align: center;box-sizing: border-box !important;overflow-wrap: break-word !important;">图灵奖得主Yann LeCun《深度学习》春季课程</section><section style="margin-top: 5px;margin-bottom: 5px;padding-right: 0em;padding-left: 0em;max-width: 100%;min-height: 1em;font-family: sans-serif;letter-spacing: 0px;opacity: 0.8;line-height: normal;text-align: center;box-sizing: border-box !important;overflow-wrap: break-word !important;">你一定从未看过如此通俗易懂的YOLO系列解读 (下)</section><section style="margin-top: 5px;margin-bottom: 5px;padding-right: 0em;padding-left: 0em;max-width: 100%;min-height: 1em;font-family: sans-serif;letter-spacing: 0px;opacity: 0.8;line-height: normal;text-align: center;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">22课时、19大主题,CS 231n进阶版课程视频上线<br  /></section><section style="margin-top: 5px;margin-bottom: 5px;padding-right: 0em;padding-left: 0em;max-width: 100%;min-height: 1em;font-family: sans-serif;letter-spacing: 0px;opacity: 0.8;line-height: normal;text-align: center;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">数据分析入门常用的23个牛逼Pandas代码</section><section style="margin-top: 5px;margin-bottom: 5px;padding-right: 0em;padding-left: 0em;max-width: 100%;min-height: 1em;font-family: sans-serif;letter-spacing: 0px;opacity: 0.8;line-height: normal;text-align: center;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="color: rgb(87, 107, 149);font-size: 14px;">如何在科研论文中画出漂亮的插图?</span><br  /></section></section></section></section></section></section></section></section></section>
人人可用的在线抠图,还是AI自动化的那种!北大校友的算法被玩出新高度

本篇文章来源于: 深度学习这件小事

本文为原创文章,版权归所有,欢迎分享本文,转载请保留出处!

知行编程网
知行编程网 关注:1    粉丝:1
这个人很懒,什么都没写

发表评论

表情 格式 链接 私密 签到
扫一扫二维码分享