Automatically detects orientation (H/V) of text in images.