Web Document Scanner

Use OpenCV-Python and Flask to create a web document scanner with a camera.

Environment

How to Run

  1. Install Flask:

    pip install flask
  2. Open camera.py and select a device:

    self.cap = cv2.VideoCapture(2) # It should be 0 if you have only one device.
  3. Run the app:

    python35 server.py

    camera list in Python

Reference

Blog

How to Build Web Document Scanner Using OpenCV-Python