Colorwaver icon indicating copy to clipboard operation
Colorwaver copied to clipboard

perf: Run `getColors` algorithm directly on `CVPixelBuffer` instead of costly `UIImage` conversion

Open mrousavy opened this issue 3 years ago • 0 comments

Creates a custom implementation of getColors to get the colors directly on the CVPixelBuffer we already stream, instead of converting CMSampleBuffer -> CVPixelBuffer -> CGImage -> UIImage every time.

This should make the Frame Processor Plugin a lot faster.

mrousavy avatar Sep 23 '21 11:09 mrousavy