npy_blob.hpp 575 B

1234567891011121314151617181920
  1. // This file is part of OpenCV project.
  2. // It is subject to the license terms in the LICENSE file found in the top-level directory
  3. // of this distribution and at http://opencv.org/license.html.
  4. //
  5. // Copyright (C) 2017, Intel Corporation, all rights reserved.
  6. // Third party copyrights are property of their respective owners.
  7. #ifndef __OPENCV_DNN_TEST_NPY_BLOB_HPP__
  8. #define __OPENCV_DNN_TEST_NPY_BLOB_HPP__
  9. namespace cv
  10. {
  11. // Parse serialized NumPy array by np.save(...)
  12. // Based on specification of .npy data format.
  13. Mat blobFromNPY(const std::string& path);
  14. }
  15. #endif