Tutorial on how to build a Document Scanner Application and deploy using streamlit β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
Hello trend,
This is Satya Mallick from LearnOpenCV.com .
Today, we bring you a very interesting and useful project that allows you to scan documents with your phone instead of bulky scanners . You just take a picture of the document and the application would align the document for you!
β
You will learn quite a few Image Processing & Computer Vision techniques while building the OpenCV Document Scanner .
Morphological Operations like Erosion and Dilation. Edge Detection using Canny Edge Detector. Contour Detection to filter out the Document area. GrabCut for background subtraction for segmenting the document. Homography and Perspective Transformation for aligning the doc with a template. You will also learn about deploying the application as a streamlit web application. Check out the demo Web Application here β
Without further ado, let's get started.
You can check out the code by clicking on the button below, and star us on GitHub to say thanks!
What next? You could use OCR on these scanned documents to truly digitize them. Check out our earlier post on OCR with Tesseract and PaddleOCR .
Cheers! βSatya
βCode for ALL blog posts β
βCourses / YouTube / Facebook / LinkedIn / Twitter / Instagram β β
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.