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

Add selectable R/G/B channel for BW image #3183

Open
zaskokus opened this issue Aug 17, 2024 · 5 comments
Open

Add selectable R/G/B channel for BW image #3183

zaskokus opened this issue Aug 17, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@zaskokus
Copy link

The Feature

As the title says. For example my meter has only black and red digits on white background. Being able to use only red channel for BW image would greatly increase contrast of the picture, thus recognition quality - this is especially an issue for my analog wheel-arrow thingie.

@zaskokus zaskokus added the enhancement New feature or request label Aug 17, 2024
@caco3
Copy link
Collaborator

caco3 commented Aug 17, 2024

Did you try if you could use Gray Scale mode to work around this?

@zaskokus
Copy link
Author

Yes, I am using gray scale already, and that's what I'm trying to suggest as an extension of it - a selectable channel(s) for gray scale.

@caco3
Copy link
Collaborator

caco3 commented Aug 17, 2024

Not sure what CamSpecialEffect actually does, but maybe give it a try.

@SybexX FYI

@zaskokus
Copy link
Author

zaskokus commented Aug 17, 2024

Doesn't look like it changed anything at all. For reference I tied the same with an image editor and my red digits were much darker when using red channel for BW than all RGB for BW. The result is near identical to RGB based BW.

https://imgur.com/Cb20aJf yeah, with R-based BW the arrow for analog wheel is almost as black as the digits. IDK why it has such an issue with it..

@SybexX
Copy link
Collaborator

SybexX commented Aug 17, 2024

The special effects are handled by the OV2640 itself.
I'm assuming that you have to retrain the models for the special effects.

OV2640.Camera.Module.Software.Application.Notes.pdf
Camera.ov2640_ds_1.8_.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants