Local Binary Patterns Histograms Regions
I know that the representation proposed by Ahonen et. al. is to divide the LBP image into x local regions and extract a histogram from each region.
How many regions OpenCV uses to extract these histograms? Is this a fixed number of regions or can I define this as a parameter?
I am using the LBPH function on Python, for example:
lbph = cv2.face.createLBPHFaceRecognizer()
lbph.train(trainingImages, np.array(labels))
subject, confidence = lbph.predict( image )
Thanks in advance