         func checkWhiteAndBlackListForCharacter(_ character: Character) -> Bool {
             let whiteList =   characterWhiteList?.characters.contains(character) ?? true
             let blackList = !(characterBlackList?.characters.contains(character) ?? false)
-            
             return whiteList && blackList
         }
 

    open      var yMergeRadius:CGFloat = 3
    
    ///Only recognize characters on White List
    open      var characterWhiteList: String? = String()
    ///Don't recognize characters on Black List
    open      var characterBlackList: String? = String()
    
    ///Confidence must be bigger than the threshold
    open      var confidenceThreshold:Float = 0.1


///The characters the globalNetwork can recognize.
///It **must** be in the **same order** as the network got trained
//internal var recognizableCharacters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
internal var recognizableCharacters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxzy"
///The FFNN network used for OCR
// internal var globalNetwork = FFNN.fromFile(Bundle(for: SwiftOCR.self).url(forResource: "OCR-Network", withExtension: nil)!) ?? FFNN(inputs: 321, hidden: 100, outputs: recognizableCharacters.characters.count, learningRate: 0.7, momentum: 0.4, weights: nil, activationFunction: .Sigmoid, errorFunction: .crossEntropy(average: false))
internal var globalNetwork = FFNN.fromFile(Bundle(for: SwiftOCR.self).url(forResource: "OCR-Network", withExtension: nil)!)!

open class SwiftOCR {
    
