import numpy as np
import cv2
import tkinter
import Image, ImageTk
img = cv2.imread('img.png')
b, g, r = cv2.split(img)
img = cv2.merge((r, g, b))
root = tkinter.Tk()
im = Image.fromarray(img)
imgtk = ImageTk.PhotoImage(image=im)
tkinter.Label(root, image=imgtk).pack()
root.mainloop()
Read an image with OpenCV and display it with Tkinter