A guide to text detection and recognition using MMOCR