handle case of empty OCR text, generated or supplied