     public func compatibleDetectionMetadata() -> [CameraEngineCaptureOutputDetection] {
         return CameraEngineCaptureOutputDetection.availableDetection()
     }
-
+    
     private func configureFlash(mode: AVCaptureFlashMode) {
         if let currentDevice = self.cameraDevice.currentDevice where currentDevice.flashAvailable && currentDevice.flashMode != mode {
             do {

            self.cameraMetadata.blockCompletionFaceDetection = self.blockCompletionFaceDetection
        }
    }

    public var blockCompletionCodeDetection: blockCompletionDetectionCode? {
        didSet {
            self.cameraMetadata.blockCompletionCodeDetection = self.blockCompletionCodeDetection

let cameraEngineSessionQueueIdentifier = "com.cameraEngine.capturesession"

public class CameraEngine: NSObject {
    
    private let session = AVCaptureSession()
    private let cameraDevice = CameraEngineDevice()
    private let cameraOutput = CameraEngineCaptureOutput()
