I wonder if this could be implemented in https://github.com/gyroflow/gyroflow to further enhance the result from gyro based stabilization.