Hi,
Had run newly obtained OAK-D for several days, and it works with most of examples such as facemesh, triangulation and gaze estimation. But it always failed by running "gen2-head-posture-detection". Already uninstall/installed SDK multiple times, none works. Also tried on RPi5 and Linux PC, all the same. Per error message, it could due to "Specified model 'head-pose-estimation-adas-0001' is not supported by DepthAI SDK". But seems "gaze estimation" code also use this library (head-pose-estimation-adas-0001) and works fine. I attach the error message as below. Thanks for the help.
$ python3 main.py
/usr/lib/python3/dist-packages/requests/init.py:87: RequestsDependencyWarning: urllib3 (2.2.1) or chardet (4.0.0) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
[2024-03-20 16:13:38] INFO [root.exit:329] Closing OAK camera
Traceback (most recent call last):
File "/home/l2024/depthai-tutorials-practice/examples/depthai-experiments/gen2-head-posture-detection/main.py", line 19, in <module>
headpose = oak.create_nn('head-pose-estimation-adas-0001', input=det_nn)
File "/home/l2024/.local/lib/python3.10/site-packages/depthai_sdk/oak_camera.py", line 202, in create_nn
comp = NNComponent(self.oak.device,
File "/home/l2024/.local/lib/python3.10/site-packages/depthai_sdk/components/nn_component.py", line 111, in init
self.parse_model(model)
File "/home/l2024/.local/lib/python3.10/site-packages/depthai_sdk/components/nn_component.py", line 270, in _parse_model
raise ValueError(f"Specified model '{str(model)}' is not supported by DepthAI SDK.\n"
ValueError: Specified model 'head-pose-estimation-adas-0001' is not supported by DepthAI SDK.
Check SDK documentation page to see which models are supported.
Sentry is attempting to send 2 pending error messages
Waiting up to 2 seconds
Press Ctrl-C to quit