arcore-android-sdk
arcore-android-sdk copied to clipboard
Feature Request: Camera Control (flashlight/torch, auto exposure, etc.)
This bug is for collecting various requests for camera control capabilities.
+1 for this, we really need to be able to lock the exposure & white balance of the camera (We're doing some additional computer-vision tracking of a device based on the colour of a blob)
Is there any current method to lock these?
Another +1 for auto-focus control. Our use case relies on close focal point.
ARCore 1.4 adds support for two new aspects of camera control:
-
Auto Focus may be enabled in using
Config.setFocusMode
-
Higher-Res CPU Images may be requested using
Session.setCameraConfig
(available configs are accessed usingSession.getSupportedCameraConfigs()
@inio would it be possible to provide the foundations for a working example of setting AutoFocus? I can see it used in ComputerVisionActivity.java and have tested it successfully, but am unable to get it working with an augmented reality example, like in the HelloArActivity.java example. Any help or example integration would be fantastic for all of us... I know the performance of the AR is supposed to decrease with auto-focus, but the camera quality is really too rough for the best quality demos without auto-focus. Thanks!
Haven't tested this but if you replace:
session.resume();
with
Config config = new Config(session);
config.setFocusMode(Config.FocusMode.AUTO);
session.configure(config);
session.resume();
You should get auto-focus.
Note: this config can be set after Session.resume()
, it's just slightly cleaner/faster to do it beforehand.
+1 for a flashlight control...or give us access to the CameraView layer so we can get to it...
I am trying to integrate ArCore in an existing application which uses Camera 2 API for capturing and viewing images, and want to integrate ArCore in it particularly to track Camera (Acquire Camera Pose) and capture 3D Point Clouds.
Would it create conflicts if I call session.update to acquire frame and getCamera in the same application already accessing and viewing Camera View ?
If no would the frames on ArCore and Camera Preview be synchronized ?
Or is it recommended to use ArCore as the base and use Texture and Image provided by ArCore for rendering the view ?
Hi, I am doing a project related to vision screening. One major point is that I need to capture photo with flashlight on. If I use Camera 2 API, the application needs a few seconds to open it. The photo is pixelated and I cannot do feature extraction.
I will be appreciated if flashlight control feature can be added :).
So we can't turn on the flashlight / torch while using ARCore?
At the moment there is no way to control the flash light while using ARCore.
@inio Thanks for the update. I have a client project that requires this flashlight+ARCore functionality in the very near term, so any beta/preview SDKs or any insights/suggestions you can provide is greatly appreciated. Thanks for all your efforts!
@fredsa @inio Any update or ETA on flashlight being able to be toggled while using ARCore? Thank you!
@fredsa @inio Any update on this issue? We are waiting patiently. Let me know if there's anything me or my dev team can do to help expedite this feature.
I thought the new camera sharing API in Sceneform 1.7 would have helped but didn't see anything that would work there...
I'm also working on a project that will need the flashlight at times, would love to see this feature added!
On some devices, like Samsung S9 and S10, there are some exposure issues in some lighting conditions, it would be very helpful to be able to modify the value if we know that the app is supposed to be used in those specific conditions.
@inio checking to see if there has been any updates or movement on getting flashlight to toggle while using ARCore. Thanks
@inio Me again :) Just checking in to see if there has been any progress on flashlight + ARCore or if you can provide any additional transparency regarding a rough timeline on when we might expect to see this issue resolved (or otherwise!)
Looking forward to the Flash on/off support.
@inio checking in on flashflight toggle support with ARCore. Thank you!
@inio since is only one issue for many features request, how can we follow what is done and what is not?
For image resolution the two methods can be used in java side Session.getSupportedCameraConfigs()
how can we higher the resolution on the ndk/sdk? to use ArCameraIntrinsics_getImageDimensions
?
We are doing in native code for performance.
Thanks!
Any news on flash with AR Core? It's been over an year now...
Any news on flash on/off support with ARCore?
Trying again, when will you release support for flashlight on/off with ARCore? What about zoom with ARCore?
Flashlight support with ARCore would be especially useful in enterprise AR use-cases in not so well lit industrial environments. Would be a great addition.
Still no way to do this? :/
i guess still nothing)
Hello,
Could you, please, give us more information about compatibility between Arcore and Flashlight? Just a lit bit of hope, please.
I make a lot of test about the accuracy of ArCore, and I can certify ArCore have better accuracy during a strong light exposition, so definitively, I need the flash activation to improve ArCore accuracy.
Thank for reading to me and give us an answer.
Still no way to do this???
+1 for a flashlight control