Open crnolan opened 1 month ago
Hi @crnolan , I don't think start/stop cam streaming works flawlessly for all sensors, so likely you are encountering this problem. How about discarding frames when they aren't needed, using Script node? Example here: https://docs.luxonis.com/software/depthai/examples/script_change_pipeline_flow/
Hi @Erol444, thanks for the response. We are trying to align the exact times that frames are taken with external hardware using the FSYNC output, so we need exactly one frame sent for every FSYNC toggle that the camera outputs. I'm not sure how I could do that via the script node.
@crnolan how about decreasing FPS to ~2 (min FPS for most sensors)?
I'm running into issues starting and stopping camera capture, specifically on the mono cameras of my Pro Wide PoEs. I posted on the forums here and jakaskerl suggested that this might be a camera synchronisation problem. Example script below; cameras both display on start, I can successfully stop the camera capture at least once (pressing 'p'). When I restart the cameras (pressing 's') - usually the first time, but sometimes the second iteration of stop / start - the left camera will not start and the right camera will capture a few frames then freeze. If I then try to stop the capture again, I get the error:
I'm on Python 3.10, depthai package
depthai-2.27.0.0-cp310-cp310-win_amd64
. Test code (modified from chengguizi over on issue 745 which might be related?):