Closed JesperChristensen89 closed 4 years ago
The input struct is tricky to use, it's either :
input_t = sl.InputType()
input_t.set_from_svo_file(path)
init_params.input = input_t
or directly like this :
init_params.set_from_svo_file(path)
Otherwise, the value is discarded in a temporary object. This is caused by Cython and the need to match the C++ API.
However, it's true that there was a problem in the export_svo sample which is now fixed https://github.com/stereolabs/zed-examples/commit/3c035a711f9bce7250f38346c80ddfd9afd140bd
On Windows 10 with newest SDK (downloaded installed this week). Works on Linux.
Code snippet to reproduce: