def getAdaptiveThreshold(self, image): return cv2.adaptiveThreshold(image,255,cv2.ADAPTIVE_THRESH_GAUSSIAN_C ,\ cv2.THRESH_BINARY,21,0)