diff --git a/doc/examples/plot_gabor.py b/doc/examples/plot_gabor.py index b3526943..db1ff7d6 100644 --- a/doc/examples/plot_gabor.py +++ b/doc/examples/plot_gabor.py @@ -73,15 +73,15 @@ ref_feats[2, :, :] = compute_feats(wall, kernels) print('Rotated images matched against references using Gabor filter banks:') -print('original: brick, rotated: 30deg, match result:', end='') +print('original: brick, rotated: 30deg, match result: ', end='') feats = compute_feats(nd.rotate(brick, angle=190, reshape=False), kernels) print(image_names[match(feats, ref_feats)]) -print('original: brick, rotated: 70deg, match result:', end='') +print('original: brick, rotated: 70deg, match result: ', end='') feats = compute_feats(nd.rotate(brick, angle=70, reshape=False), kernels) print(image_names[match(feats, ref_feats)]) -print('original: grass, rotated: 145deg, match result:', end='') +print('original: grass, rotated: 145deg, match result: ', end='') feats = compute_feats(nd.rotate(grass, angle=145, reshape=False), kernels) print(image_names[match(feats, ref_feats)]) diff --git a/doc/examples/plot_local_binary_pattern.py b/doc/examples/plot_local_binary_pattern.py index 5bb4359e..8c9cabae 100644 --- a/doc/examples/plot_local_binary_pattern.py +++ b/doc/examples/plot_local_binary_pattern.py @@ -61,11 +61,11 @@ refs = { # classify rotated textures print('Rotated images matched against references using LBP:') -print('original: brick, rotated: 30deg, match result:', end='') +print('original: brick, rotated: 30deg, match result: ', end='') print(match(refs, rotate(brick, angle=30, resize=False))) -print('original: brick, rotated: 70deg, match result:', end='') +print('original: brick, rotated: 70deg, match result: ', end='') print(match(refs, rotate(brick, angle=70, resize=False))) -print('original: grass, rotated: 145deg, match result:', end='') +print('original: grass, rotated: 145deg, match result: ', end='') print(match(refs, rotate(grass, angle=145, resize=False))) # plot histograms of LBP of textures