This commit is contained in:
Michael Hansen
2014-03-23 18:04:48 -04:00
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -11,7 +11,6 @@ if len(sys.argv) != 2:
tag = sys.argv[1]
def call(cmd):
print(shlex.split(cmd))
return subprocess.check_output(shlex.split(cmd), universal_newlines=True).split('\n')
tag_date = call("git show --format='%%ci' %s" % tag)[0]
+1 -1
View File
@@ -105,7 +105,7 @@ def plot_matches(ax, image1, image2, keypoints1, keypoints2, matches,
ax.scatter(keypoints2[:, 1] + offset[1], keypoints2[:, 0],
facecolors='none', edgecolors=keypoints_color)
ax.imshow(image)
ax.imshow(image, interpolation='nearest', cmap='gray')
ax.axis((0, 2 * offset[1], offset[0], 0))
for i in range(matches.shape[0]):