vision-camera-resize-plugin icon indicating copy to clipboard operation
vision-camera-resize-plugin copied to clipboard

feat: Modular Transform Pipeline

Open thomas-coldwell opened this issue 1 year ago • 1 comments

This PR removes the resize method exported by the plugin in favour of a transform method which instead takes a series of transform operations that can be ordered in whatever way by the user to transform the Frame.

This allows for a more flexible configuration and extensibility as each transform now operates on the buffer individually so any new operations can be inserted easily and operations such as rotate can now be applied before or after ops like resize to allow transforms that were previously not possible.

thomas-coldwell avatar Aug 20 '24 19:08 thomas-coldwell

Does this PR include Preserve Aspect Ratio Option on Android? It seems there's a modification in cropARGBBuffer.

bglgwyng avatar Oct 06 '24 02:10 bglgwyng