         // tesseract OCR settings
         self.tesseract.setVariableValue("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ<", forKey: "tessedit_char_whitelist")
         self.tesseract.delegate = self
-        self.tesseract.rect = CGRect(x: 0, y: 0, width: 900, height: 175)
+        
+        self.tesseract.rect = CGRect(x: 0, y: 0, width: ocrParsingRect.size.height / 2, height: ocrParsingRect.size.width / 2)
         
         // see http://www.sk-spell.sk.cx/tesseract-ocr-en-variables
         self.tesseract.setVariableValue("1", forKey: "tessedit_serial_unlv")

        // sourceImage is the same image you sent to Tesseract above.
        // Processing is already done in dynamic filters
        if showPostProcessingFilters { return sourceImage }

        var filterImage: UIImage = sourceImage
        exposureFilter.exposure = self.lastExposure
        filterImage = exposureFilter.image(byFilteringImage: filterImage)

            self.crop --> self.pictureOutput
        }
    }
    
    @objc public func stopScan() {
        self.view.backgroundColor = UIColor.white
        camera.stopCapture()
