I am trying to set Exposure Compensation using API 2.1 device is Theta SC2.
Same code work or Theta V but not on SC2.
In SC2 photo image meta data also showing 0 Set in Exposure.
I am trying to set Exposure Compensation using API 2.1 device is Theta SC2.
Same code work or Theta V but not on SC2.
In SC2 photo image meta data also showing 0 Set in Exposure.
Exposure compensation is set properly in the metadata. However, the getMetadata API does not work.
See this.
The video above many much more information is available here:
Unfortunately, _getMetadata does not work correctly on the SC2 as of July 10, 2020. You should Run the test yourself for each property you want to use to make sure that the camera is providing your app with the correct data.
Request
Response
Key takeaways:
getMetadata
call does not return the correct image exposure data.getMetadata
call returns the correct image exposure dataUsing a THETA SC2 (Firmware Version: 01.31), I adjusted the exposure to -0.3EV from the mobile app and took a picture.
Ran getMetadata using the camera API.
Code snippet is below.
var url ='http://192.168.1.1/osc/commands/execute';
Map data = {
'name': 'camera.setOptions',
'parameters': {
'options': {
"exposureCompensation": 2.0,
}
}
};
The API returned an ExposureBialsValue of NULL
. Also note that the Model
and Software
values are missing.
Using ExifTool I was able to look at the metadata from the raw image file
I found that the raw image contained the correct exposure metadata of -0.3.
The takeaway is that the SC2 API has some issues. It does not return the correct image exposure metadata information. However, the correct metadata is stored in the image file.
Firmware Version: 3.30.1, getMetadata
Initially, the ExposureBiasValue is set to zero.
I adjusted the Exposure value to 1.3 from the official mobile app.
I used the API to make sure that the value was consistent. Success!
Using the API, I changed the ExposureBiasValue with the API to 2.
I looked at the metadata with the API. ExposureBiasValue = 2. Success!