Skip to content

OpenCV based source code to scan documents from images exactly like mobile apps such as Adobe Scan, Microsoft Lens, CamScanner.

License

Notifications You must be signed in to change notification settings

sourabhkhemka/DocumentScanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

for full documentation see wiki

DocumentScanner: RScan

DocumentScanner or RScan (as I like to call it) is an OpenCV based project to scan documents in various modes. This repository contains source code to scan documents just like state-of-the-art mobile apps like Microsoft Lens or Adobe Scan.

Repository's directory structure

The same algorithm to scan documents is available in both Python & Java.

  • Python code to scan documents can be located at: DocumentScanner/RScan/Python/scan

  • Java code to scan documents can be located at:

  • Both Python & Java directories have empty folders named, "crop". I'll be uploading code to automatically crop documents in the near future.

Built with

  • Python 3.5.4 & OpenCV 3.4.3
  • Java JDK 11.0.8 & OpenCV 3.4.4

Complete Documentation:

Wiki contains complete documentation of the project.

Java code is supposed to make RScan ready for Andriod Development.

Next target to achieve:

RScan requires two or three parameters to be provided manually in order to scan the documents. These parameter selections need to be automated to give a completeness to the project. Once done, an API to scan documents can be coded.

Example outputs:

example

About author:

About

OpenCV based source code to scan documents from images exactly like mobile apps such as Adobe Scan, Microsoft Lens, CamScanner.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •