justadudewhohacks / opencv4nodejs

Nodejs bindings to OpenCV 3 and OpenCV 4
MIT License
4.94k stars 820 forks source link

Stitching #501

Open gelinger777 opened 5 years ago

gelinger777 commented 5 years ago

Sorry for a beginner question! But I want to do very simple thing. I want to move the camera of mobile phone over the document, and via opencv js take the scan of the document. Is that possible? Would you mind to hint some examples I can start with?

Seikon commented 5 years ago

Check this tutorial:

https://www.pyimagesearch.com/2014/09/01/build-kick-ass-mobile-document-scanner-just-5-minutes/

gelinger777 commented 5 years ago

@Seikon would that work on javascript ? That tutorial is in Python...

gelinger777 commented 5 years ago

@Seikon because I want to move the phone from start of doc to end, instead of keeping it without moving and detecting edges...