I think installing depthai_experiments causes something similar too. (Or maybe the requirements for a single experiment.)
Here's the output trying to run depthai_hand_tracker after installing depthai_experiments:
XXXXX@XXXXX:/workdrive/Repositories/oak-d-lite/depthai_hand_tracker$ python3 demo.py -e -g --lm_model lite
Palm detection blob : /workdrive/Repositories/oak-d-lite/depthai_hand_tracker/models/palm_detection_sh4.blob
Landmark blob : /workdrive/Repositories/oak-d-lite/depthai_hand_tracker/models/hand_landmark_lite_sh4.blob
PD post processing blob : /workdrive/Repositories/oak-d-lite/depthai_hand_tracker/custom_models/PDPostProcessing_top2_sh1.blob
Sensor resolution: (1920, 1080)
Internal camera FPS set to: 36
Internal camera image size: 1152 x 648 - pad_h: 252
Creating pipeline...
Creating Color Camera...
Creating Palm Detection pre processing image manip...
Creating Palm Detection Neural Network...
Creating Palm Detection post processing Neural Network...
Creating Hand Landmark pre processing image manip...
Creating Hand Landmark Neural Network (2 threads)...
Pipeline created.
[184430101116701200] [7.841] [NeuralNetwork(4)] [warning] Network compiled for 4 shaves, maximum available 13, compiling for 6 shaves likely will yield in better performance
Pipeline started - USB speed: HIGH
[184430101116701200] [8.073] [NeuralNetwork(8)] [warning] Network compiled for 4 shaves, maximum available 13, compiling for 6 shaves likely will yield in better performance
[184430101116701200] [8.085] [NeuralNetwork(4)] [warning] The issued warnings are orientative, based on optimal settings for a single network, if multiple networks are running in parallel the optimal settings may vary
[184430101116701200] [8.085] [system] [error] Attempted to start Color camera - NOT detected!
[184430101116701200] [8.085] [NeuralNetwork(8)] [warning] The issued warnings are orientative, based on optimal settings for a single network, if multiple networks are running in parallel the optimal settings may vary
^CTraceback (most recent call last):
File "demo.py", line 85, in <module>
frame, hands, bag = tracker.next_frame()
File "/workdrive/Repositories/oak-d-lite/depthai_hand_tracker/HandTrackerEdge.py", line 462, in next_frame
in_video = self.q_video.get()
KeyboardInterrupt
...and running the depthai_demo.py:
XXXXX@XXXXX:/workdrive/Repositories/oak-d-lite/depthai$ python3 depthai_demo.py
Using depthai module from: /home/drew/.local/lib/python3.8/site-packages/depthai.cpython-38-x86_64-linux-gnu.so
Depthai version installed: 2.11.1.0
Version mismatch between installed depthai lib and the required one by the script.
Required: 2.13.3.0
Installed: 2.11.1.0
Run: python3 install_requirements.py
Disconnecting for 30 seconds and reinstalling the requirements for the depthai repo resolved my problem:
python3 -m pip install -r requirements.txt