image to array convert in python with only numpy code example Example: open image in numpy image = PIL.Image.open(pathToImage) frame = numpy.asarray(image)