WebCamera
WebCamera copied to clipboard
docScanner : processed image quality/resolution
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 ?
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.
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
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?