'Python save numpy array set_printoptions
I have an image which I've read in with cv2 and python. - I think I'm going to 'store' the image as a nparray in my db for later processing, easy retrieval etc.
What's the difference between just
img = cv2.resize(img, dim, interpolation=cv2.INTER_AREA)
print(img)
and this:
np.set_printoptions(threshold=np.inf)
print(img)
The latter being a much much larger array for some reason which I do not yet understand.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|