(scene_images, target_images)
| 4 | import os |
| 5 | |
| 6 | def show_input_images(scene_images, target_images): |
| 7 | plt.figure(figsize=(15,15)) |
| 8 | num = len(scene_images) |
| 9 | plt.subplot(221), plt.imshow(scene_images[0]), plt.axis('off') |
| 10 | plt.subplot(222), plt.imshow(target_images[0]), plt.axis('off') |
| 11 | plt.subplot(223), plt.imshow(scene_images[num-1]), plt.axis('off') |
| 12 | plt.subplot(224), plt.imshow(target_images[num-1]), plt.axis('off') |
| 13 | plt.show() |
| 14 | |
| 15 | def resize_viewpoint(img): |
| 16 | if img.shape[0] > img.shape[1]: |
nothing calls this directly
no outgoing calls
no test coverage detected