OCR is the abbreviation of “Optical Character Recognition”, is a…