Closed EddyVerbruggen closed 4 years ago
Added demo-glasses, which is already fully functional on iOS and can be launched with npm run demo.glasses.ios
.
Got a PoC running on Android as well - need to tweak the implementation a little before it can be released.
Pretty happy with Android as well. Although moving the glasses down a little (y-axis) doesn't seem to work, and all but the first two models seem to be transparent. The latter issue is more down to iOS -> Android model conversion issues than this plugin so I don't really mind.
Hmm, iOS 13 seems to have broken something. I can detect a face and add a model, but the model (glasses) isn't showing anymore. Not quite sure what's up.
Pfff took me quite some trial & error, but I found a way to make it work on iOS 13. I'll try and push a big update (especially for iOS) today.
In order to streamline implementations between iOS and Android we need a little demo that showcases this feature.
In the past, I've been playing with models of glasses/spectacles on iOS and that worked surprisingly well. I recorded 2 short videos and threw them on YT: vid 1 and vid 2.
The code for those demos is currently part of the /demo app but it may be more convenient to create a dedicated demo. Not sure in which stack yet, possibly plain TS.