Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix grayscale passthrough #1083

Merged
merged 18 commits into from
Jan 3, 2024
Merged

Conversation

BytingBulldogs3539
Copy link
Contributor

@BytingBulldogs3539 BytingBulldogs3539 commented Dec 29, 2023

Fix grayscale passthrough with libcamera. Additionally fixes issue #1091.

Must go with PhotonVision/photon-libcamera-gl-driver#11.

When grayscale passthrough is used currently the frames that are returned do not have the type grayscale so calculations that need grayscale to not run. With these changes pipelines that need grayscale will now run and properly display fps.

BEFORE:
image

AFTER:
image

@BytingBulldogs3539 BytingBulldogs3539 requested a review from a team as a code owner December 29, 2023 04:29
@mcm001 mcm001 added this to the 2024 Kickkoff milestone Dec 29, 2023
@mcm001
Copy link
Contributor

mcm001 commented Jan 1, 2024

Please update the description with a link to the libcamera-driver PR, and also include verification (screenshot, comment) this does what it says it will

@mcm001
Copy link
Contributor

mcm001 commented Jan 2, 2024

Need to merge #11 and then bump the libcamera version right?

@mcm001
Copy link
Contributor

mcm001 commented Jan 3, 2024

Needs a libcamera bump

@mcm001 mcm001 merged commit e685334 into PhotonVision:master Jan 3, 2024
23 checks passed
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.

2 participants