-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems starting and stopping linked mono camera capture #1058
Comments
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: |
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?):The text was updated successfully, but these errors were encountered: