Build Mobile Document Scanner by OpenCV.js [closed]
Hello, I'm a newbie in OpenCV and I'm using OpenCV.js for my app.
I'm going to build a scanner app to take picture, auto detect document and crop it.
I'm following the tutorial of this page, which use Python to build app. In step 2 and 3, I do not know how to convert it into js for my app, can anybody help me please?
Thank you so much.
show, what you have so far, please
also, please take a look at the js tutorials (e.g. finding contours is covered there !)
Thanks for replying me!
This is my code:
I'm stuck in the step how to get 4 edges to draw contour and how to crop this contour.
I have already read the js tutorials but for me it is still too hard to understand all.