/**Do any additional setup after loading the view.*/
setLicense()
setUpCamera()
setUpDCV()
}
override func viewWillAppear(_ animated: Bool) {
dce.open()
// Start capturing when the view will appear. If success, you will receive results in the CapturedResultReceiver. Otherwise you will receive the error message in a dialog.
cvr.startCapturing(PresetTemplate.readBarcodes.rawValue) { isSuccess, error in