Hello,
On an OAK-D series 2 POE camera I try to use hardware FSYNC for the stereo and color cameras at the same time.
I found this example: https://gist.github.com/Erol444/0138af63378dc8de5b3f7d80db1ea1a5
if I see that right the camRgb
RGB node should receive color pictures, but it only displays frames of the stereo pair.
In my project the trigger isn't necessary for the color camera and as mentioned in FSYNC document the IMX378 cameras not support snapshot mode, therefore I tried to remove the trigger lines from the example: camRgb.initialControl.setFrameSyncMode(dai.CameraControl.FrameSyncMode.INPUT)
camRgb.initialControl.setExternalTrigger(4, 3)
but still no color frame (the has()
function of the OutputQueue
always return false).
I saw the same issue on the script trigger example (Link)
Note:
If the stereo nodes are deleted, the color camera works with trigger. I also tried to set the same FPS for all 3 cameras. In LogLevel.DEBUG only hardware info displayed apart from the QObject error message which only displayed during program start.
QObject::moveToThread: Current thread (0x55cf884cebb0) is not the object's thread (0x55cf89cfebc0).
Cannot move to target thread (0x55cf884cebb0)
Is there a way to
- Use external trigger for stereo camera pair
- Stream or capture frames of the color camera at the same time?
system spec:
- depthai==2.21.2.0
- Python 3.8.3
Thanks