They say sufficiently advanced technology is indistinguishable from magic, which makes digital interaction artist Cyril Diagne’s tech demo pretty magical.
Today he uploaded a video showing how you can copy real-life objects from your environment and paste them into Photoshop on your desktop, merely by pointing your phone.
4/10 – Cut & paste your surroundings to Photoshop
Code: https://t.co/cVddH3u3ik
Book: @HOLOmagazine
Garment: SS17 by @thekarentopacio
Type: Sainte Colombe by @MinetYoann @ProductionType
Technical Insights: ?#ML #AR #AI #AIUX #Adobe #Photoshop pic.twitter.com/LkTBe0t0rF— Cyril Diagne (@cyrildiagne) May 3, 2020
Of course, even when you understand what is going on, the technology itself remains pretty impressive.
In the demo Cyril combined augmented reality and AI, using BASNet AI microservice for object detection and background removal, allowing him to create a clear object from the photo captured by his phone, which then uses the OpenCV SIFT algorithm to find where on the screen he is pointing the camera by comparing a screenshot of the screen with the field of view of the phone camera to derive and X-Y coordinate to paste the image into photoshop, using a local server running on the laptop.
If you still find this rather hard to believe, Diagne, who is doing an art residency at Google, has made the code available on GitHub to try yourself.
One can, of course, imagine this feature easily showing up on the Microsoft HoloLens, and I am sure it will not be long before someone with HoloLens posts a similar demo.
Check out the project at Github here and see some more of his demos below:
Using Drag&Drop in #AR with @TensorFlow and #OpenCV to connect @zachlieberman prints to their video counterparts.#AIUX #WebXR #MixedReality #AugmentedReality #TensorFlowJS #MachineLearning #Interactive #openframeworks pic.twitter.com/JpZy7neDL0
— Cyril Diagne (@cyrildiagne) April 11, 2020
Also works as an #AR party trick – thanks to my wife & @IronMaiden (turn the sound on!) ???#StayHome #AIUX #WebXR #MixedReality #AR #AugmentedReality #TensorFlowJS #MachineLearning #Interactive #openframeworks pic.twitter.com/lfRXjgOwkF
— Cyril Diagne (@cyrildiagne) April 12, 2020
Just pushed the code of a chrome extension that turns every Instagram posts into 3d images using #3DPhotoInpainting. No GPU needed thanks to @GoogleColab but a bit of patience to set it up 😉
Demo: @parrstudio's amazing work
Code: https://t.co/59yJUvRHxE#AIUX #Interaction #ML pic.twitter.com/86mMBWdm7V— Cyril Diagne (@cyrildiagne) April 19, 2020