A simple document detector in python. Check out the article I wrote explaining how I made this step by step right here.
Run the following command to install the necessary packages.
pip install -r requirements.txt
python3 page_extractor.py -i 'input/receipt.jpg'