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

added dynamic brightness feature #199

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

vanshxbansal
Copy link

-if image is dull or dark then its brightness will be increased so that no wrong scan take place
-in my case the default brightness I was taking is 200 and above these images where getting scan correctly below problem was there

  • also image overall brightness is not increased first image is divided in four quadrant then brightness of each quadrant is checked with 200 and if lower then increased to near 200 ,this will also help in those image where image is taken using mobiles with flash light on [uneven brightness on image]

@palash018
Copy link
Contributor

Good work! However, there are cases where a fixed scaler value of 200 may not be sufficient. I would like to suggest some improvements : -

  • It would be better if the value was dynamic, with scope for a slider GUI that can change the value.
  • A slider would allow users to see the "before and after" effects more easily.
  • In the case of a container, the value can be passed as arguments or configured instead of using a GUI.
  • Consider incorporating multiple brightening functions, such as gamma correction, for better results.

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.

3 participants