Convert handwritten code images into runnable Python
Process images to extract document layout and text lines
Binarize images for OCR with adjustable threshold