1. A computer-implemented method comprising: recognizing, in a first region of an image, a first plurality of text characters having a first orientation in the image; recognizing, in a second region of the image, a second plurality of text characters having a second orientation in the image; and generating an electronic document that includes: a first text object identifying the recognized first plurality of text characters; and a second text object identifying the recognized second plurality of text characters.