1, receives input
2, increases contrast
3, grayscale conversion
4, blur
5, close connections
6, binary thresholding
7, edge detection
8, dilation
9, find contours
10, perspective transform
Python 3.x
OpenCV 4.x
Recommended to create & activate python virtual environment
pip install opencv-python numpy matplotlib
python main.py <path-to-image-file> --display
Example:
python main.py 0.jpg --display
or
python main.py 0.jpg