luxonis / depthai

DepthAI Python API utilities, examples, and tutorials.
https://docs.luxonis.com
MIT License
938 stars 232 forks source link

[BUG] feature_tracker_color.py fails to switch to hardware acceleration #1166

Open hansonap opened 7 months ago

hansonap commented 7 months ago

When running feature_tracker_color.py with OAK-1 the program crashes when pressing the 's' key to activate hardware accelerated motion estimation.

traceback:

Press 's' to switch between Lucas-Kanade optical flow and hardware accelerated motion estimation!
Switching to hardware accelerated motion estimation
[18443010711E6D0E00] [3.1] [2.236] [system] [critical] Fatal error. Please report to developers. Log: 'opticalFlowPipe' '356'
[18443010711E6D0E00] [3.1] [1712099919.887] [host] [warning] Device crashed, but no crash dump could be extracted.
Traceback (most recent call last):
  File "/.../feature_tracker_color.py", line 125, in <module>
    inPassthroughFrameColor = passthroughImageColorQueue.get()
RuntimeError: Communication exception - possible device error/misconfiguration. Original message 'Couldn't read data from stream: 'passthroughFrameColor' (X_LINK_ERROR)'

System log: log_system_information.json

MartinMotycka commented 6 months ago

@themarpe Please check this. Thank you.