I need the code for local binary pattern for a dataset with six classes in python. The below code is working only for single image. How can this code loop for a entire dataset w