An interactive document scanner built in Python using OpenCV featuring automatic corner detection.
The frame capturing through a webcam is first preprocessed to detech all the edges in the figure. Then if the edges form a rectangle and have certain minimum area than that rectangle is extracted and displayed on the screen