Skip to content

Instantly share code, notes, and snippets.

@agathauy
Created September 29, 2019 12:37
Show Gist options
  • Save agathauy/00e8a2c1a261a64bf0a3743b9caffe26 to your computer and use it in GitHub Desktop.
Save agathauy/00e8a2c1a261a64bf0a3743b9caffe26 to your computer and use it in GitHub Desktop.

Revisions

  1. agathauy created this gist Sep 29, 2019.
    5 changes: 5 additions & 0 deletions opencv_view_image_jupyter.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    fig = plt.figure(figsize=(12, 5), dpi= 80, facecolor='w', edgecolor='k')
    ax1 = fig.add_subplot(1,2,1)
    ax1.imshow(cv.cvtColor(library1_img, cv.COLOR_BGR2RGB))
    ax2 = fig.add_subplot(1,2,2)
    ax2.imshow(cv.cvtColor(library2_img, cv.COLOR_BGR2RGB))