I\'m streaming a png image from my iPhone to my MacBook over tcp. The MacBook code is from http://docs.python.org/library/socketserver.html#requesthandler-objects. How can t
When you have to load from file, this simple solution does the job (tested with opencv-python-3.2.0.6):
opencv-python-3.2.0.6
import cv2 img = cv2.imread(somefile)