olexale / arkit_flutter_plugin

ARKit Flutter Plugin
MIT License
796 stars 225 forks source link

Use the light Estimation only #156

Open mlopez0 opened 3 years ago

mlopez0 commented 3 years ago

Is it possible to use the Light Estimation only?

I checked this example

Basically what I'm trying to achieve is the following:

I'm not sure how to combine (If it possible, the ARKit to be read within the camera)

olexale commented 3 years ago

Hi! I'm not sure I fully understand what you're trying to achieve, but will try to help 🙂

You may get ambient intensity the same way it is done in the light estimation sample.

If photo quality is not essential, you may do a photo using snapshot as it's described in the snapshot sample. Otherwise, you may save the ambient light value and take a photo with any other plugin from pub.dev.

I hope that helps.

Best, Oleksandr