Giter Site home page Giter Site logo

opencv-document-scanner's Introduction

OpenCV-Document-Scanner

Have you ever had issues scanning documents because you have to get the correct overhead angle? Fear not, because this solves the issues (hopefully). This scanner is unique because it will take documents that are angled in images and return it to its original rectangular form! We accomplish this through some mathematics tricks. I might put up a theory section if I am convinced it is interesting.

Limitations

This is a document scanner built in OpenCV, numpy, and standard python libraries. This scanner has multiple limitations as of now (2022-02-10):

  • It can only detect white, rectangular documents
  • The document must be small enough (so post-it notes, index cards, passports, business cards). Larger papers must fit into the python window object, therefore it does not display properly even if the detection algorithm works as expected

Dependencies

I will opt to list out dependencies over putting in a requirements.txt file because this application only needs a Python 3.7+ environment and the following packages.

  • OpenCV (I am using 4.5.5.62)
  • Numpy (any version 1.20+)
  • Streamlit (any version)

Contact

If you take any interest, please collaborate with me and let me know how I should improve this and if you want to collaborate. Contact me at [email protected].

opencv-document-scanner's People

Contributors

githubofandrew avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.