api-interfaces
api-interfaces copied to clipboard
API additions to support animation
Draft pull request as requested. This is WIP on protocol additions to enable animation pipeline.
- The transform sequence has been removed and ChainRequest is used instead now that it is available.
- Warp2d and Warp3d have been replaced by TransformResample which can achieve both based on matrix and settings. No longer have fields like translate_x, translate_y, translate_z and magic values on server side. Now the client controls the coordinate system and transform entirely by passing in column major 3x3 or 4x4 matrix.
- Several transform ops have been removed. Previously had an add_noise which was replaced by init_noise_scale, TransformWarpFlow has moved into
extras
since it is a temporary implementation waiting on future server side processing of init videos. - New
extras
field in request set to 2047 (max 2 byte field id). While iterating in development data can be passed here then when stable and ready promoted to proper messages in the proto before going to production. - Bonus script to update generated code from protos using the Docker image
@pharmapsychotic Rebase this on main, regenerate the stubs, and we're good here - I'll merge. Ping me on Slack when done.