nosy-b / holography

A small demo using WebXR and Deep Learning to create Holograms of people
https://nosy-b.github.io/holography
231 stars 34 forks source link

Holography

Simple demo of WebXR and Deep Learning using Tensorflow to create holograms on-the-fly. It works on Android with the last Chrome (>= r81)

! REMARK! : I discovered that the possibility to take pictures WHILE in AR Context just works on LG phones surprisingly (https://developers.google.com/ar/discover/supported-devices) as they use the wide angle camera for AR (the phone I used by chance)!! So to use this demo with other phones, take the picture (using usual browser get media api) but before launching the AR Context!

alt text

DEMO here: http://nosy-b.github.io/holography

How to

Description

Small code that create particles for people extracted from camera feed using Bodypix model Feel free to use this dirty little code for your own experiments I put demos on my twitter sometimes https://twitter.com/AlexandreDevaux

Getting Started

Dependencies

Help

One thing to be careful about is not to frame too close the subject you want to make a hologram of. The camera frame is smaller than what your screen shows. (A good todo would be to show camera frame while in AR)

Authors

Alexandre Devaux @AlexandreDevaux

Version History

License

Check the license of THREEJS and Tensorflow