Distinguishing text from other regions