Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add depth, accelerometer, and gyroscope capture #37

Open
suhlrich opened this issue Feb 3, 2024 · 1 comment
Open

Add depth, accelerometer, and gyroscope capture #37

suhlrich opened this issue Feb 3, 2024 · 1 comment

Comments

@suhlrich
Copy link
Member

suhlrich commented Feb 3, 2024

We'd like to record depth, accelerometer, and gyroscope data simultaneous with the video. Then, we'd like to zip them (or combine them into one file somehow) on device and upload the zipped file to the server like usual.

By default, we still want to just record video, and we would pass a parameter through the session status that would indicate when we want to also record these other data streams (

guard let sesssionStatusUrl = self?.cameraController.sessionStatusUrl,
)

For depth map, let's only record it when the device has Lidar (eg: https://developer.apple.com/documentation/avfoundation/additional_data_capture/capturing_depth_using_the_lidar_camera)

Let's make sure the Lidar is capturing the same field of view as the camera, even if it is not able to be full resolution.

@xhardcorex
Copy link
Collaborator

Hi Scott! It's possible to receive data, write to the file, archive data and send to the server.
I assume that it will take around 25 hours and and prepaid hours should be enough to get this task done.

Could you please provide detailed example with new data that you expect to receive from the phone.

Which type of would do you prefer to use for writing data before archiving (.txt, .json etc.)?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants