I have an Oak-1 POE camera that keeps crashing but doesn't generate any crash dumps. I have added system logging into the script node to try and see what could be causing it, but everything seems to be running fine up until the camera just crashes/reboots. From the logging there isn't any thread growth, memory usage growth, and CPU usage is nowhere near 100% as it is only running at 5fps. Most of the time it will recover on its own but sometimes it will fail to recover and has to be power cycled. I have also tried having Claude Sonnet 4.5 go through and improve the script node with better exception handling, tracking, garbage collecting, etc. while referencing the depthai docs to try and ensure the script is as stable as possible but it that hasn't helped. The camera is running bootloader v0.0.28 and I have tried flashing it with depthai v2.30 and 2.31 with no noticeable difference.
The script basically runs a yolo11 model and provides the original image, detection results, and a health check response to 3 end points on a self-hosted http server. For logging/debugging purposes it also has a syslogger node that passes the temperature and memory stats to the script node which sends the data to a separate script I have running on my local machine so that I can get the system stats with it running in standalone mode. From the network side it is negotiating 15W on the switch with full duplex 1Gbps and the cable run is well under 100m. Attached is the script I am using to create the pipeline and flash the camera.
single-cam-yololivestream.bin#!/usr/bin/env python3
"""
Standalone YOLO Inference with HTTP Server - Continuous Livestream Version
Runs YOLO inference on DepthAI device and hosts:
- Continuous camera image livestream (no frame limit)
Error previewing file. It may have been deleted, or the provided file ID is invalid.