上QQ阅读APP看书,第一时间看更新
Non-image data persistence using NumPy
Previously, we've saved and loaded only images with OpenCV's cv2.imwrite and cv2.imread functions, respectively. But it's possible to save any matrix (not only with image content) of any type and shape with NumPy's data persistence. In this recipe, we will review how to do it.