Hi @pikelcw ,
Sorry about the trouble here. We recently discovered a stability issue on the Pi series with our Gen2 API (which is our mainline API) that we've been feverishly trying to solve.
So I think this is what you are running into. @GergelySzabolcs I think got to the bottom of it yesterday, and is working to implement a fix.
In the time being, depending on what you are planning to accomplish, you could use our Gen1 API. We have tested that (to make sure it doesn't suffer from the same issue) and it will run for 2 days straight without an issue.
If that's of interest, see below for instructions:
To run gen1, clone this repo:
And then checkout
And then you can run
And then to run the equivalent of
29_2_spatial_object_tracker.py, you can run:
python3 depthai_demo.py -s metaout previewout depth object_tracker -bb -ff
Now that we think we know what the root cause is, we are working to fix it in Gen2, but we don't yet have a timeline on that. This bug went back to the very beginnings of Gen2, but didn't actually become evident until recently.
Thanks and sorry again about the trouble here.