Skip to content

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

Draft
mrousavy wants to merge 1 commit intomainfrom
perf-custom-getcolors-implementation
Draft

perf: Run getColors algorithm directly on CVPixelBuffer instead of costly UIImage conversion#9
mrousavy wants to merge 1 commit intomainfrom
perf-custom-getcolors-implementation

Conversation

@mrousavy
Copy link
Owner

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 mrousavy marked this pull request as draft September 23, 2021 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant