Makes the ocrPatternMathing algoritme faster and a check on the 0 Q O maked