You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use queue callbacks for simpler message handling when passing data between my OAK-D and host and noticed it seems to be missing from the on-device depthai module.
[Script(2)] [critical] AttributeError: 'lpb.DataOutputQueue' object has no attribute 'addCallback'
Expected output:
[Script(2)] [warning] Test
[Script(2)] [warning] Test
[Script(2)] [warning] Test
...
I would like to avoid using a series tryGets within the script node while loop like in the gen2-age-gender experiment just to be able to match inputs with their respective functions and outputs.
The text was updated successfully, but these errors were encountered:
@filiphhh
Thanks for the request for the enhancement. We'lll have to implement that over at device side.
For the time being, you may circumvent this by creating a thread that uses get on a queue in question and afterwards notifies / callbacks a certain function.
Hello!
I am trying to use queue callbacks for simpler message handling when passing data between my OAK-D and host and noticed it seems to be missing from the on-device depthai module.
Sample code:
Output:
Expected output:
I would like to avoid using a series tryGets within the script node while loop like in the gen2-age-gender experiment just to be able to match inputs with their respective functions and outputs.
The text was updated successfully, but these errors were encountered: