Balint Varga
Balint Varga
I don't know about swig, but I managed to make the c++ code work with [pybind](https://github.com/pybind/pybind11) I can't really share the code, but you can get started with this https://pybind11.readthedocs.io/en/stable/advanced/pycpp/numpy.html...
Maybe related: https://github.com/Went-Liang/UnSniffer/issues/5#issuecomment-1720980597
Could be related, but I got infs, and nans when trying to infer on my custom images. The root cause of the issue is probably some box scaling and clipping...