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

        // 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)
        
        // see http://www.sk-spell.sk.cx/tesseract-ocr-en-variables
        self.tesseract.setVariableValue("1", forKey: "tessedit_serial_unlv")

            if renderView==nil {
                renderView = RenderView.init(frame: self.view.bounds)
                self.view.addSubview(renderView)
            }else{
                renderView.frame = CGRect(x: 0, y: 0, width: self.view.bounds.width, height: self.view.bounds.height)
            }
            
            if !showPostProcessingFilters {
