example for extracting text coordinates