debug_utils.hpp 688 B

123456789101112131415161718192021222324
  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. #ifndef OPENCV_DNN_UTILS_DEBUG_UTILS_HPP
  5. #define OPENCV_DNN_UTILS_DEBUG_UTILS_HPP
  6. #include "../dnn.hpp"
  7. namespace cv { namespace dnn {
  8. CV__DNN_INLINE_NS_BEGIN
  9. /**
  10. * @brief Skip model import after diagnostic run in readNet() functions.
  11. * @param[in] skip Indicates whether to skip the import.
  12. *
  13. * This is an internal OpenCV function not intended for users.
  14. */
  15. CV_EXPORTS void skipModelImport(bool skip);
  16. CV__DNN_INLINE_NS_END
  17. }} // namespace
  18. #endif // OPENCV_DNN_UTILS_DEBUG_UTILS_HPP