I have to find texture based features of an image like correlation,energy,homogeneity,contrast in python. i am using python-opencv to do other operations.since python opencv returns image as an numpy array.but i don't found any good resource to find glcm using either opencv or numpy. also the i have to extract feature for d=1 and angle=[0,45,135,90] and then use this feature in svm.