January 6, 2022, 3:57pm
Is there a way i can get the direction of the camera with respect to gravity direction?
I thought that orientation data is different with the camera vector, since initial directions are all different …
I want to get a vector that points to the center of gravity.
Thank you so much about any help!!
January 6, 2022, 3:59pm
There’s a gyroscope sensor in the camera. Are you taking a still image?
I pulled the option from the camera and it does appear that the _topBottomCorrection is set by default. To change this, you need to use the API.
I did my test with firmware 3.21.1
Firmware and Model used in test
Test with _topBottomCorrection set to “Apply”
How to Verify Camera topBottomCorrection is set to Appl
Send this command
You should see this reponse.
Check to see if we can get orientation data
To get the sensor data in still image, you must set
January 10, 2022, 8:10am
i’ m taking a 360 video! is this provided for video too?
do you have any suggestion to get camera orientation on video data?
Maybe i have to apply _topBottomCorrection to all the frames… thank you for your help!
January 10, 2022, 2:26pm
The gyroscope data is not attached to the frames of video in a way that we can extract. We do not know the location of the sensor data in the video files.
You can build a plug-in to record the sensor data in an independent log file and then use the plug-in to trigger the video and match up the gyro sensor file and the video
I recently read an
article by @yokazuya on using the THETA motion sensors to take a picture.
He used the Android Sensor class.
I went through his article and was able to successfully get data from the THETA internal accelerometer. I’m displaying the data to both logcat and using it to trigger the shutter of the THETA. The working repo I used for my test is below. Make sure you set the plug-in permission after installing it. I’m using a mock location.
If you want to test it out f…
January 12, 2022, 8:12am
thank you for your reply! have a good day!