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
— 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
— Cyril Diagne (@cyrildiagne) April 19, 2020