erik Hi Erik, thanks for the quick reply! I think I am starting to realise the problem - I am calling oak.start() inside of the function where I create the pipeline (using "with OakCamera() as oak" - because oak is local to the function scope). When blocking=True, the program halts at oak.start(), and when blocking=False, I get the following error:
Stack trace (most recent call last):
#30 Object "", at 00007FFE445F26BD, in BaseThreadInitThunk
Attempt to access invalid address.
#29 Object "", at 00007FF7C5389784, in ??
Attempt to access invalid address.
#28 Object "", at 00007FF7C53856A2, in ??
#27 Object "", at 00007FFDF23C762D, in Py_RunMain
#26 Object "", at 00007FFDF23C77A4, in Py_RunMain
#25 Object "", at 00007FFDF240AA0A, in Py_MakePendingCalls
#24 Object "", at 00007FFDF240B084, in PyRun_AnyFileExFlags
#23 Object "", at 00007FFDF240C52B, in PyRun_SimpleFileExFlags
#22 Object "", at 00007FFDF240B6D4, in PyImport_GetMagicNumber
#21 Object "", at 00007FFDF240B94F, in PyDict_DelItemString
#20 Object "", at 00007FFDF248AB0E, in PyCodec_DecodeText
#19 Object "", at 00007FFDF248AB8E, in PyCodec_DecodeText
#18 Object "", at 00007FFDF248AF8D, in PyEval_EvalCode
#17 Object "", at 00007FFDF248B02F, in PyEval_EvalCodeEx
#16 Object "", at 00007FFDF248B0ED, in PyEval_EvalCodeWithName
#15 Object "", at 00007FFDF23FD06F, in PyFunction_Vectorcall
#14 Object "", at 00007FFDF24061B6, in PyEval_EvalFrameDefault
#13 Object "", at 00007FFDF23F5215, in PyObject_MakeTpCall
#12 Object "", at 00007FFDF244928D, in PyType_GenericNew
#11 Object "", at 00007FFDF24499CA, in PyType_GenericNew
#10 Object "", at 00007FFDF23FC97B, in PyFunction_Vectorcall
#9 Object "", at 00007FFDF23FD06F, in PyFunction_Vectorcall
#8 Object "", at 00007FFDF2400428, in PyEval_EvalFrameDefault
#7 Object "", at 00007FFDF253E7E3, in Py_gitversion
#6 Object "", at 00007FFDF23F5215, in PyObject_MakeTpCall
#5 Object "", at 00007FFDF2448A8A, in PyObject_Str
#4 Object "", at 00007FFDEDEDAA61, in pybind11::error_already_set::error_already_set
#3 Object "", at 00007FFDEDF3959A, in PyInit_depthai
#2 Object "", at 00007FFDEE11F4FA, in PyInit_depthai
#1 Object "", at 00007FFDEE0FE1FE, in PyInit_depthai
#0 Object "", at 00007FFDEE0FE51A, in PyInit
depthai