Skip to content
Snippets Groups Projects
Commit a1e27e3f authored by Patrik Huber's avatar Patrik Huber
Browse files

Shortened cv::Mat Python type-caster string

parent 52598208
No related branches found
No related tags found
No related merge requests found
...@@ -220,7 +220,7 @@ struct type_caster<cv::Mat> ...@@ -220,7 +220,7 @@ struct type_caster<cv::Mat>
} }
}; };
PYBIND11_TYPE_CASTER(cv::Mat, _("numpy.ndarray[uint8|float32|float64[m, n, d]] (d<=4)")); PYBIND11_TYPE_CASTER(cv::Mat, _("numpy.ndarray[uint8|float32|float64[m, n, d]]"));
}; };
NAMESPACE_END(detail) NAMESPACE_END(detail)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment