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

docScanner : processed image quality/resolution #46

Open
amtam0 opened this issue Feb 7, 2020 · 3 comments
Open

docScanner : processed image quality/resolution #46

amtam0 opened this issue Feb 7, 2020 · 3 comments

Comments

@amtam0
Copy link

amtam0 commented Feb 7, 2020

Thank you for this great project !

The image processed by the docScanner has lower resolution compared to the standard document scanners

Do you think if we tweak the Opencv functions would enhance the quality of the processed image ?

@riju
Copy link
Owner

riju commented Feb 7, 2020

We are doing the processing on canvas, so that is a constraint for the quality of the stream. Maybe if we could change the videoConstraint a better resolution can be achieved. Happy to hear if there's a better processing algorithm possible without dnn.

@amtam0
Copy link
Author

amtam0 commented Feb 10, 2020

I think that the Opencv image Thesholding works fine on documents. I will check if we can do something to get a better resolution of the perspective image. All suggestions are welcome

@arduino-man
Copy link

I asked around in the #javascript channel on IRC specifically about this resolution issue with this project and was told that we should be able to increase the internal resolution for the canvas while still keeping the canvas rectangle size appropriate for a phone screen. That should get around the low resolution problem shouldn't it?

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

No branches or pull requests

3 participants