import Image, cv2
cap = cv2.VideoCapture(0)
_, cv2_im = cap.read()
cv2_im = cv2.cvtColor(cv2_im, cv2.COLOR_BGR2RGB)
pil_im = Image.fromarray(cv2_im)
pil_im.show()
convert openCV image into PIL Image in Python (for use with Zbar library)