Working version of the OCR API, but only with the screenshot “image_sample.png”, added an UIImageView inside the recordPreview View. This code is working (only on press of button labelled “3”).