Commit a1e27e3f authored by Patrik Huber's avatar Patrik Huber

Shortened cv::Mat Python type-caster string

parent 52598208
...@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment