                     if networkResult.max() >= self.confidenceThreshold {
                        
                         /*
-                         let recognizedChar = Array(recognizableCharacters.characters)[networkResult.indexOf(networkResult.maxElement() ?? 0) ?? 0]
+                         let recognizedChar = Array(characters.characters)[networkResult.indexOf(networkResult.maxElement() ?? 0) ?? 0]
                          recognizedString.append(recognizedChar)
                          */
                         


open class SwiftOCR {
    
    fileprivate     var network = globalNetwork
    
    //MARK: Setup
    
    ///SwiftOCR's delegate

    //MARK: Init
    public   init(){}
    
	public   init(recognizableCharacters: String, network: FFNN) {
		self.characters = recognizableCharacters
		self.network = network
	}
	
	public   init(image: OCRImage, delegate: SwiftOCRDelegate?, _ completionHandler: @escaping (String) -> Void){
		self.delegate = delegate
		self.recognize(image, completionHandler)
	}
	
	public   init(recognizableCharacters: String, network: FFNN, image: OCRImage, delegate: SwiftOCRDelegate?, _ completionHandler: @escaping (String) -> Void) {
		self.characters = recognizableCharacters
		self.network = network
		self.delegate = delegate
		self.recognize(image, completionHandler)
	}
	
    /**
     
     Performs ocr on the image.
