I would like to use camera to scanner things automatically this might be a good starting point.
I had some hard time with some requirement.
Scans documents using your camera :)
# install python modules
pip3 install -r requirements.txt
# install tesseract (OCR dependency)
# Example: MacOS
# See https://github.com/tesseract-ocr/tesseract for more details
brew install tesseract --with-all-languages
python3 main.py <your_image_file>
The output will be stored in ./result/
directory
Translate and transform the translated text using reverse homography: