Log in or register to post comments

how to format focus-area field? (advanced camera API)

April 13, 2017 - 12:46am #1

Hi, I am trying to make a tap to focus for our application using Vuforia Advanced Camera Api (https://library.vuforia.com/articles/Solution/Advanced-Camera-API).

 

I am working on a samsung galaxy s7 all fields you can get using CameraDevice.Instance.GetCameraFields() are type string.

 

However the parameter focusAreas of the setFocusAreas function from the Android Api is type List (List<Camera.Area> focusAreas) (https://developer.android.com/reference/android/hardware/Camera.Parameters.html#setFocusAreas(java.util.List<android.hardware.Camera.Area>))

 

My question is does someone know how to format focus-areas field? I unsuccessfully tried "(580,860,860,1140,1)"

 

If you wanna try some fields you can like that:

 

CameraDevice.Instance.SetField("focus-areas", "(580,860,860,1140,1)");

 

Thanks

how to format focus-area field? (advanced camera API)

August 15, 2017 - 3:12am #3

Hi guys,

Has anyone managed to figure this out? I have the same problem formatting fields that require multiple numerical values and I can't find any information whatsoever. 

Thanks in advance for your help!

how to format focus-area field? (advanced camera API)

June 27, 2017 - 8:42am #2

I have the same question too.

Log in or register to post comments