Enhancing optical character recognition: Efficient techniques for document layout analysis and text line detection | Synapse