handwritten OCR using Python
In any OCR engine, the program has to do the following (see this post for more info).
Detect image border.
Detect and crop each words (especially when working with English)
Preprocess the image.
Recognize the word using OCR engine.
Particularly when working with handwritten documents, the OCR engines may not be provided through existing python package like OCRmyPDF. In that case you would have to write a code that combines each steps using separate available packages on Github.
OCR for scanned PDF using OCRmyPDF
Handwritten OCR engines.
As far as I searched on the web, there are some codes on Github
Line level OCR
https://github.com/lamhoangtung/LineHTR
This one does not contain pretrained model
https://github.com/sushant097/Handwritten-Line-Text-Recognition-using-Deep-Learning-with-Tensorflow
This one also includes pretrained model.
This means that you need to detect the lines or words in the pictures
For this you can use OpenCV
See the following two posts for how you implement this steps.
https://www.pyimagesearch.com/2018/08/20/opencv-text-detection-east-text-detector/
https://medium.com/@tomhoag/opencv-text-detection-548950e3494c
https://bitbucket.org/tomhoag/opencv-text-detection/src/master/
This is a repo for the text-detection using OpenCV
Another option is to use Google Vision API (may cost a little)
https://www.youtube.com/watch?v=3cM8zY_dwdw
https://cloud.google.com/vision/docs/handwriting#vision-document-text-detection-python
Yet aother option is to use the following
https://github.com/awslabs/handwritten-text-recognition-for-apache-mxnet