Matthias Bisping e652da1fa8 refactoring
2022-02-06 14:53:17 +01:00

17 lines
242 B
Python

import cv2
from matplotlib import pyplot as plt
def show_mpl(image):
fig, ax = plt.subplots(1, 1)
fig.set_size_inches(20, 20)
ax.imshow(image)
plt.show()
def show_cv2(image):
cv2.imshow("", image)
cv2.waitKey(0)