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