import cv2
import numpy as np
import random
import matplotlib.pyplot as plt


def show_image_point(image, x1, y1):
    plt.imshow(image)
    plt.scatter(x1, y1)
    plt.show()


def show_correspondence(image1, image2, X1, Y1, X2, Y2):
    colors = [np.random.rand(3) for _ in range(len(X1))]
    plt.imshow(image1)
    print('Saving visualization to vis.jpg\n')
    plt.scatter(X1, Y1, c=colors)
    plt.show()
    plt.imshow(image2)
    plt.scatter(X2, Y2, c=colors)
    plt.show()

71d9f553818a00f38c5b311d45164fb82e54acdb
<mask token>

<mask token>


def show_image_point(image, x1, y1):
    plt.imshow(image)
    plt.scatter(x1, y1)
    plt.show()


<mask token>

<mask token>


def show_image_point(image, x1, y1):
    plt.imshow(image)
    plt.scatter(x1, y1)
    plt.show()


def show_correspondence(image1, image2, X1, Y1, X2, Y2):
    colors = [np.random.rand(3) for _ in range(len(X1))]
    plt.imshow(image1)
    print('Saving visualization to vis.jpg\n')
    plt.scatter(X1, Y1, c=colors)
    plt.show()
    plt.imshow(image2)
    plt.scatter(X2, Y2, c=colors)
    plt.show()

import cv2
import numpy as np
import random
import matplotlib.pyplot as plt


def show_image_point(image, x1, y1):
    plt.imshow(image)
    plt.scatter(x1, y1)
    plt.show()


def show_correspondence(image1, image2, X1, Y1, X2, Y2):
    colors = [np.random.rand(3) for _ in range(len(X1))]
    plt.imshow(image1)
    print('Saving visualization to vis.jpg\n')
    plt.scatter(X1, Y1, c=colors)
    plt.show()
    plt.imshow(image2)
    plt.scatter(X2, Y2, c=colors)
    plt.show()
