Quantcast
Channel: Questions in topic: "native plugin"
Viewing all articles
Browse latest Browse all 376

AR Foundation shared camera access to allow for proper image taking

$
0
0
I am trying to develop an AR app, that would guide the user around the environment in order to capture images from the right angle. The problem is that the AR resolution is quite limited and autofocus stops working when I switch from the default resolution, which is 480p I think. So what I had in mind is that I would pause the AR session to free up resources - camera - and write a native plugin (currently only android) that would just take the picture and free up the camera. I've managed to make it work, the only problem is that the AR camera freezes for quite a long time, more than 5 seconds, which is unacceptable for production. I know an app that achieves something very similar/same, but it's only available on iOS, so I suppose they have complete control over it by using the ARKit directly. I would need this app to be multiplatform, so Unity was quite a nobrainer. Also, Google has a sample app, that is named "shared camera access" so I assume something like this should be achievable. **Is there any way to make something like this doable?**

Viewing all articles
Browse latest Browse all 376

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>