snototter / viren2d

Visualization Toolbox for Computer Vision
https://viren2d.readthedocs.io
MIT License
1 stars 0 forks source link

Log Conversion Failures #18

Open snototter opened 1 year ago

snototter commented 1 year ago

Conversion failures (especially for ImageBuffer and vector classes) should be additionally logged. By default, pybind11 will only raise an exception stating incompatible function arguments, which is a pain to debug for numpy parameters (as the cause could be an incompatible dtype, non-contiguous memory, index error, ...)