// Copyright (c) OpenMMLab. All rights reserved. #ifndef MMDEPLOY_CSRC_APIS_PYTHON_COMMON_H_ #define MMDEPLOY_CSRC_APIS_PYTHON_COMMON_H_ #include #include "apis/c/common.h" #include "pybind11/numpy.h" #include "pybind11/pybind11.h" #include "pybind11/stl.h" namespace py = pybind11; using PyImage = py::array_t; namespace mmdeploy { std::map &gPythonBindings(); mm_mat_t GetMat(const PyImage &img); } // namespace mmdeploy #endif // MMDEPLOY_CSRC_APIS_PYTHON_COMMON_H_