内容简介:An AR+ML prototype that allows cutting elements from your surroundings and pasting them in an image editing software.Although only Photoshop is being handled currently, it may handle different outputs in the future.Demo & more infos:
AR Cut & Paste
An AR+ML prototype that allows cutting elements from your surroundings and pasting them in an image editing software.
Although only Photoshop is being handled currently, it may handle different outputs in the future.
Demo & more infos: Thread
Modules
This prototype runs as 3 independent modules:
-
The mobile app
- Check out the /app folder for instructions on how to deploy the app to your mobile.
-
The local server
- The interface between the mobile app and Photoshop.
- It finds the position pointed on screen by the camera using screenpoint
- Check out the /server folder for instructions on configuring the local server
-
The object detection / background removal service
- For now, the salience detection and background removal are delegated to an external service
- It would be a lot simpler to use something like DeepLap directly within the mobile app. But that hasn't been implemented in this repo yet.
Usage
1 - Configure Photoshop
- Go to "Preferences > Plug-ins", enable "Remote Connection" and set a friendly password that you'll need later.
2 - Setup the external salience object detection service
-
As mentioned above, for the time being, you must deploy the BASNet model (Qin & al, CVPR 2019) as an external HTTP service using this BASNet-HTTP wrapper (requires a CUDA GPU)
-
You will need the deployed service URL to configure the local server
3 - Configure and run the local server
- Follow the instructions in /server to setup & run the local server.
4 - Configure and run the mobile app
- Follow the instructions in /app to setup & deploy the mobile app.
Thanks and Acknowledgements
- BASNet code for ' BASNet: Boundary-Aware Salient Object Detection code ', Xuebin Qin , Zichen Zhang , Chenyang Huang , Chao Gao , Masood Dehghan and Martin Jagersand
- RunwayML for the Photoshop paste code
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
创业时, 我们在知乎聊什么?
知乎 / 中信出版社 / 2014-1 / 42.00元
★前所未有的互联网出版实验,500万知友亲手甄选内容,知乎三年创业问答精华大集结 ★史上最真诚创业书,用互联网思维讲透创业的逻辑 ★在知乎,最强大互联网创业群体真实分享创业路上的荣耀与隐忧 ★从Idea到步入正轨,创业公司如何招人、做技术、卖产品、找融资、建团队、处理法务? 他们在知乎聊创业: 创新工场创始人李开复 天使投资人 徐小平 小米科技创始人 雷军......一起来看看 《创业时, 我们在知乎聊什么?》 这本书的介绍吧!