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

smoothed gyro data or final applied rotation matrics for image stabilization #835

Closed
1 task done
Ming-chwan opened this issue May 15, 2024 · 3 comments
Closed
1 task done
Labels
enhancement New feature or request

Comments

@Ming-chwan
Copy link

Is there an existing feature request for this?

  • I have searched the existing requests

Description

I just want use the smoothed gyro data or saying , the final rotation matrics for video rotation before GPU rending, any method to dump these information ? Thanks

@Ming-chwan Ming-chwan added the enhancement New feature or request label May 15, 2024
@AdrianEddy
Copy link
Collaborator

Yes, just use the .gyroflow project file (save as "Project file (with processed gyro data)".
See also https://github.com/EmberLightVFX/Gyroflow-to-CSV

@Ming-chwan
Copy link
Author

Thanks AdrianEddy, another doubt is, the script will dump (timestamp, quaternions) info into a file , does it represent the content of varible smoothed_quat1 in code fragment : let smoothed_quat1:Unit<Quaternion> = gyro.smoothed_quat_at_timestamp(timestamp_ms); ?.

if it is YES, I just use the smoothed quaternions (rotation ) to generate a rotation matric in my program to rotate my video frame as it does in frame_transofrm.rs.
Thanks!

@AdrianEddy
Copy link
Collaborator

Yes

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

No branches or pull requests

2 participants