How Does Optical Character Recognition (Ocr) Work for Scanning Images or Texts?