lbp = cv2.spatial_histogram(gray1, [8], mask=mask, histSize=[256], ranges=[0, 256])
AttributeError: module 'cv2' has no attribute 'spatial_histogram'
下面是我安装的包
lbp = cv2.spatial_histogram(gray1, [8], mask=mask, histSize=[256], ranges=[0, 256])
AttributeError: module 'cv2' has no attribute 'spatial_histogram'
下面是我安装的包