We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e28dfc4 commit 79581d2Copy full SHA for 79581d2
ch10/large_classification.py
@@ -24,11 +24,11 @@
24
('classifier', grid)])
25
26
def features_for(im):
27
- from features import color_histogram
+ from features import chist
28
im = mh.imread(im)
29
img = mh.colors.rgb2grey(im).astype(np.uint8)
30
return np.concatenate([mh.features.haralick(img).ravel(),
31
- color_histogram(im)])
+ chist(im)])
32
33
def images():
34
'''Iterate over all (image,label) pairs
0 commit comments